[FFmpeg-user] Question about concat protocol

Jan Ehrhardt phpdev at ehrhardt.nl
Thu Oct 18 17:11:54 CEST 2012


Dennis Volodomanov in gmane.comp.video.ffmpeg.user (Fri, 19 Oct 2012
00:57:58 +1100):
>The command line (FFmpeg latest from git):
>
>ffmpeg.exe -i "file1.vob" -i "file2.vob" -i "file3.vob" -i "file4.vob" 
>-c:v wmv2  -b:v 4288000  -r 29.97 -filter_complex "[0:v] 
>setpts=PTS-STARTPTS [v0]; [0:a] asetpts=PTS-STARTPTS [a0]; [1:v] 
>setpts=PTS-STARTPTS [v1]; [1:a] asetpts=PTS-STARTPTS [a1]; [2:v] 
>setpts=PTS-STARTPTS [v2]; [2:a] asetpts=PTS-STARTPTS [a2]; [3:v] 
>setpts=PTS-STARTPTS [v3]; [3:a] asetpts=PTS-STARTPTS [a3]; [v0] [a0] 
>[v1] [a1] [v2] [a2] [v3] [a3] concat=n=4:v=1:a=1 [v] [a]; [v] yadif, 
>format=yuv420p [vs]" -map [vs]  -c:a wmav2  -b:a 192000  -ar 48000 -ac 
>2  -map [a]  -f asf -async 1  -thread_type slice "out.wmv"

Hmmm. I am seeing a lot of my own struggles with filter_complex back in
your command line ;-)

The broken frames should not be a problem. I have highly corrupted files
that still transcode fine while reataining the A/V sync.

Just a wild guess: try changing the video framerate into -r 30 or -r 25.
I have done that before with the (US) 29.97fps videos and it seemed to
work back then.

Jan



More information about the ffmpeg-user mailing list