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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 31st May 2005, 07:43   #1  |  Link
lcld
Registered User
 
Join Date: Jan 2005
Location: France
Posts: 28
H.263 QM: What are their coefficients?

I know, H.263 isn't a matrix-with-fixed-coefficients. At least, that's what I read several times. But how it is possible?

I can't understand how one can experiment with CQM without knowing what H.263 is.

And what about MPEG?
lcld is offline   Reply With Quote
Old 31st May 2005, 09:48   #2  |  Link
Poutnik
Useless idea generator
 
Poutnik's Avatar
 
Join Date: Apr 2004
Location: Europe, Czech Republic, Brno
Posts: 332
I do not know much about H263 but it uses different quantization approach,
comparing to MPEG ( no matter if standard MPEG or custom MPEG matrix ).

So CQM have nothing to do with matrices, so one need not to know it.
But fore sure it is useful to know what it is.

Try Google to find some H263 related resources....
I know there are..
__________________
Vista64 Premium SP2 / C2D E4700 2.6GHz/ 6GB RAM/ Intel GMA 3100 / DTV Leadtek DONGLE GOLD USB2 /
focused to DVB-T MPEG2 PS capture -> ProjectX -> M2V/MP2 -> MeGUI/AVS -> MP4[AVC/AAC]
Poutnik is offline   Reply With Quote
Old 31st May 2005, 09:59   #3  |  Link
iradic
Registered User
 
Join Date: Jan 2004
Posts: 332
sorry if OT but what reg value tells xvid which matrix to use?
iradic is offline   Reply With Quote
Old 31st May 2005, 10:07   #4  |  Link
lcld
Registered User
 
Join Date: Jan 2005
Location: France
Posts: 28
Quote:
Try Google to find some H263 related resources....
reading http://www.uofaweb.ualberta.ca/mccl/...rt-LinWang.pdf...
Quote:
sorry if OT but what reg value tells xvid which matrix to use?
HKEY_CURRENT_USER\SOFTWARE\GNU\XviD\quant_type
HKEY_CURRENT_USER\SOFTWARE\GNU\XviD\qmatrix_inter
HKEY_CURRENT_USER\SOFTWARE\GNU\XviD\qmatrix_intra
???
lcld is offline   Reply With Quote
Old 31st May 2005, 11:23   #5  |  Link
Poutnik
Useless idea generator
 
Poutnik's Avatar
 
Join Date: Apr 2004
Location: Europe, Czech Republic, Brno
Posts: 332
IMHO quant type says if h263,MPEG, or MPEG custom is used.
inter/intra keys say which koefs would be used, if Custom MPEG is chosed.
So there is no link to matrix.
When matrix is loaded, data are just copied to these reg items.
__________________
Vista64 Premium SP2 / C2D E4700 2.6GHz/ 6GB RAM/ Intel GMA 3100 / DTV Leadtek DONGLE GOLD USB2 /
focused to DVB-T MPEG2 PS capture -> ProjectX -> M2V/MP2 -> MeGUI/AVS -> MP4[AVC/AAC]
Poutnik is offline   Reply With Quote
Old 31st May 2005, 13:28   #6  |  Link
lcld
Registered User
 
Join Date: Jan 2005
Location: France
Posts: 28
(The first time I tried to find the answer in xvid's source, I was completely lost.
Now, with that doc, I think I have understood.)

H.263 quantization woulld be a CQM full of 16 with a slightly different algorithm : results of divisions are "truncated", instead of being "rounded".

And MPEG quantization is just a predefined matrix.

Can anyone confirm this ?

Last edited by lcld; 1st June 2005 at 17:04.
lcld is offline   Reply With Quote
Old 31st May 2005, 16:52   #7  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
h263 is a quantization type, not a a quantization matrix.
DivX fusion uses an "optimized" h263 algo, while xvid uses standard h263.
Sharktooth is offline   Reply With Quote
Old 31st May 2005, 19:29   #8  |  Link
akupenguin
x264 developer
 
akupenguin's Avatar
 
Join Date: Sep 2004
Posts: 2,392
Quote:
Originally Posted by Sharktooth
DivX fusion uses an "optimized" h263 algo, while xvid uses standard h263.
I was under the impression that DivX's "Rate-distortion optimized H.263 quantization" was just another name for Trellis. After all, they can't change the behaviour of the decoder and still be MPEG4 compliant, so the only choices available are what dct coefficients to encode. And Trellis is precisely the rate-distortion optimal choice of coefficients.
akupenguin is offline   Reply With Quote
Old 31st May 2005, 20:12   #9  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,856
akupenguin : It's indeed trellis that is used.

Lcld : I confirm you observation : roughly, h263 is equivalent to a matrix filled with 16s. Roughly only. MPEG is indeed equivalent to MPEG-Custom with a predefined matrix - this matrix is defined in the MPEG-4 norm.
Manao 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 20:06.


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