PDA

View Full Version : How to encode H.264 w/ Variable Frame Rate (VFR)?


21420
28th June 2009, 12:58
Hello,

how do I encode a Quicktime movie (H.264 codec) with a variable frame rate (VFR)?
Currently the movie clips have a constant frame rate (CFR).

I want to use it for video tutorials.

Example:
http://www.lynda.com/home/Player.aspx?lpk4=51616

As you can see in Quicktime's Inspector the actual frame rate drops to 0 fps when there is no motion.



Thanks in advance.

`Orum
20th July 2009, 15:39
First off, my experience has been that modern encoders usually deal with very low motion stuff (screen captures like your example) fairly well in CFR. Just make sure you have a long maximum I-frame interval.

If you really want to do VFR, you'll have to mux in timecodes. Take a look at http://avisynth.org/mediawiki/VFR#encoding_to_vfr_.28mkv.29 for how to do so.