Hey all,
I have been trying to re-encode a VFR video, but the resulting output looks like a stuttery mess and I'm not sure how to fix it.
I've attached a 15sec cut of the original file, along with my attempt to re-encode it. Here's what I used to re-encode:-
...also tried -fps_mode vfr along with the -copyts/copytb parameters without success.ffmpeg -i "original.mkv" -fps_mode passthrough "output.mkv"
Appreciate any help, thank you!
+ Reply to Thread
Results 1 to 6 of 6
-
-
Your original.mkv is constant framerate progressive.
Encode it without-fps_mode passthrough
btw:
your original.mkv is a failed reencode, it has 26.203 fpsLast edited by ProWo; 22nd Aug 2023 at 07:03.
-
I'm not sure what the best way to determine if a file is VFR, but I was certain it was.. here's a probe of the original file if that's of any use.
Regardless, simple dropping the the fps_mode did not fix the stuttering output.
Yeah I thought that fps was weird too, though I assumed it was due to the source being VFR, watching in mpv I can certainly see the fps fluctuate. -
This is subjectively the best source available that I am aware of for this particular content.
All I'd like to do is re-encode the video without causing the output to stutter... aaaaah it's so frustrating...
-edit-
I've just tested re-encoding with Handbrake, and surprisingly there's no stutter in the output.. which is great! though I wish I could figure out what's causing the ffmpeg output to stutter.Last edited by izbop; 22nd Aug 2023 at 08:18.
-
Just a quick update, the 15sec cut I made is CFR, I don't experience any stuttering re-encoding @ 23.976 fps. FFmpeg appears to be duplicating frames when I tried to preserve the source framerate which was causing the stuttery output.
The full file is mostly 23.976 with an ending credits @ 59.94 fps, which I'm not too concerned about.. so I'll proceed with 23.976.
Would still be great to figure out what Handbrake is doing differently to preserve the source framerate, but that's an adventure for another time.
Similar Threads
-
(avisynth, ffmpeg) How to convert VFR to CFR w/o frame loss or insertion?
By rgr in forum Video ConversionReplies: 7Last Post: 9th Mar 2023, 17:27 -
Why is FFMPEG converting to VFR?
By seanmcnally in forum Video ConversionReplies: 17Last Post: 17th Jan 2022, 20:07 -
ffmpeg VFR to CFR in stream copy is possible?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 4th Dec 2021, 16:13 -
VFR output in AviDemux?
By ten in forum Video ConversionReplies: 14Last Post: 13th Nov 2021, 21:24 -
FFmpeg - remove encoding settings from output
By osmium in forum Video ConversionReplies: 3Last Post: 15th May 2021, 06:08