Log in

View Full Version : Help me w/ my compliant BD disk settings in x264


africanmarty
15th April 2011, 15:55
i am setting out some x264 settings to make BD disk, but since i will be encoding some out of standard BD disk (720x576p25, 1280x720p25 & 1920x1080p25 ).

here are my standard encoding settings for encoding to the computer :

1080p bluray :

--crf 20.0 --preset medium --profile high --level 4.0 --ref 4 --deblock -2:-2 --merange 24 --b-adapt 2 --b-pyramid strict --trellis 2 --no-fast-pskip --aud --nal-hrd vbr --psy-rd 1.0:0.2 --partitions all --subme 9 --me umh --slow-firstpass --rc-lookahead 60 --open-gop bluray --colorprim bt709 --transfer bt709 --colormatrix bt709 --extra:

720p bluray :

--crf 18.0 --preset medium --profile high --level 4.0 --ref 6 --deblock -2:-2 --merange 24 --b-adapt 2 --b-pyramid strict --trellis 2 --no-fast-pskip --aud --nal-hrd vbr --psy-rd 1.0:0.2 --partitions all --subme 9 --me umh --slow-firstpass --rc-lookahead 60 --open-gop bluray --colorprim bt709 --transfer bt709 --colormatrix bt709 --extra:

SD :

--crf 19.5 --preset medium --profile high --level 3.0 --ref 6 --deblock -2:-2 --bframes 5 --b-adapt 2 --b-pyramid strict --trellis 2 --no-fast-pskip --aud --nal-hrd vbr --psy-rd 1.0:0.2 --partitions all --subme 9 --me umh --slow-firstpass --rc-lookahead 60 --extra:

add the following to the above settings for BD compliance :

How to make the following SD resolutions for x264 blu-ray compliant (is this correct?) :

you must add --sar 16:11 (for 16:9) PAL & --sar 40:33 (for 16:9) NTSC
or --sar 12:11 (for 4:3) PAL & --sar 10:11 (for 4:3) NTSC

because that is allowed sar's for 576p/480p video mode.

PAL = 720×576 & 704×576. NTSC = 720×480 & 704×480

If encoding interlaced than that is all, if encoding progressive see blelow :

add "--fake-interlaced --pic-struct" when encoding as 25p progresive (which allows encoding progressively but flags the content as interlaced) so the BD player will read it.
add " --pulldown 32 --fake-interlaced" when encoding as 23.976p progresive (which allows encoding progressively but flags the content as interlaced) so the BD player will read it.

How to make 1080p25 and 1080p29.97 Bluray compliant (is this correct?) :

1080p25 and 1080p29.97 [encoded using fake-interlaced mode. This allows the stream to be encoded progressively yet flagged as interlaced]:

add "--fake-interlaced --pic-struct" when encoding as 25p and 29.97p progresive. So the BD player will read it.

How to make 720p25 and 720p29.97 Bluray compliant (is this correct?) [use frame doubling to comply with the Blu-Ray specification] :

add "--pulldown double" when encoding as 25p and 29.97p progresive. So the BD player will read it.

sneaker_ger
15th April 2011, 16:06
If you have not already seen it, the following site has examples for all combinations:
http://www.x264bluray.com/

detmek
15th April 2011, 16:13
--slow-firstpass with CRF?!
Also, VBV and keyint are missing.

poisondeathray
15th April 2011, 16:19
add --sar 1:1 for the 1080p, 720p

you need to specify vbv values

you should start reading the guides
http://sites.google.com/site/x264bluray/home
http://forum.doom9.org/showthread.php?t=154533

sneaker_ger
15th April 2011, 16:30
Oh, yes. I mainly looked at the buttom and falsely assumed the top settings were just copied. vbv settings are missing.
Maybe you should really wait for kierank and shon3i to update their guides to account for the recent x264 changes.

/edit: kierank already did.

shon3i
15th April 2011, 16:36
Oh, yes. I mainly looked at the buttom and falsely assumed the top settings were just copied. vbv settings are missing.
Maybe you should really wait for kierank and shon3i to update their guides to account for the recent x264 changes.

/edit: kierank already did.
Updated :P btw is not kierank it's me :)

sneaker_ger
15th April 2011, 16:49
I'm talking about www.x264bluray.com which I thought is maintained by kierank - or is it also your work?

shon3i
15th April 2011, 16:57
I'm talking about www.x264bluray.com which I thought is maintained by kierank - or is it also your work?
I just do maintenance...

sneaker_ger
15th April 2011, 17:11
I see.

africanmarty
16th April 2011, 03:32
thankyou very much guys.