Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th April 2011, 15:55   #1  |  Link
africanmarty
Registered User
 
Join Date: May 2008
Posts: 15
Help me w/ my compliant BD disk settings in x264

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.

Last edited by africanmarty; 15th April 2011 at 15:58.
africanmarty is offline   Reply With Quote
Old 15th April 2011, 16:06   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
If you have not already seen it, the following site has examples for all combinations:
http://www.x264bluray.com/

Last edited by sneaker_ger; 15th April 2011 at 16:34.
sneaker_ger is offline   Reply With Quote
Old 15th April 2011, 16:13   #3  |  Link
detmek
Registered User
 
Join Date: Aug 2009
Posts: 463
--slow-firstpass with CRF?!
Also, VBV and keyint are missing.

Last edited by detmek; 15th April 2011 at 16:18.
detmek is offline   Reply With Quote
Old 15th April 2011, 16:19   #4  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
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

Last edited by poisondeathray; 15th April 2011 at 16:21.
poisondeathray is offline   Reply With Quote
Old 15th April 2011, 16:30   #5  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
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.
sneaker_ger is offline   Reply With Quote
Old 15th April 2011, 16:36   #6  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by sneaker_ger View Post
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
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 15th April 2011, 16:49   #7  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I'm talking about www.x264bluray.com which I thought is maintained by kierank - or is it also your work?
sneaker_ger is offline   Reply With Quote
Old 15th April 2011, 16:57   #8  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by sneaker_ger View Post
I'm talking about www.x264bluray.com which I thought is maintained by kierank - or is it also your work?
I just do maintenance...
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 15th April 2011, 17:11   #9  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I see.
sneaker_ger is offline   Reply With Quote
Old 16th April 2011, 03:32   #10  |  Link
africanmarty
Registered User
 
Join Date: May 2008
Posts: 15
thankyou very much guys.
africanmarty is offline   Reply With Quote
Reply

Tags
bluray, compliance, compliant, encode, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:28.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.