My Movie Edit Pro doesn't like variable-framerate videos, so I am using Handbrake to render them to constant bitrateframerate.
Some of the codec options are MPEG 4 or H264. Which should I choose/what are the advantages of either?
Thanks very much for any input.
+ Reply to Thread
Results 1 to 20 of 20
-
Last edited by Alwyn; 31st Oct 2020 at 23:22.
-
"MPEG 4" means probably MPEG-4 ASP (like DivX, Xvid), which is a bit vintage already, and "H.264" (MPEG-4 AVC) is more modern, more efficient, thus recommendable.
I guess you mean constant framerate... to create CFR from VFR, there may be better solutions than actually recoding, but if you do it for convenience, the intermediate video should be created with a lower RF (around 12..15 should be sufficient) instead of a target bitrate, to ensure that there is a constantly low loss of quality. -
You have to re-encode true vfr to crf,can't do it without re-encoding.There is one way to get vrf to crf as long as the vrf has no different framerates,load the video into tsmuxer and change the framerate from to 23.976/25/29.97 depending on the real framerate it has and save as.
I think,therefore i am a hamster. -
Version "tsMuxeR_2.6.12"
OK no worries on the threads, I thought this title no longer reflects the (new) underlying subject, which is now VFR/CFR.
I've attached a sample MOV here too. -
If you remux that file to a constant framerate (without re-encoding) it becomes about 1.5ms longer which is negligible.
Code:mp4box -raw 1 20201101_105319.mov mp4box -raw 2 20201101_105319.mov mp4box -add 20201101_105319_track1.hvc:fps=30000/1001 -add 20201101_105319_track2.aac -new remuxed.mp4
-
Thanks Sneaker, I found that running a 10 minute MOV through MKVToolnix produced a constant FR MKV that was in sync (in Vdub and VLC). My video editor though isn't keeping the audio in sync, so I've reverted to saving the file as a LAG AVI and using that for editing.
The code in your post: is that for MP4box? -
I suspect the audio out-of-sync in MEP may be due to the 44100khz audio.
Is there a quick way of re-encoding the audio in MKVToolnix to 48000 while it is redoing the video framerate? -
Hate to break it to you, but unless you are OK with a duration change, 44.1 --> 48kHz IS a re-encode. At least for the audio.
But you've gone through a bunch of tools and a bunch of filetypes in your mentions, so now it isn't really clear what you actually had vs what you now have vs what you want/need. Post clips and or mediainfo reads, please.
Scott -
Couldn't detect any duration issues with changing 441 to 48k. I wouldn't say 2 is a bunch.
Source file is in post 7.
After I ran it through MKVToolnix, I get a constant FR smart-rendered MKV (according to Mediainfo) but out of sync in MEP. I say smart-rendered because a 10min MOV took 10 seconds to change to MKV.
After I run that MKV through Avidemux, setting audio to 48k, I get a 48k MKV which gives in-sync audio in MEP.
= Happy Days.
Now I need to work out how to do batch processing. -
Ok, this makes more sense now.
Source file is shot in daylight, with most of the image being of the outdoors.
= Plenty of light.
= very little need to vary the vary the framrate to compensate in maintaining good exposure.
Thus the reason the variation in framerate is less than 2fps.
BECAUSE it is that little (and remember: that is the max difference), your mis-sync between video & audio (after VFR->CFR adjustment) is probably small enough not to be noticeable. Yet it should still be there, regardless.
Scott -
Thanks Scott. I did some further tests and from a dark room start to a bright outdoor finish in a single clip, the frame rate went from 4 (!) to 30 FPS. The smoothest re-render of that I got was using VDub; it was still a bit jerky though.
Looking on the net, it seems that most (all?) modern phones use VFR and it can't be turned off, even if a camera app can be set on "30FPS".
Bummer. -
Yes, that's what I've been saying for a while now.
But if you are trying to do pro-like productions, if you give the cams LOTS of light, it doesn't have as much need to cheat, and so will hover around the framerate you (or your apps) pick. And this can be fudged to be workable in editing without too much noticeable judder. As you have just found out.
Scott
Similar Threads
-
Converting DVD Rip to H264 HANDBRAKE
By Johnnysh in forum Video ConversionReplies: 2Last Post: 1st Nov 2020, 10:22 -
Handbrake Conversion DVD to MP4/H264
By microkid2020 in forum DVD RippingReplies: 10Last Post: 4th Jul 2020, 11:11 -
AVC H264 MKV to MPEG-4 XviD AVI
By venoox in forum Video ConversionReplies: 9Last Post: 7th May 2019, 04:38 -
Bandicam - differences between NVENC H264 and CPU H264?
By CursedLemon in forum Video ConversionReplies: 9Last Post: 23rd Aug 2016, 11:50 -
VFR to CFR
By SameSelf in forum Video ConversionReplies: 6Last Post: 7th Jun 2016, 19:46