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-2 Encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th September 2010, 03:07   #1  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 308
HCEnc Settings for Blu-ray

Does anybody nows which settings are needed in order to create a compliant MPEG-2 stream for Blu-ray using HCEnc?

SquallMX is offline   Reply With Quote
Old 12th September 2010, 03:17   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,907
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.
Guest is offline   Reply With Quote
Old 12th September 2010, 18:13   #3  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 308
Thank you Neuron, I found the Cinevision MPEG-2 encoder manual, according to it:

1.-Max B-Frames: 2
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 .
SquallMX is offline   Reply With Quote
Old 12th September 2010, 19:14   #4  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
Quote:
Originally Posted by SquallMX View Post
I think that HCEnc only support a maximum of 18 frames per gop .
Hank's PDF sez "Max GOP length is 36".
laserfan is offline   Reply With Quote
Old 12th September 2010, 19:35   #5  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
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.
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 12th September 2010, 21:06   #6  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,163
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...
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're working on that issue. Synce invntoin uf lingöage..."

Last edited by Emulgator; 12th September 2010 at 21:22.
Emulgator is offline   Reply With Quote
Old 12th September 2010, 22:39   #7  |  Link
hank315
HCenc author
 
Join Date: Nov 2003
Location: Netherlands
Posts: 570
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
__________________
HCenc at: http://hank315.nl
hank315 is offline   Reply With Quote
Old 13th September 2010, 03:47   #8  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,163
Very good !
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're working on that issue. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 13th September 2010, 06:48   #9  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
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
shon3i is offline   Reply With Quote
Reply

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 06:56.


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