Log in

View Full Version : HCEnc Settings for Blu-ray


SquallMX
12th September 2010, 03:07
Does anybody nows which settings are needed in order to create a compliant MPEG-2 stream for Blu-ray using HCEnc?

:thanks:

Guest
12th September 2010, 03:17
Either look at section 9.4 of the BluRay spec or analyze an MPEG2 stream taken from a real title and copy that.

Sorry, but the spec section 9.4 is pretty big and so due to copyright I can't post it here.

Maybe someone else has a concise summary for you.

SquallMX
12th September 2010, 18:13
Thank you Neuron, I found the Cinevision MPEG-2 encoder manual, according to it:

1.-Max B-Frames: 2 :mad:
2.-Max Bitrate: 40 Mbps (Default 35 Mbps)
3.-Max GOP Length: 1 sec (24/25/30 frames)
4.-MPEG Standard Matrix
5.-Pulldown for 23.976/24 fps sources is not needed

Most Disney's trailers encoded using MPEG-2 use similar settings but with 1/2 sec GOPs.

I think that HCEnc only support a maximum of 18 frames per gop :confused:.

laserfan
12th September 2010, 19:14
I think that HCEnc only support a maximum of 18 frames per gop :confused:.Hank's PDF sez "Max GOP length is 36".

hank315
12th September 2010, 19:35
If you untick the autogop option, you can set the GOPlength to 36 in the Settings1 tab.
Warning, if you're doing HD and use such high GOPlengths you need a lot of memory, the memory allocation by HCenc is proportional by resolution x GOPlength.

Emulgator
12th September 2010, 21:06
What about the VBV ?

If I try to may out VBV values using TE4XP input windows,
I land for
SD-DVD-MPEG2 720x576x25i (10.368Mpix/s) at 224KB,
HDV-MPEG-2-TS 1440x1080x25i (38.88Mpix/s) at 896KB, (4x DVD-VBV)
Full-HD-MPEG-2 1920x1080x25i (51.84Mpix/s) at 1194KB. (5.33x DVD-VBV)

Looks like these VBV-values are quite Pixelrate-proportional.
Like 0.0216 B/pix, 0.023 B/pix, 0.023 B/pix.
Or 0.1728bpp, 0.18bpp, 0.18bpp.

TE4's max resolution, bitrate,VBV: 1920x1152 @80Mbps, VBV 1194KB.
Not by encode, just by playing with the input fields...

hank315
12th September 2010, 22:39
This is how HCenc handles VBV buffers:

HCenc code:
VBV%limit(1)=1835008 ! main level
VBV%limit(2)=7340032 ! high 1440 level
VBV%limit(3)=9781248 ! high level

This is compliant with H.262 (02/2000)
Table E.23 – Main profile @ Main level
Table E.24 – Main profile @ High-1440 level
Table E.25 – Main profile @ High level

These are the same values you mentioned:
1835008/(8*1024) = 224
7340032/(8*1024) = 896
9781248/(8*1024) = 1194

Emulgator
13th September 2010, 03:47
Very good !

shon3i
13th September 2010, 06:48
from bd specs:

Max rate:

if Main Profile@Main Level maximum is 15mbps for maxrate
if Main profile@High level or High-1440 level is used maximum is 40mbps.

Buffer size:

Main profile@Main level: 229376 [bytes]
Main profile@High-1440: 917504 [bytes]
Main profile@High level: 1222656 [bytes]

Which HC Enc already use, so it's completly BD compatible values