Questions tagged [video-encoding]

Specific issues with encoding video to a certain format, also related to [video-conversion]

Filter by
Sorted by
Tagged with
-6 votes
0 answers
54 views

GoPro Video. Did someone hack my computer? Did someone edit and put extra voices to my GoPro video between recording it and uploading to Google Drive? [closed]

I have a suspicion that someone edited my old GoPro video and added sounds that don't belong in the video. Is there any way to find out if sounds were added to the video at some point after I recorded ...
Tohugusigamaki's user avatar
0 votes
0 answers
59 views

OBS, other encoder than FFmpeg VAAPI H.264 and x264?

Linux + Intel HD 620. I can see only two options. If what I read on the web is correct, the GPU is capable of encoding H265 or VP9. Why can't I encode in those formats? Is this because OBS does not ...
Damn Vegetables's user avatar
1 vote
0 answers
27 views

Why does my SVT-HEVC-encoded video run out of sync?

I'm trying to transcode a video (with audio) to HEVC using Intel's SVT-HEVC encoder. The video's audio tracks are in sync before transcoding. Both ffprobe and mediainfo agree that the input video is ...
Cygon's user avatar
  • 379
0 votes
0 answers
28 views

FFprobe not showing frame's data

As a beginner I don't know much about ffprobe and other video editing command line tools. Please guide me here. I am trying to download a video with yt-dlp and trim it to the nearest key-frame of my ...
Aniket Bose's user avatar
1 vote
0 answers
76 views

Why does the video file (x264) made with ffmpeg have a much higher bitrate compared to when I reencode it using the same settings in Handbrake?

I'm a ffmpeg beginner and am converting a series of .png images taken every 10s into a timelapse video. The images are named pic1.png, pic2.png, etc. For this I'm using the following ffmpeg command: ...
Istria's user avatar
  • 11
0 votes
0 answers
38 views

Remove Audio 'Source duration' & 'Source stream size' from x264 mp4 encodes

I use ffmpeg to encode videos and I am looking to remove all the unnecessary metadata. I use a simple ffmpeg command to encode the videos, something similar to: ffmpeg -i title.mkv -c:v libx264 -b:v ...
olpdog's user avatar
  • 87
0 votes
1 answer
115 views

ffmpeg - How to create a video with a PNG file and keep the same colors

