Log in

View Full Version : MeGUI x264 encode for BluRay: Force I Frames


gatewaymastering
8th December 2008, 18:55
Hello again,

Is there a way to force I frames at specific timecodes during an encode x264 encode for BluRay? To get the most accurate chapters points, they need to land on I frames. Another way I used to do it (for DVD) is to encode each chapter seperately then concatenate them together. Can rawavc files be strung together into one big file? Any applications that do that?

Thanks!

poisondeathray
8th December 2008, 20:10
One way might be to use the zones option, and if you use a low enough quant for that frame I think it will become an I-frame (not sure) ?

You might be able to do it with qpfile, but i am unsure of the syntax or usage, and I remember reading Dark Shikari saying don't touch it
http://mewiki.project357.com/wiki/X264_Settings


Manual override to standard ratecontrol. Specify a file that gives the quantizer and frametype for every frame. The format is "framenum frametype quantizer"


0 I 18 < IDR (key) I-frame
1 P 20 < P-frame
2 B 22 < Referenced B-frame
3 i 21 < Non-IDR (non-key) I-frame
4 b 18 < Non-referenced B-frame
5 I 18

Dark Shikari
8th December 2008, 20:22
One way might be to use the zones option, and if you use a low enough quant for that frame I think it will become an I-frame (not sure) ?No.

The correct method is to force the frametypes through the x264 API itself (this is the method used by Handbrake).

Sharktooth
11th December 2008, 02:51
it would be extremely useful if that could be exposed as a zones option in CLI.

Selur
11th December 2008, 08:25
I agree with Sharktooth, this would help since most people don't dare to touch qpfiles and probably even less people use handbrake or other frontends that 'force the frametypes through the x264 API itself'.

Cu Selur