I get VFR (variable frame rate) mp4 files that I want to edit in a NLE. I get them from screen recording apps and smartphone cameras.
Is there a solution for editing VFR mp4 files in Vegas Pro and Premiere Pro, without transcoding everything to extremely large lossless intermediate files?
I use ffmpeg to convert from VFR to CFR, and to encode to ProRes, but this solution takes too much time, and the mov files are too large.
I could use LosslessCut to trim the VFR clips, and then convert them to CFR. But it would be much better if there was no transcoding required, just like there is no transcoding required with CFR clips.
+ Reply to Thread
Results 1 to 14 of 14
-
Last edited by codemaster; 27th Nov 2023 at 13:32.
-
You can try clever FFmpeg GUI.
Load your video, click main, click various, click fix timestamps.
You should know the framerate of the video.
With variable framerate you can often see several framerates in mediainfo, e.g. max framerate 24.123, min framerate 22.946 and framerate 23.678.
The correct framerate is probably 23.976.
Enter this in the FPS field and click fix.
The video is copied in streamcopy mode, so the intervention is fast.
You can then import the result into vegas pro or premiere pro and process it further.
[Attachment 75099 - Click to enlarge] -
But this solution of using ffmpeg to recreate timestamps without reencoding, does it have the same result as the solution of using the fps filter in ffmpeg to convert to CFR? Do the same frames get duplicated or dropped for both solutions? Do both solutions prevent audio sync issues?
-
No frames are dropped or duplicated.
Audio is not changed and remains synchronized.
It is important to find the correct frame rate.
This is relatively easy with commercial films, which should have 23.976, 24, 25, 29.97 fps.
The problem is often that someone re-encodes such films and makes mistakes in the process. -
So for a mp4 clip created by the camera built into a smartphone, which would be the "correct" frame rate?
For this mp4 clip, MediaInfo returned:
Code:Frame rate mode : Variable Frame rate : 29.678 FPS Minimum frame rate : 14.871 FPS Maximum frame rate : 32.040 FPS
Code:Stream #0:0[0x1](eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(progressive), 1920x1088, 19390 kb/s, SAR 1:1 DAR 30:17, 29.68 fps, 29.83 tbr, 90k tbn (default)
-
I would say 29.97 fps.
But you can first simply remux the video to mkv to see the real framerate. -
Last edited by codemaster; 28th Nov 2023 at 07:29.
-
Eventually, the solution I found and chose, is using a NLE that has support for variable frame rate clips. Such as clips from phone cameras and screen recording apps, that have variable frame rate. So for VFR clips I use a NLE like Camtasia or Movavi, and for CFR clips I use Vegas Pro or Premiere Pro.
Transcoding to ProRes takes too much time, and way too much space. Transcoding to AVC or HEVC is fast if using hardware encoders, doesn't require too much space, but it adds one additional generation of compression. Premiere Pro doesn't support proxy editing for VFR clips, but Movavi does.
So the best way to edit VFR clips is by avoiding pro NLEs and using only non pro NLEs like Movavi, Capcut, PowerDirector, Filmora, Clipchamp, Camtasia.Last edited by codemaster; 28th Dec 2024 at 16:34.
-
Vegas Pro supports VFR, but the proxy files have huge file size. Premiere Pro supports VFR and small file size proxy files, but doesn't support proxy editing for VFR. Camtasia records VFR, and edits VFR fast, proving editing VFR is possible and fast. Movavi supports VFR, creates 480p VFR proxy clips that have small file size and decode very fast, and exports 4K fast, encoding with GPU, while CPU only renders. Movavi is the fastest and easiest way to edit VFR, Vegas Pro and Premiere Pro are the slowest. Using pro NLEs to edit phone camera footage is not a good idea in 2024, because all phones record VFR, and because transcoding all footage to ProRes, just to turn it from VFR to CFR, requires more time and drive space than most people have.
Last edited by codemaster; 1st Jan 2025 at 17:16.
-
In my experience, phone video footage is generally of such good quality these days that an encode to high-bitrate CFR H264 will still result in a quite-acceptable file for further editing without requiring a ("huge") lossless intermediate.
-
That's true, but if you are someone that is willing to avoid one additional generation of compression, you use a compatible NLE instead of transcoding to high bitrate lossy CFR. Capcut is compatible with phones, Premiere Pro is not. My conclusion: pro camera, pro NLE; phone camera, phone NLE. My problem was that I was insisting on using an incompatible NLE.
Last edited by codemaster; 1st Jan 2025 at 23:16.
-
Similar Threads
-
Edit stream names in MP4?
By JosephTocco in forum Newbie / General discussionsReplies: 2Last Post: 8th Jan 2022, 08:31 -
Cheap/open-source NLE app to merge audio + video files?
By yetanotherlogin in forum EditingReplies: 5Last Post: 4th Dec 2021, 07:34 -
Improve video from nokia vfr 10 fps 640x480 with glitch comp error mp4
By mammo1789 in forum RestorationReplies: 0Last Post: 17th Jul 2021, 09:06 -
Convert VFR to Image Sequence (Keeping VFR)
By Vaengence in forum EditingReplies: 11Last Post: 29th Dec 2020, 16:02 -
need to sync many audio clips from aac(mp4) to mp3 ,what could i use ?
By rama in forum AudioReplies: 1Last Post: 10th Mar 2020, 10:02