[FFmpeg-user] VFR video re-encoding

Nicholas Robbins nickrobbins at yahoo.com
Mon Feb 8 00:09:29 CET 2016


On Sunday, February 7, 2016 1:28 PM, ValdikSS <iam at valdikss.org.ru> wrote:
>
>
>Hello!
>
>I'm having trouble with re-encoding VFR video. Source video consists of main episode part (23.98 FPS) and opening part (29.97 FPS), I've encoded these parts
>separately and joined with mkvmerge. It plays fine without stuttering.
>Now, I want to re-encode joined file with ffmpeg. I tried:
>
>-vsync 0
>-copytb 0
>-copytb 1
>-copyts
>
>and its' variations. All I get is stuttering opening. I suppose ffmpeg should set different pkt_duration for different FPS, but now it's always set to 41.
>
>Here's a link to source video: http://b.1339.cf/rkszxnz.mkv
>
>It there anything I can do?


Why are you trying to "reencode it" that format looks fine to me. Are you trying to make it CFR?


If you give us your complete input command and the complete, uncut, console output we can answer your question better.

-Nick


More information about the ffmpeg-user mailing list