Is there a reliable way of using ffmpeg to transcode Variable Frame Rate (VFR) AVC video to Constant Frame rate (CFR) ?
If so can you please show an example commandline ? I have an nvidia gpu, if that's of any use with cuda or something.
I recently bought a Samsung S8+ mobile phone. ALL videos recorded by the S8/S8+ cameras are h.264 8-bit progressive VFR .mp4 in various resolutions and colour spaces and profile levels as outlined in the attached pdf.
The video editing software I use (VideoReDo) and apparently most if not all others only handle CFR, hence the query.
+ Reply to Thread
Results 1 to 3 of 3
-
-
Is there a reliable way of using ffmpeg to transcode Variable Frame Rate (VFR) AVC video to Constant Frame rate (CFR) ?
Code:ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input -c:v h264_nvenc -preset slow -r X output.mkv
(alternative to duplicating the frames one could use minterpolate for motion interpolation based frame creation)
You might also adjust the nvenc settings depending on your speed, quality and color format needs,...users currently on my ignore list: deadrats, Stears555, marcorocchini -
Thank you. That looks easy.
I'll look into minterpolate as well then.
I reckon I should probably look over on the doom9 forum to see if they also have a motion compensated conversion solution in vapoursynth.
Unfortunately great tools like DG's set don't handle VFR input, so I'll need to look into an alternative vapoursynth input method if there's a vapoursynth related approach around.
Similar Threads
-
constant/variable frame rate confusion again
By ?|IWuc? in forum Video ConversionReplies: 12Last Post: 15th Jan 2020, 01:07 -
Variable frame rate into constant frame rate without re-encoding
By DunnoNo in forum Newbie / General discussionsReplies: 8Last Post: 21st Dec 2017, 11:05 -
Variable Framerate to Constant Frame Rate
By jjcinema1 in forum Video ConversionReplies: 5Last Post: 6th Nov 2016, 20:29 -
HandBrake giving me variable frame rate when I asked for constant
By Bruce Wayne in forum Video ConversionReplies: 4Last Post: 18th Apr 2016, 14:07 -
How to find out frame exposure time in a variable frame rate .mov file...
By bananas100 in forum EditingReplies: 5Last Post: 24th Oct 2014, 19:18