Ref. frames x264
Ref. frames x264
I am new to Handbrake so this may be a silly question, but I can't find any answer here on the forum:
How do I change the number of I-frames (ref. frames, keyframes) in x264?
I tried to add "min-keyint=24" to the extra options, but it seems to make no difference. I expected it to give a keyframe app. each second.
"A list of all available x264 options can be found on MeWiki": http://mewiki.project357.com/wiki/X264_Settings * Link is dead
How do I change the number of I-frames (ref. frames, keyframes) in x264?
I tried to add "min-keyint=24" to the extra options, but it seems to make no difference. I expected it to give a keyframe app. each second.
"A list of all available x264 options can be found on MeWiki": http://mewiki.project357.com/wiki/X264_Settings * Link is dead
Re: Ref. frames x264
reference frames and keyframes aren't the same thing.
To add a keyframe (in H.264, that would be an IDR-frame, not an I-frame) every second, this should do (assuming a 24p source):
To add a keyframe (in H.264, that would be an IDR-frame, not an I-frame) every second, this should do (assuming a 24p source):
Code: Select all
min-keyint=1:keyint=24
Re: Ref. frames x264
I mean the occasional full frames, which then must be named IDR-frames in H.264Rodeo wrote:reference frames and keyframes aren't the same thing.
To add a keyframe (in H.264, that would be an IDR-frame, not an I-frame) every second, this should do (assuming a 24p source):
Code: Select all
min-keyint=1:keyint=24
Please explain what "min-keyint=1" and "keyint=24" means.
Re: Ref. frames x264
min-keyint is the minimum distance between keyframes, setting it to 1 lets the encoder insert keyframes as often as it deems necessary. keyint is the maximum distance between keyframes, setting it to 24 ensures there will be at least one keyframe every second.
Re: Ref. frames x264
Thank you for the crystal clear answer.
Where can I read about this sort of settings when the MeWiki page is down?
Where can I read about this sort of settings when the MeWiki page is down?
Re: Ref. frames x264
https://en.wikibooks.org/wiki/MeGUI/x264_Settings is what I use. Seems to be a mirror of the old MeWiki page.
Re: Ref. frames x264
Is there a specific reason you want to set these parameters? For blu-ray compatibility?
Re: Ref. frames x264
No, the reason is that I use a cutter program to remove comercials or other uninteresting stuff, that not always starts with a keyframe. The program can do non-recoding cutting if the cutting is done at keyframes. Otherwise it will recode the parts that are before keyframes. But the resulting video quality is much better with Handbrake, so the idea is to Handbrake encode with a lot of keyframes and then only cutting at keyframes.
Re: Ref. frames x264
If your cutter is not restoring GOP integrity from start to finish without rerendering., then you are using the wrong cutter.
Re: Ref. frames x264
There is no option for changing keyframe but you can do it by writing on inside "Extra Options"
keyint=20
================
Note where 20 number of frames.
Note where keyint sets the desired Group Of Pictures (GOP)
keyint=20
================
Note where 20 number of frames.
Note where keyint sets the desired Group Of Pictures (GOP)
Re: Ref. frames x264
We appreciate you trying to be helpful, but reviving a 2.5 year old thread is not usually a good idea. Locking