View Full Version : Need help with vfr to cfr
valkyrie743
30th August 2017, 07:26
Hey all. i have no knowledge on how to use avisynth but ive been searching on how to make a VFR video to CFR without encoding it (don't want to do the lazy hanbreak method.)
i'm trying to edit VFR MP4 files in Adobe premier but being that they are VFR. adobe has a heart attack and my audio is out of sync.
Can someone walk me though how to use AVIsynth or anything that can change my video files from VFR to CFR?
Thanks
DJATOM
30th August 2017, 07:51
Basically you can't make VFR2CFR conversion without re-encoding. But you can make 120 fps avi with drop frames (http://avisynth.nl/index.php/VFR#encoding_to_cfr_-_120_fps).
tebasuna51
30th August 2017, 10:49
...how to make a VFR video to CFR without encoding it...
AviSynth can't do it because only work with uncompressed formats.
The first pass is always decode, and at end you must recode it to desired format.
zub35
30th August 2017, 13:21
valkyrie743
if you want a quick conversion:
1. without re-encoding: ffmpeg -vsync 0 -i "source.mp4" -с copy "out.mp4" [or "out.mkv"] (no duplicate frames)
2. with encoding, securely: ffmpeg -vsync 2 -i "source.mp4" -c:v libx264 -crf 16 -с:a copy "out.mp4" [or "out.mkv"] (duplicate frames)
If you want to work in AviSynth
1. "vfr to vfr"
First you will need to repack to mkv.
ffmpeg -vsync 0 -i "source.mp4" -с copy "out.mkv" [or MKVToolNix]
Then extract rawvideo (not yuv) and timecodes
mkvextract.exe tracks --raw "source.mkv" 0:source_raw.h264
mkvextract.exe timecodes_v2 "source.mkv" 0:source_timecodes.txt
Then open source_raw.h264 in AviSynth.
Then pack new encode (out_raw.h264) + timecodes
mkvmerge.exe --timecodes 0:source_timecodes.txt --output "out.mkv" "out_raw.h264"
2. "vfr to cfr", duplicate frames
The most reliable and proven way. Open the video using DirectShowSource2 (DSS2)
3. "vfr to cfr", no duplicate frames > frame interpolation.
DSS2 + svpflow + GameDropFixV5
p.s. As you can understand, the vfr is defined by the container (timecodes), not stream. Rawvideo always cfr.
Of the popular containers only flv,mp4 and mkv, true-work with the vfr.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.