Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
In the 0.10.5 GUI for Mac, if you set your level to 4.0, 4.1, or 4.2, it will restrict reference frames to 5. Wikipedia and other places show reference frames should be set to 4 for those levels, but they could be wrong. I also just looked at a log I ran through the 0.10.5 CLI where I set the level to 4.1 and it restricted reference frames to 4.
-
- Veteran User
- Posts: 4858
- Joined: Wed May 04, 2011 11:06 pm
Re: Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
http://pastebin.com/RfmUgHjYrollin_eng wrote:Could you please post your logs
Re: Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
It depends on the output resolution. 1920x800 != 1920x1080
Re: Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
Thanks! I didn't know it was that granular and was only going off ofRodeo wrote:It depends on the output resolution. 1920x800 != 1920x1080
Code: Select all
1,280×720 @ 68.3 (9)
1,920×1,080 @ 30.1 (4)
2,048×1,024 @ 30.0 (4)
Re: Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
I believe with 1920 video if the cropped vertical resolution is > 864 then it will use 4 ref frames, else it uses 5 ref frames
Re: Should h.264 level 4.0/4.1/4.2 be ref=4 or ref=5?
Either way, HandBrake will always limit correctly if you select a level in the drop-down (except when the maximum is 0, i.e. when the resolution is too high for the selected level altogether - in which case a warning will be written to the encode log).