tal.aloni
7th April 2009, 12:22
This guide sums up how to encode / process your H.264 Elementary streams (created with x264) in order to prevent the Blu-Ray Authoring Software from re-encode them.
(those are the bare minimum requirements, they are not assuring Blu-Ray compliant Disc, only successful creation)
regarding b-pyramid:
use --b-pyramid strict or --b-pyramid none when encoding with x264.
avoid using --b-pyramid normal (the default), it's not Blu-Ray compliant, and even if your hardware support it, some authoring / processing software are known to introduce wrong frame order to such streams. (Sony DVD Architect and h264info)
* TSMuxer (and thus multiAVCHD) can handle b-pyramid successfully when remuxing .mkv to Blu-Ray, but fail as everybody else when adding picture timing to a raw elementary stream. (both for avc > avc (demux) and avc > container)
Sony DVD Architect 5.0b (Build 180):
Option 1: Encode using x264 revision 1510+, use the --aud switch. (you don't have to use the --nal-hrd switch)
Option 2: Run the stream through h264info (uncheck all checkboxes)
Notes:
1. renaming the stream to .avc is recommended
2. Don't use --b-pyramid normal with this software, frames will be displayed in the wrong time / order. it seems that the problem lies with the m2ts, as the stream itself is not being modified, and plays back correctly after remuxing.
Adobe Encore CS4:
Option 1: Encode using x264 revision 1510+, use the --nal-hrd and the --aud switches.
Option 2: Run the stream through h264info (uncheck all checkboxes)
Sonic Scenarist Workgroup Blu-Ray Disc Authoring 4.2:
Option 1: Encode using x264 revision 1510+, use the --nal-hrd and the --aud switches.
Option 2: Run the stream through h264info (uncheck all checkboxes)
(and don't forget to run the stream through the MUI generator)
TSMuxer / TSRemux:
No special preperations are required.
Notes:
1. Limited to a single clip. (multiple episodes are not supported)
2. No menu support.
* multiAVCHD is using TSMuxer for the muxing part.
Other software Tested:
Ulead Movie Factory 7 (Trial):
You'll have to mux the AVC stream into m2ts, the m2ts have to have audio (or you'll get a weird error message)
Movie Factory does not seem to support 1280x720, (1920x1080 is supported), also, I couldn't get 23.976 fps support,
ISO or folder creation is not suported as well, only burning, and only to BD-R / BD-RE media. for now, this is a very limited software.
Misc Info:
basic command line example:
--crf 20 --level 4.1 --keyint 24 --min-keyint 1 --ref 4 --mixed-refs --no-fast-pskip --bframes 8 --b-adapt 2 --weightb --direct auto --deblock -3:-3 --subme 9 --trellis 2 --aq-strength 0.8 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --qpmax 29 --vbv-bufsize 30000 --vbv-maxrate 40000 --me esa --merange 32 --threads auto --sar 1:1 --progress --aud
more info: http://forum.doom9.org/showthread.php?t=124835 (some inaccuracies though)
+ h264info version tested is v25 alpha
Contact me if you have corrections or information regarding other software, especially Sonic DVDit 6.4
(those are the bare minimum requirements, they are not assuring Blu-Ray compliant Disc, only successful creation)
regarding b-pyramid:
use --b-pyramid strict or --b-pyramid none when encoding with x264.
avoid using --b-pyramid normal (the default), it's not Blu-Ray compliant, and even if your hardware support it, some authoring / processing software are known to introduce wrong frame order to such streams. (Sony DVD Architect and h264info)
* TSMuxer (and thus multiAVCHD) can handle b-pyramid successfully when remuxing .mkv to Blu-Ray, but fail as everybody else when adding picture timing to a raw elementary stream. (both for avc > avc (demux) and avc > container)
Sony DVD Architect 5.0b (Build 180):
Option 1: Encode using x264 revision 1510+, use the --aud switch. (you don't have to use the --nal-hrd switch)
Option 2: Run the stream through h264info (uncheck all checkboxes)
Notes:
1. renaming the stream to .avc is recommended
2. Don't use --b-pyramid normal with this software, frames will be displayed in the wrong time / order. it seems that the problem lies with the m2ts, as the stream itself is not being modified, and plays back correctly after remuxing.
Adobe Encore CS4:
Option 1: Encode using x264 revision 1510+, use the --nal-hrd and the --aud switches.
Option 2: Run the stream through h264info (uncheck all checkboxes)
Sonic Scenarist Workgroup Blu-Ray Disc Authoring 4.2:
Option 1: Encode using x264 revision 1510+, use the --nal-hrd and the --aud switches.
Option 2: Run the stream through h264info (uncheck all checkboxes)
(and don't forget to run the stream through the MUI generator)
TSMuxer / TSRemux:
No special preperations are required.
Notes:
1. Limited to a single clip. (multiple episodes are not supported)
2. No menu support.
* multiAVCHD is using TSMuxer for the muxing part.
Other software Tested:
Ulead Movie Factory 7 (Trial):
You'll have to mux the AVC stream into m2ts, the m2ts have to have audio (or you'll get a weird error message)
Movie Factory does not seem to support 1280x720, (1920x1080 is supported), also, I couldn't get 23.976 fps support,
ISO or folder creation is not suported as well, only burning, and only to BD-R / BD-RE media. for now, this is a very limited software.
Misc Info:
basic command line example:
--crf 20 --level 4.1 --keyint 24 --min-keyint 1 --ref 4 --mixed-refs --no-fast-pskip --bframes 8 --b-adapt 2 --weightb --direct auto --deblock -3:-3 --subme 9 --trellis 2 --aq-strength 0.8 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --qpmax 29 --vbv-bufsize 30000 --vbv-maxrate 40000 --me esa --merange 32 --threads auto --sar 1:1 --progress --aud
more info: http://forum.doom9.org/showthread.php?t=124835 (some inaccuracies though)
+ h264info version tested is v25 alpha
Contact me if you have corrections or information regarding other software, especially Sonic DVDit 6.4