Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Best way to encode with H.264 HD from FCP

  • Shyfty

    April 27, 2007 at 2:45 pm

    Key Frames has me a little confused…I have seen better results for some video with less key frames (i.e every 150 frames) than with more (every 5 frames). Any way of narrowing this down or isa it just trial and error.

    Oh how would I rerender a DVCProHD file in FCP? In teresting though because I have noticed that when I encode staright from FCP I get audio lag…not cool!

  • Daniel Low

    April 27, 2007 at 4:10 pm

    Every 5 frames is ‘wrong’ (when I saw that you were using that seeting in an earlier post I assumed it was for every 5 seconds) – a general rule of thumb is to set keyframes to be 10 x your frame rate, so at 30fps there should be a keyframe every 300 frames.

    Modern codecs are very good at inserting keyframes when there’s enough of a ‘scene-change’ to warrant one.

    Inserting more frequent keyframes (especially once every 5 frames) usually just ends up making a much bigger file, with a much higher datarate and without too much improvement in picture quality.

  • Craig Seeman

    April 27, 2007 at 6:29 pm

    Danny’s correct.

    Here’ some more info.

    Modern codecs will insert keyframes on edit points (scene change). Those are often referred to as “natural” key frames. There’s also setting a keyframe rate, often referred to as “forced” key frames.

    Those “forced” keyframes can become important if you have shots that go on for a bit without an edit point. The image can gradually look worse as it gets farther away from a keyframe so there can be value to using forced keyframes.

    Sometimes you can see keyframe “breathing” though. A sudden visual increase in quality for one frame (the keyframe) which can be more or less obvious depending on codec, frame rate, content.

    10x the frame rate for forced keyframes is a good rule of thumb as Danny mentions but what one may chose might depend on content. Something with lots of fast action/motion might warrant more a higher forced keyframe frequency.

  • Shyfty

    April 28, 2007 at 1:55 am

    Good stuff guys! yeah, I can’t wait to try encoding with KF every 300 frames! Will let you know how it goes…

  • Shyfty

    April 29, 2007 at 4:18 pm

    Not much changed in the picture quality, but the file size did decrease somewhat, which is a good thing. I think I found a sweet spot at keyframes = 150.

    Under QT video size settings, what is the difference between these two settings?

    HD 1920×1080 16:9 and 1920×1080 HD

    Doesn’t make much sense…?

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy