Quantcast What about a Matrix Varying Based Encoder? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
03-29-2005, 02:14 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

As varying some value in a matrix can cause blurring, would it be posible to make an encoder which vary the matrix acording to vectors, using a blurrier version with high motion vectors, and using a normal version in less motion zone?
Or the mpeg2 specification don't allow to vary the matrix within a mpeg file?

Thanks,
Fabrice
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-29-2005, 03:56 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
This encoder has already a name : CCE 2.70 (adaptative Q-Matrix feature that must be unselected to do KDVD by the way).
Reply With Quote
  #3  
03-29-2005, 09:35 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

So someone already think about that before... I came too late!
What about the quality? And why do you have to uncheck this to do KDVD?

I'll download the trial version to see it , and if it's a interesting feature, ask Hank if it will be posible to modify HC to do that, ... ( or have, at least, a proof of concept version).

Salu2
Fabrice
Reply With Quote
  #4  
03-29-2005, 09:46 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
I think that a dynamic matrix would be a geat idea, but I'm not sure it would work on all standalone players.
The reason is, that probably many players read the first header of the MPEG file, and set the decoder accordingly.
If a standalone decoder uses that first matrix as a reference for the complete movie, and the matrix in the movie varies on every header segment, the result will be a decoded mess

-kwag
Reply With Quote
  #5  
03-29-2005, 09:47 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by fabrice
What about the quality?
Don't know, never used.

Quote:
And why do you have to uncheck this to do KDVD?
Because we want the encoder to use the KVCD-Notch and nothing else
Reply With Quote
  #6  
03-29-2005, 10:17 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

According to CCE user guide:

Quote:
What is adaptive Q-matrix switching ?
There are some cases that Cinema Craft Encoder SP cannot keep
the minimum bitrate. It is considered to be caused by that the lowest
quantization scale cannot raise the bitrate under a single quantization
matrix. To solve the problem, Cinema Craft Encoder SP automatically
creates other matrices cutting the value of each element in the
matrices by half, quarter and so on, and applies another one to produce
a much lower distortion for much higher bitrate. This switching
of quantization matrix can occur at every GOP.
Thus, adaptive Q-matrix switching can improve the quality of image,
especially with lower bitrate sources or CG works or the edge of
fading out.
So it's not really what I was talking about. but if CCE give the posibility to change the matrix each GOP, it means that it's mpeg compliant. (because it's activated by default).
Is there a way to get a file, with multiple matrix, to do a DVD test? (without encoding each GOP in a different file, with a different matrix, of course).

The only problem I see, is that if the matrix can only be put at gop level, we will have the same problem with moving object in front of a static area we had with optimal script: loosing all static area details...

Salu2
Fabrice
Reply With Quote
  #7  
03-29-2005, 10:35 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by fabrice
Is there a way to get a file, with multiple matrix, to do a DVD test? (without encoding each GOP in a different file, with a different matrix, of course).
I think that's exactly the easiest way to try it, at this moment
Just encode four or five 1 minute clips, each with a different matrix, and then join the MPEG files together as a single large file.
Then see if there are hickups on a standalone.

-kwag
Reply With Quote
  #8  
03-30-2005, 12:32 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I'm not sure it would do the trick, because it don't seem that the matriz is always present in the Sequence header ( http://dvd.sourceforge.net/dvdinfo/mpeghdrs.html ), so merging the files only would give me a first matrix, but no sequence matrixes...
Is there any tool I can use to confirm that? (o should I write my own mpeg header parser?)

Salu2
Fabrice

EDITED: I found Mpeg parser, and I confirm that the "load Intra quantiser Matrix" flag is on with hc and cce. The only problem is that I can't see the matrix used in each Sequence Header, just to be sure that merging the 5 files won't erase this 'local' matrix.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
HCenc: K-Encoder-HC, Tool for DVD backups based in HC Encoder maurus Video Encoding and Conversion 3 04-05-2006 08:07 AM
Is Notch matrix the default matrix from the KDVD template? jzhao66 Video Encoding and Conversion 2 06-29-2005 03:25 AM
New Mpeg2enc-based encoder Abond Video Encoding and Conversion 2 09-07-2004 05:02 AM
Best KVCD Matrix for TmpGenc Encoder v3 ? fozzieb Video Encoding and Conversion 1 06-08-2004 06:08 AM
How to patch the quantum matrix in Mainconcept Encoder? The Untouchable Video Encoding and Conversion 7 01-23-2004 12:27 PM




 
All times are GMT -5. The time now is 07:43 AM  —  vBulletin © Jelsoft Enterprises Ltd