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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd March 2007, 16:06   #41  |  Link
DocAliG
MPEG Member
 
Join Date: Oct 2006
Posts: 39
Quote:
Originally Posted by Sergey A. Sablin View Post
It still looks for me like you're mixing different buffers.
DPB is a decoded picture duffer and no one here is talking about it. This buffer is used for reference pictures and has nothing to do with any bitrate, transmission etc.
CPB is a coded picture buffer - the buffer used in decoder to keep arrival data which is waiting it's decoding time.
It's just simply not comparable. Just because x264 and the JM are two different codecs, built in two different ways.

Quote:
Originally Posted by Sergey A. Sablin View Post
JM has neither strict HRD compilance nor CBR as it doesn't write any padding. JM neither write HRD parameters, so to verify stream you have to manage all parameters by yourself.
JM should have only CBR. And should have HRD compliance as well.

Quote:
Originally Posted by Sergey A. Sablin View Post
And finally rate control which produce random CPB size is useless, since you need definitely known size to transmit your data through network and to correctly decode signal on fixed function chip decoders. There is no other way to think it - user has to specify coded picture buffer size, stream rate and initial delay and encoder using rate control has to produce stream with required parameters, else it is not RC - it is BS.
That's why NAL has been created. But it's true that in JM, user has to define everything by himself. That's sometimes quite tough.
DocAliG is offline   Reply With Quote
Old 2nd March 2007, 16:30   #42  |  Link
Sergey A. Sablin
Registered User
 
Join Date: Dec 2004
Location: Tomsk, Russia
Posts: 366
Quote:
Originally Posted by DocAliG View Post
It's just simply not comparable. Just because x264 and the JM are two different codecs, built in two different ways.
they're quite comparable as these two are just two different implementations of same ISO/ITU-T specification named MPEG-4 part 10 AVC/H.264. You are talking absolutely odd things.

Quote:
Originally Posted by DocAliG View Post
JM should have only CBR. And should have HRD compliance as well.
maybe it should but there is no any overflow prevention (using filler SEI), so if it is even CBR than it is not compliance with HRD model. I dont see any underflow checking either.

Quote:
Originally Posted by DocAliG View Post
That's why NAL has been created. But it's true that in JM, user has to define everything by himself. That's sometimes quite tough.
NAL units have nothing to do with HRD and any rate control. It is just packetizing.
Sergey A. Sablin is offline   Reply With Quote
Old 2nd March 2007, 16:46   #43  |  Link
DocAliG
MPEG Member
 
Join Date: Oct 2006
Posts: 39
Quote:
Originally Posted by Sergey A. Sablin View Post
they're quite comparable as these two are just two different implementations of same ISO/ITU-T specification named MPEG-4 part 10 AVC/H.264. You are talking absolutely odd things.
A norm is made to describe a BITSTREAM and a DECODER. Never to describe an encoder. You can think of any encoding you want, providing that the bitstream is made correctly and the reference decoder can decode it. I don't know who is talking odd things, but....

Quote:
Originally Posted by Sergey A. Sablin View Post
NAL units have nothing to do with HRD and any rate control. It is just packetizing.
I know. I was just reacting to your sentence : "...since you need definitely known size to transmit your data through network..." that's why i've said : that's why NAL has been created. To adapt the stream and prepare it for the network. Or at least one reason why.
DocAliG is offline   Reply With Quote
Old 2nd March 2007, 16:56   #44  |  Link
squid808
Registered User
 
Join Date: Oct 2006
Posts: 13
DocAliG: DPB (Decoded Picture Buffer) is part of the H.264 decoder specification and has nothing to with rate control. And this is the meaning of DPB in JM. You are, indeed, talking very odd things.
squid808 is offline   Reply With Quote
Old 2nd March 2007, 17:05   #45  |  Link
DocAliG
MPEG Member
 
Join Date: Oct 2006
Posts: 39
Quote:
Originally Posted by squid808 View Post
DocAliG: DPB (Decoded Picture Buffer) is part of the H.264 decoder specification and has nothing to with rate control. And this is the meaning of DPB in JM. You are, indeed, talking very odd things.
I wrote "The DPB is the "mbuffer.c" file in the JM.". Never talked about rate control having a link with DPB. Thanks.
DocAliG is offline   Reply With Quote
Old 2nd March 2007, 17:14   #46  |  Link
squid808
Registered User
 
Join Date: Oct 2006
Posts: 13
Quote:
Originally Posted by DocAliG View Post
I wrote "The DPB is the "mbuffer.c" file in the JM.". Never talked about rate control having a link with DPB. Thanks.
Ok. That makes me kind of curious about how your sentence "The DPB is the "mbuffer.c" file in the JM." is related to this thread?
squid808 is offline   Reply With Quote
Old 2nd March 2007, 19:20   #47  |  Link
DarkZell666
aka XaS
 
DarkZell666's Avatar
 
Join Date: Jun 2005
Location: France
Posts: 1,122
Quote:
And CBR modifies QP within a frame, so it's even closer.
Ooops I had almost forgotten that one, it makes my point less valid than I thought And I'll take it that by CBR you meant "ABR + activated vbv" too ^^ (you almost scared me off ).
__________________

Q9300 OC @ 3.2ghz / Asus P5E3 / 4GB PC10600 / Geforce 8600 GTS
DarkZell666 is offline   Reply With Quote
Old 8th March 2007, 14:54   #48  |  Link
DocAliG
MPEG Member
 
Join Date: Oct 2006
Posts: 39
After a great help from Manao (and akupenguin), we finally sorted this CBR problem out (or at least, i understood why x264 is working this way ).

For those who have interest in CBR, the vbv is only compliant on single pass mode, which has been verified by Manao small patch, (and the little tool i used to provide the curves). When using two passes or more, the x264 vbv is no more compliant, but that's not a problem, because the gain in CBR on several passes would be negligible.

If i have some spare time, i'll try to implement this compliance for 2 passes, just to check if this can slightly increase the quality (by curiosity....). Some bitrates are so small that just a small enhancement can make the difference.

A big Thank again to Manao and to akupenguin for your time.
DocAliG is offline   Reply With Quote
Reply


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 04:19.


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