New answers tagged

1 vote
Accepted

FFmpeg setpts filter produces wrong frame number

setpts filter only retimes frames; it cannot add or drop frames. The MP4 format is configured to require constant frame rate, and so ffmpeg's frame management (vsync) logic gets to work. This looks at ...
Gyan's user avatar
  • 32.3k
0 votes

ffmpeg dash output for multiple resolutions to be in the same mpd file

I am using this command, to generate 2 resolution(640x360 and 1920x1080) with single file mpd. ffmpeg -re -i naruto.mp4 -map 0 -map 0 -c:a aac -c:v libx264 -b:v:0 300k -b:v:1 3000k -s:v:0 640x360 -s:...
iamkdblue's user avatar
  • 101
1 vote
Accepted

ffmpeg error Input link parameters do not match the corresponding output link parameters

You're setting force_original_aspect_ratio to 1 (decrease) so the videos can't be assumed to be the same resolution after scale. You'll need to pad the video to a common resolution and then reset the ...
Gyan's user avatar
  • 32.3k
0 votes

After adding subtitles the second audio track gone

If you don't use the -map options, then by ffmpeg Documentation : ffmpeg will pick one stream, when available, from among all the inputs. It means that it selects only one video stream, only one ...
MarianD's user avatar
  • 1,494
0 votes

ffmpeg - how do i crop different values from top and bottom

This being the first result I got from searching, I decided to use WYSIWYG answer and write a bash script that simplifies this significantly (at least for me): #!/bin/bash if [[ -z $6 ]];then ...
TDGalea's user avatar

Top 50 recent answers are included