I use a PNG file to create a video. I create the PNG file with Inkscape. The SVG file in Inkscape, the PNG file opened in Chrome show the same colors. Nevertheless the colors of the video (opened in ...
Sam's user avatar
  • 101
0 votes
2 answers
55 views

What does this stat mean in YouTube Stats for Nerds? [closed]

Under the field Current/Optimal Res, the resolution is followed by an '@' symbol followed by a number. I have tried to find out what this number represents but could not find any source. I am guessing ...
Samina Mulani's user avatar
1 vote
0 answers
77 views

FFMPEG - process interlaced frames in mixed footage separately

I have a video file - an NTSC DVD rip. I want to convert it into PAL. The problem with that NTSC DVD is that it's a mixture of 23.976 fps telecined content and true 29.97 fps interlaced content. I ...
Compact's user avatar
  • 11
0 votes
0 answers
90 views

How to consider crf, -maxrate and -bufsize of a lossless video for whatsapp status

I am using ffmpeg to encode my videos to upload them on Whatsapp status. This videos are <30 sec duration, and the output size should be in 10-14mb range. Suppose I have a video of size 50 MB with ...
Vivek Shaw's user avatar
1 vote
0 answers
58 views

ffmpeg last frame freezes, audio keeps playing

I'm using fffmpeg to cut an H.264 video into specific shots. I need it to be frame accurate, which isnt a problem if I only encode video (now that I know how to calculate the ms from the number of ...
Adiego's user avatar
  • 11
1 vote
1 answer
600 views

errors in encoding avc x264 to av1 using latest ffmpeg libaom linux

I have a system with Intel i3 10th generation processor and Asus H510 me motherboard. I have installed Arch Linux x86_64 latest version and after that I have installed aom package from official ...
Guddla Rupesh's user avatar
1 vote
1 answer
48 views

FFmpeg does not copy over chapter atoms when I try to remove subtitles

I have some videos encoded from The Criterion Collection, and their videos use these things called "chapter atoms". What is really odd is that ffprobe does not detect these. I assume that ...
mrjpaxton's user avatar
1 vote
1 answer
283 views

Why is the scale filter ignoring the out_color_matrix option?

I'm testing on an input that has none of its colour metadata set: ffprobe -v error -show_streams "input.mp4" | grep color color_range=unknown color_space=unknown color_transfer=unknown ...
Hashim Aziz's user avatar
  • 11.6k
1 vote
2 answers
720 views

Why does hardware encoding in FFMPEG result in lower quality when using CRF, which is supposed to be quality-based?

I've recently been encoding videos using FFMPEG through the Shutter Encoder GUI. I've been using CRF as a quality indicator, since I don't care about filesize as long as it is encoded as efficiently ...
Southpaw1496's user avatar
0 votes
0 answers
89 views

Which options are incompatible with CRF, CQP?

What settings should not be used when using CQP, CRF modes. I read that 2pass mode is not compatible with constant quantization modes. It is also recommended to disable adaptive quantization. Maybe ...
Sandrix's user avatar
0 votes
0 answers
65 views

Is there any ffmpeg or Avidemux filter to remove this kind of glitch?

I record gameplays with ffmpeg, and with this specific game I get this kind of graphical glitch (most graphical elements are fine but text labels disappear for just one frame). It happens randomly ...
golimar's user avatar
  • 1,486
0 votes
0 answers
45 views

Is there a video container format (mainstream or experimental) that can properly transmit Black Mirror's Bandersnatch?

Black Mirror's Bandersnatch From Wikipedia: Black Mirror: Bandersnatch is a 2018 interactive film in the science fiction anthology series Black Mirror. It was written by series creator Charlie ...
John O's user avatar
  • 725
0 votes
0 answers
130 views

How to achieve the following stream information using FFMPEG parameters?

Duration: 00:52:37.26, start: 0.000000, bitrate: 1329 kb/s Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 1210 kb/s, 24 fps, 24 tbr,...
jiannechuidian's user avatar
0 votes
0 answers
19 views

Get exact timestamp of keyframe with ffmpeg (for making a precise cut) [duplicate]

I am trying to split a video in two at a precise point programmatically. This needs to be efficient in my use case, so simply re-encoding the entire video is not an option. The issue is the input ...
Gradyn Wursten's user avatar
0 votes
0 answers
140 views

Live video in facebook is lagging while using ffmpeg from video link

Livevideo in facebook is working fine for local device video(case 1) but its having lagging issue from video link(case 2) using FFMPEG. Please find command for the same and log. Case 1 - Command : ...
Isteyak Ali's user avatar
0 votes
0 answers
120 views

Which properties have to match to use the concat remuxer in ffmpeg?

I am trying to generate a video to be concated into another video via the ffmpeg concat remuxer. The remux process needs to be extremely efficient for my purposes so I am trying to generate the video ...
Gradyn Wursten's user avatar
0 votes
0 answers
197 views

ffmpeg on RPi latest version fails (7:4.3.4-0+deb11u1+rpt3): B-frames: Invalid argument

I'm using ffmpeg on a Raspberry Pi (3 and 4) w/ hw acceleration (h264_v4l2m2m codec) to encode a time-lapse MP4 from a series of stills. The current ffmpeg release (7:4.3.4-0+deb11u1+rpt3) produces a ...
Lance Berc's user avatar
0 votes
1 answer
95 views

Looking to compress just a PGS stream of a video

I have a video stored as an mkv with pgs subtitles. I noticed when I burn the subtitles in with this command hereffmpeg -i "movie.mkv" -filter_complex [0:v][vid];[0:s:1][sub];[vid][sub]...
goodkid38's user avatar
0 votes
1 answer
607 views

How to concatenate videos with different bitrates using ffmpeg

I want to concatenate two files having the following outputs from ffmpeg : file1: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file1.mp4': Metadata: major_brand : isom minor_version : 512 ...
raoulpetite's user avatar
1 vote
1 answer
4k views

How to compress a video to VVC(h266) or Versatile video Coding

I have a h264 video. I want to compress it to Versatile Video Coding(h266) by using ffmpeg. Can anyone tell me how to do it by using ffmpeg or any other way.
Md.Rakib's user avatar
0 votes
1 answer
196 views

Trim .tp files without re-encoding

I'm currently using ffmpeg -ss xx:xx -to yy:yy -i input -c copy output to cut some files and it works fine with .ts and .mp4, but it can't handle .tp files. Here's what I get: [mpegts @ 0x198acd0] PES ...
tyrande's user avatar
  • 11
0 votes
2 answers
996 views

Convert 10bit HDR video to 8bit frames

I want to convert a yuv420p10le video into .png frames at 8bit (0,255) without washing away the colours. How can I do that? The usual command I use is: ffmpeg -i input.mp4 '%05d.png' However this ...
Dave's user avatar
  • 1
0 votes
0 answers
87 views

ffmpeg dont stop output on input finish

I need help with behavior that is incomprehensible to me. Ubuntu 20 system, compiled ffmpeg by Nvidia's GIT for CUDA support. At the start of the conversion ffmpeg continues to write output ...
Windstyle's user avatar
1 vote
0 answers
285 views

What variant of Spline algorithm is used in "spline" parameter from "scale" filter?

FFmpeg has two filters to scale the video: scale and zscale - zscale has spline16 and spline36 parameters (they represent Spline16 and Spline36 variants of the algorithm), scale has spline parameter. ...
Lex's user avatar
  • 303
17 votes
6 answers
10k views

ffmpeg: limiting to single CPU core when encoding h264

I need to reduce the framerate of some H.264 videos in the background without maxing out my CPU (on Linux). Somehow -threads 1 has no effect at all: ffmpeg -threads 1 -i 50fps.mp4 -filter:v fps=30 ...
kontextify's user avatar
1 vote
1 answer
941 views

Ffmpeg producing worse result than Handbrake using x265 with identical settings

I'm trying to replicate Handbrake settings with ffmpeg, because I'd like to add some metadata and some other things with ffmpeg that Handbrake can not do. What I've done seems to be close, the ...
DD3R's user avatar
  • 75
0 votes
1 answer
170 views

how to combine two ffmpeg commands into one?

I am currently using this command to cut the first 10 seconds of all videos in a folder so the output is the whole video minus first 10 seconds. FORFILES /M "*.mkv" /c "cmd /c ffmpeg -...
che10's user avatar
  • 1
1 vote
0 answers
770 views

ffmpeg Combine 2 video files into one with two audio tracks (different languages)

I have multiple pairs of video files (.mp4) that are basically the same video but in different languages (original english and synchronised german in my case). I know that with ffmpeg I can take ...
DarkDiamond's user avatar
  • 1,849
1 vote
1 answer
2k views

ffmpeg overlay image on video & trying to keep the original video quality

I'm adding overlay images to a video. and I'm trying to make the output very similar to the original video in order to get the best quality for example if the original video (like the one in the ...
Bassel999's user avatar
0 votes
1 answer
37 views

Does H.265/HEVC macroblock/CTU algorithm compensate for 4:3 letterbox in 1920x1080

Have some source in 1920x1080 but it's actually 4:3 with letterbox. One path is to crop the video to remove the black letterbox and bring it down to 1440x1080 but is that really necessary when encoded ...
Enigma's user avatar
  • 3,361
1 vote
0 answers
220 views

Cannot start livestream on youtube even though ffmpeg seems to work?

I am a novice on ffpmeg and trying to go for a livestream youtube radio via azuracast. I have created an instance on oracle cloud and installed azuracast there. I can listen to the songs I uploaded in ...
mlee_jordan's user avatar
1 vote
0 answers
58 views

Having audio and playback issues when attempting to capture DVCPro50 tapes over Firewire with FFmpeg

I've been trying to capture DVCPro50 tapes that were recorded at 23.976 fps over Firewire and I'm unable to come up with a command to get the file to play back properly. I can get a file with audio at ...
nick's user avatar
  • 11
0 votes
1 answer
917 views

what's the difference between SAR & PAR in video (Detailed Info)

i want to know what's the big difference between the SAR and PAR, also how ffmpeg automatically deciding the DAR value with the SAR and video width & height. why the SAR value is so important for ...
Ayan's user avatar
  • 1
0 votes
0 answers
213 views

FFMPEG failing to render PNGs as ProRes 4444

I have a series of PNGs with transparent background that I would like to render as a video with an alpha channel. I tried running the following ffmpeg command: ffmpeg -y -r 60 -i frames/%04d.png -c:v ...
rcplusplus's user avatar
1 vote
0 answers
527 views

FFMPEG How to do segments encoding in MXF XDCAM HD422

I'm trying to encode a feed from a Decklink card to MXF XDCAM HD422 by segment, so I use the following command line: ffmpeg.exe -f dshow -video_size 1920x1080 -r 25 -pixel_format uyvy422 -rtbufsize ...
Michel's user avatar
  • 51
1 vote
0 answers
177 views

How to hard code / embed subtitles of videos inside a folder with FFMPEG

Lets say I have folder A with lots of videos that have TX3G subtitles Some videos don't have any subtitles So I need a windows command to process all videos inside this folder and embed / hard code ...
Furkan Gözükara's user avatar
0 votes
0 answers
726 views

What is the suitable H/W compatibility for av-1 encoding

Some videos are transcoded, h264 on ARM machine, h265 on Intel Skylake and av-1 on Intel RocketLake. File savings are better with av1 at the same quality but still at a high computational cost. Avg ...
SKV's user avatar
  • 19
1 vote
0 answers
201 views

How to convert .DXA file with ffmpeg

I have .dxa video footage that I'd like to convert to a more standard format with ffmpeg. By doing research I found some people reccomend converting to .yuv first, then convert from .yuv to .mp4. (...
AnnaJoyW's user avatar
0 votes
0 answers
92 views

Handbrake videos displayed letterboxed, how to avoid?

I have encoded a DVD with HandBrake as mkv with one of the GENERAL (720p) presets. When I play this on my SONY TV (with the TV's function to play video files) it is shown letterboxed (black bar on top/...
Horst Walter's user avatar
  • 1,887
0 votes
0 answers
101 views

audio and video not correctly sync after concatenation

totally new to video editing in general and in need of some help =) command that I'm using (windows batch): (echo file cucca.jpg.mp4 & echo file cucca.fade.mp4 & echo file cucca.jpg.mp4)>...
Robson's user avatar
  • 101
1 vote
0 answers
2k views

Using FFPMEG, create a MJPEG stream from a file to simulate a webcam

I'd like to use ffmpeg to simulate a network webcam. These usually give out an MJPEG feed that plays in a browser. I want to create a stream like this locally as a test case for a software I plan to ...
576i's user avatar
  • 423
0 votes
2 answers
67 views

Are watermarks constrained by the quality of the underlay video?

This may be a stupid question but I have to clarify it for my own peace of mind, so bear with. The good news is it's more or less a yes/no question for the FFmpeg/AV experts who know the answer. Say I ...
Hashim Aziz's user avatar
  • 11.6k
0 votes
0 answers
676 views

H265 10 bit to H264 8 bit through NVENC looks terrible

I'm currently using FFMPEG run with Sickbeard Mp4 Automator to convert H265 video to H264 since my phone chugs hard playing H265 10 bitvideo. I set it to use NVENC and it's unnoticeable for brighter ...
Beefmaster5000BCE's user avatar
-1 votes
1 answer
679 views

Why on youtube a 1080p video looks better than 720p ? (My screen max resolution is 720p)

A resolution greater than 720p looks better on my 720p screen . I want a clear and basic answere to understand this.
Asif's user avatar
  • 23

1
2 3 4 5
8