Quantcast FFmpeg: Mencoder and DVD Compliance - digitalFAQ.com Forums [Archives]
  #1  
11-02-2005, 06:06 PM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
can you try this command line with mencoder and report if you have compliance problem with your standalone player ... thx

mencoder.exe HDTV.avs -o MPEG2-HQ1.m2v -ovc lavc -lavcopts vcodec=mpeg2video:vpass=1:vqmin=1:lmin=0.01:vqblur =0:vqscale=4
:vrc_maxrate=9000:vrc_buf_size=1835:keyint=15:vqco mp=0.75
:vmax_b_frames=2:vb_qfactor=1.25:vb_qoffset=0.0:vi _qfactor=1.0
:vi_qoffset=0.0:me_range=128reme=2:dia=6redia= 6:mbd=2
:mbcmp=262recmp=262:cmp=256:subcmp=262:mv0:trell :cbp
:dc=8:qprdsnr:aspect=16/9:inter_matrix=20,21,22,23,24,25,26,27,21,
21,22,23,24,25,26,28,22,22,23,24,25,26,28,30,23,23 ,24,25,26,28,29,32,
24,24,25,26,28,31,33,35,25,25,26,28,31,34,36,39,26 ,26,28,29,33,36,41,
43,27,28,30,32,35,39,43,48:intra_matrix=8,16,16,16 ,17,17,18,19,16,16,
16,16,17,18,19,20,16,16,16,17,18,19,20,22,16,16,17 ,18,19,21,23,26,17,
17,18,19,21,24,27,31,17,18,19,21,24,28,33,40,18,19 ,20,23,27,33,42,51,
19,20,22,26,31,40,51,64 -of rawvideo -ffourcc MPG2

mencoder.exe HDTV.avs -o MPEG2-HQ2.m2v -ovc lavc -lavcopts vcodec=mpeg2video:vpass=3:vqmin=1:lmin=0.01:vqblur =0
:vbitrate=3000:vrc_maxrate=9000:vrc_buf_size=1835: keyint=15
:vqcomp=0.75:vmax_b_frames=2:vb_qfactor=1.25:vb_qo ffset=0.0
:vi_qfactor=1.0:vi_qoffset=0.0:me_range=128reme= 2:dia=6
redia=6:mbd=2:mbcmp=262recmp=262:cmp=256:subcm p=262
:mv0:trell:cbp:dc=8snr:aspect=16/9:inter_matrix=20,21,22,23,24,25,
26,27,21,21,22,23,24,25,26,28,22,22,23,24,25,26,28 ,30,23,23,24,25,26,
28,29,32,24,24,25,26,28,31,33,35,25,25,26,28,31,34 ,36,39,26,26,28,29,
33,36,41,43,27,28,30,32,35,39,43,48:intra_matrix=8 ,16,16,16,17,17,18,
19,16,16,16,16,17,18,19,20,16,16,16,17,18,19,20,22 ,16,16,17,18,19,21,
23,26,17,17,18,19,21,24,27,31,17,18,19,21,24,28,33 ,40,18,19,20,23,27,
33,42,51,19,20,22,26,31,40,51,64 -of rawvideo -ffourcc MPG2

mencoder.exe HDTV.avs -o MPEG2-HQ3.m2v -ovc lavc -lavcopts vcodec=mpeg2video:vpass=3:vqmin=1:lmin=0.01:vqblur =0
:vbitrate=3000:vrc_maxrate=9000:vrc_buf_size=1835: keyint=15
:vqcomp=0.75:vmax_b_frames=2:vb_qfactor=1.25:vb_qo ffset=0.0
:vi_qfactor=1.0:vi_qoffset=0.0:me_range=128reme= 2:dia=6
redia=6:mbd=2:mbcmp=262recmp=262:cmp=256:subcm p=262
:mv0:trell:cbp:dc=8snr:aspect=16/9:inter_matrix=20,21,22,23,24,
25,26,27,21,21,22,23,24,25,26,28,22,22,23,24,25,26 ,28,30,23,23,24,25,
26,28,29,32,24,24,25,26,28,31,33,35,25,25,26,28,31 ,34,36,39,26,26,28,
29,33,36,41,43,27,28,30,32,35,39,43,48:intra_matri x=8,16,16,16,17,17,
18,19,16,16,16,16,17,18,19,20,16,16,16,17,18,19,20 ,22,16,16,17,18,19,
21,23,26,17,17,18,19,21,24,27,31,17,18,19,21,24,28 ,33,40,18,19,20,23,
27,33,42,51,19,20,22,26,31,40,51,64 -of rawvideo -ffourcc MPG2
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
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  
11-02-2005, 06:20 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 Sagittaire
can you try this command line with mencoder and report if you have compliance problem with your standalone player ... thx
Whatever the answer, this is supposed to testify that mencoder is (or is not) DVD compliant ?

Let me laught...

My two players don't have the slighest choke with things as far from the standard than 544*576 resolution and a GOP of 25. So what can you deduce from that ? The encoder that output in 544*576 / 25 GOP is DVD compliant ?

I also mixed PAL / NTSC DVD with no problems. And even PAL resolution with NTSC framerate.

I guess my player is more compliant than the standard itself
  #3  
11-02-2005, 07:26 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
I do think the post above is especially adressed to people which had problems using the CLI lines we used 1 year ago.

We treat our encoders like Girlfreinds
So every encoder gets a second chance As our Girlfriends too

@Sagittaire

I think the second line was supposed to be a 2nd pass, right? As it still shows the 3d pass parameter.
  #4  
11-02-2005, 08:49 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 Sagittaire
can you try this command line with mencoder and report if you have compliance problem with your standalone player ... thx
Why
It's still basicallly the same code base as it was one year ago (I've looked at the code).
Still with the same rate control bugs. So no matter what command line arguments are used, the final result will still be non DVD compliant data.
Or, did the Mencoder group add or clean up code which I'm not aware of
I hope I'm wrong

Edit: Also, you're using dc=8 on a high bitrate encode, which should really be 10 bits for those settings

-kwag
  #5  
11-03-2005, 05:46 AM
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 incredible
I do think the post above is especially adressed to people which had problems using the CLI lines we used 1 year ago.
Of course Inc, but my question stay the same : how this "test" can testify that the new mencoder is DVD compliant ? How much answer will he receive ? 10 ?
Can 10 testimonies make a whole truth ?

And as I told, for sure my pioneer won't have any problem with none of these three lines. It didn't have any with the mencoder of last year . So okay, that means that the old mencoder is "as good as" the new one can be. I let you put what you want in this sentence
  #6  
11-03-2005, 03:23 PM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
I think the second line was supposed to be a 2nd pass, right? As it still shows the 3d pass parameter.
Cerainely not ... vpass=3 is multipass with stat file update ... if you use vpass=2 the stat file is not updated and NPass are impossible (buffer underflowin correction is possible with NPass)

In fact I read completely your mencoder sub-forum and all your CLI for mencoder are always not MPEG2 MP@ML DVD compliant ...

Mencoder and 1 pass constant quantizer (vqscale mode)
It's impossible with mencoder to make CQ mode like for TMPGEnc because RC and VBV specification are desactived in this mode and can produce MPEG2 stream with buffer underflowin

Mencoder and maximum vector motion range
You must use me_range=128 (unknow with search on your forum ... ???) for make compliant MPEG2 stream

Mencoder and Custum Matrix
You use for example Notch Matrix for your test. Notch Matrix is compliant with MPEG2 but not with libavcodec: you must use value superior at 16 for all coef (high energy intra coef is an exception)

HC (HCEnc developper) analyse my MPEG2 stream produce with my CLI and say: it's compliant with vbv and mpeg2 DVD specifictions ... ???
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #7  
11-03-2005, 05:18 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
In fact I read completely your mencoder sub-forum and all your CLI for mencoder are always not MPEG2 MP@ML DVD compliant ...
And for shure you catched the dates when these lines where build? Thats over a year ago or so.
Well at least in that time we where (imho) the only Community where Mencoder testings have been done on mpeg2 outputs in such an extra-try and try and trying way
  #8  
11-03-2005, 05:57 PM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
I think the second line was supposed to be a 2nd pass, right? As it still shows the 3d pass parameter.
Quote:
Originally Posted by incredible
And for shure you catched the dates when these lines where build? Thats over a year ago or so.
Well at least in that time we where (imho) the only Community where Mencoder testings have been done on mpeg2 outputs in such an extra-try and try and trying way
You are sure for that ...

IMO high bitrate encoding (more than 4 or 5 Mbps) can be a problem with mencoder (multipass encoding are necessary for vbv compliance) but certainely not for low/medium bitrate ...

At this time Mencoder is the best MPEG2 encoder and by far for low/medium bitrate:
- Rate control tweak like quant variability, ratio/offset for I,Bframe ...
- Rate Distortion Optimisation
- Adaptative Quantisation with multiple masking
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #9  
11-03-2005, 06:15 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry but now this is enough !

Quote:
Originally Posted by Sagittaire
At this time Mencoder is the best MPEG2 encoder
After this :
Quote:
Mencoder and Custum Matrix
You use for example Notch Matrix for your test. Notch Matrix is compliant with MPEG2 but not with libavcodec: you must use value superior at 16 for all coef (high energy intra coef is an exception)
Go read the specs of MPEG2 and return here when you know what you are speaking about :
Mencoder is NOT a MPEG2 encoder. Period.

(I'm sure that if you read the mencoder sub-forum you read that I already wrote that a year ago. Nothing has changed).
  #10  
11-03-2005, 06:59 PM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Well DivX6 don't use CM like XviD but DivX6 is an MPEG4 ASP compliant codec ... DivX6 don't use 3WP GMC but only 1WP GMC but DivX6 is an MPEG4 ASP compliant codec ... NDAVC Main Profil don't use "reference bframe" but NDAVC MP is an H264 compliant codec, NDAVC in Nero Recode can not use more than 8 Reference frame but NDAVC in nero recode is H264 compliant codec ... etc etc etc

You must not use coef < 16 (libavcodec source and my experience with mencoder) because low coef for intra/inter can make buffer underflow and corrupt vbv specification. It's just only a little specifical limitation for intra/inter coef and you can use all the other matrix for respect this particular limitation (like HVS matrix serie for example)

Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Sagittaire
I test MPEG2 codec quality and not standalone players compatibility.
libavec codec does not even respects the MPEG2 definition provided by the Motion Expert Group. But if you can't understand that I can't help.
I let you read that FAQ where you can learn a lot about MPEG2 encoders :
http://www.tns.lcs.mit.edu/manuals/mpeg2/FAQ
Jump to question 49 :

Quote:
49. Is so-and-so really MPEG compliant ?

A. At the very least, there are two areas of conformance/compliance in
MPEG: 1. Compliant bitstreams 2. compliant decoders. Technically
speaking, video bitstreams consisting entirely of I-frames (such as
those generated by Xing software) are syntactically compliant with the
MPEG specification. The I-frame sequence is simply a subset of the full
syntax. Compliant bitstreams must obey the range limits (e.g. motion
vectors limited to +/-128, frame sizes, frame rates, etc.)and syntax
rules (e.g. all slices must commence and terminate with a non-skipped
macroblock, no gaps between slices, etc.).
Sorry to drop this thread there. I use to encode to burn the result on a DVD (and read it afterwards), not just to use my PC.
Yes I read that for example but you must specifie motion vector range in mencoder (me_range=128 because default is me_range=9999) else your MPEG2 stream will be probaly not compliant with MP@ML

Quote:
Mencoder is NOT a MPEG2 encoder
... ????????????!!!!!!!!!!!!!
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #11  
11-03-2005, 08:09 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
just a word about vector limiting : this parameter is probably new (I looked for something like that one year ago and I don't think I missed it), and this surely a fix for that problem.
But others are still there. The respect of the bitrage is one of them. And if you can't understand that NOTHING in the code can prevent some under or over flow, whatever the option you use I just ask you to stop speaking about what you can't understand.

We tried to explain to you more than once in your previous post that this is not because you never faced the problem that it does not exist.

And I'm sorry to tell you that if for you, limiting the coeff into the matrix to "16" to have a respect in the bitrate is just "little limitation", then you still don't understand what is and is not "compliant".

In a last word I want to focus on your own word :
"You must not use coef < 16 (libavcodec source and my experience with mencoder) because low coef for intra/inter can make buffer underflow and corrupt vbv"

Your experience... in other word you admit that the tool doen't give any insurrance that there won't be any underflow. You just experienced (and this experience is precious, I do not tell the opposite) that under given conditions you did not have the problem.

Finally, I can't do as others suggested to me : "KVCD Matrix is not usable with mencoder ? Okay. So mencoder has no interrest for us", ans just close the thread. But I find that too easy.
  #12  
11-03-2005, 08:37 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Excuse me I post a second message about your fist lines because I did not understood them before, so I simply drop them in my first post.

Quote:
Originally Posted by Sagittaire
Well DivX6 don't use CM like XviD but DivX6 is an MPEG4 ASP compliant codec ... DivX6 don't use 3WP GMC but only 1WP GMC but DivX6 is an MPEG4 ASP compliant codec ... NDAVC Main Profil don't use "reference bframe" but NDAVC MP is an H264 compliant codec, NDAVC in Nero Recode can not use more than 8 Reference frame but NDAVC in nero recode is H264 compliant codec ... etc etc etc
Okay, you really decided to dig the hole a little deeper.

Do you see the difference between "not implementing all the features of a codec spec" and "not implementing control in the code that will insure that we will stay within the spec of the codec" ?

I fear you not...

An instance taht you didn't give but it is closer to the problem with mencoder than Divx6 : CCE does not accept values above 99 for matrix coef.
And this does not make CCE not compliant.

Why ? Because the limitation is not in the code that makes the engine of the encore, it is in the GUI that does not allow you to put value upper 99. But in an ECL file, you can use the value you want : there won't be any flow problem !
They just decide to limit the possibility offered to the user to shorter range within the codec limit.

Just like Divx6 designers decided to limit the usage of GMC to 1way (note: are you sure of that ? I think I see test with 3way GMC on the Divxtest v2 disc - but I may be wrong).

To come back to mencoder : this is not something the designers decided to that limit you to 16. This is something that users, like you, experienced as a safe limit. That makes all the difference
  #13  
11-03-2005, 08:43 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 Sagittaire
Mencoder and Custum Matrix
You use for example Notch Matrix for your test. Notch Matrix is compliant with MPEG2 but not with libavcodec: you must use value superior at 16 for all coef (high energy intra coef is an exception)
Wrong
KVCD's Notch matrix was integrated a LONG time ago into mencoder.
Read the manual http://64.233.161.104/search?q=cache...n&client=opera ( Link is cache, because the damn site is down )
Search for: "The KVCD "Notch" Quantization Matrix:" there.
Please get your facts straight before adding confusion to the unaquainted people.

-kwag
  #14  
11-04-2005, 07:11 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Well...

what was the problem related to mpeg2 MP@ML with our encodings?
1- We dropped Mencoder due the fact that Peaks on encodings couldnt be handled
2- We dropped Mencoder cause many members got Bitrateallocation problems
3- We dropped Mencoder cause some members did report that libavcodec encodings wherent able to be played back on their SAP.

Regarding 1-
What about peaks?? Still there? I dont want to do risky encodes anymore but being able to tweak the Bitrates as Im used to like in CCE or TmpgEnc. Means IF I want to end up in a higher Bitrate due an 1movie2oneDVD-5 was my choice, then I want that bitrate to be kept in avg and max. also min bitrate settings would make it more professional. BUT thats even NOT fully supported at CCE as it also likes sometimes to drop even down to 100kb.

SO WAHT ARE THE REAL FACTS regarding this IN THE STATE OF MENCODER/LIBAVCODEC NOW?


Regarding 2-
Based on my practical experiences and subjective eye-checking. I was able to do a CQ like encoding in mencoder by tweaking the Lmin parameter. As in that case on DVB-Reencodings Mencoder was my first choice.
So (if) u can explain me what are the risks IF they are present by doing this.
I see you do use "trellis" in a combination with Lmin lower than 2 .. PeterCheat did proof on a simple example that garbage on some given frames "will" be the result.

Regarding 3-
I already mentioned it in the Thread before you started in here about mencoder MP@ML compilance:
For personal backups I do stick on what gives me the best subjective/objective result and if MY SAP can play it back without problems.
SAME to HCencoder which is *now* the new free-encoder STAR in the sky --- but some Users also do have problems when playing back its result on "their" SAP.

So ... do look for a person who reported problems when playing back mencoder generated streams on his SAP and do offer "HIM" the Lines above, so HE can test it and report if something has changed.
That "proof/fact" can't base on only YOUR-ONLY experience using only YOUR SAP.

If compilancy within the encoding community is proofed like in the case of CCE and TmpgEnc then we can make suggestions on using mencoder as its based on practical proofing/facts.

And about Notch ....
On the one hand it is even offered at the Mencoder Dokumentation, on the other hand you dont suggest it due to your explanations. - where is the logic? IF all MP@ML compilant encoders dont have problems when using Notch, why does Mencoder suffer from that theory? (not a question but something to think about).


Resumee:
You can contribute testing results, but you can't insist on 100% compilancy when only using YOUR Testing Environment for doing proofs.
  #15  
11-04-2005, 08:28 AM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
KVCD's Notch matrix was integrated a LONG time ago into mencoder.
Read the manual http://64.233.161.104/search?q=cache...n&client=opera ( Link is cache, because the damn site is down )
Search for: "The KVCD "Notch" Quantization Matrix:" there.
Please get your facts straight before adding confusion to the unaquainted people.
-kwag
It's an very old libavcodec code limitation. Coef < 16 can make buffer underflowing. If you use Notch Matrix or other matrix with coef < 16 you have this warning in some recent mencoder version:
Warning, QMAT_SHIFT is larger then 21, overflows possible

Code:
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
High quality encoding selected (non real time)!
Using constant qscale = 2.000000 (VBR)
Warning, QMAT_SHIFT is larger then 21, overflows possible
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================


Quote:
But others are still there. The respect of the bitrage is one of them. And if you can't understand that NOTHING in the code can prevent some under or over flow, whatever the option you use I just ask you to stop speaking about what you can't understand.
VBV compliance seem will be solved with multipass encoding and updated stat file. Here an example at 5 Mbps.

First Pass: constant quant encoding with no RC limitation

Very bad target bitrate : 6184.768 Kbps
Overall PSNR = 47.22 dB
vbv are not compliant with MP@ML

Code:
==========================================================================
(..............................)
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5751:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5754:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5756:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5760:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5762:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5765:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5769:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5771:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5774:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5777:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5778:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5780:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5782:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5783:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5785:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5789:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5793:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5799:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5802:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5803:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5804:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5807:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5809:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5810:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5813:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5815:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5816:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5819:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5821:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5822:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5828:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5830:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5832:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5833:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5836:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5837:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5851:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5855:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5857:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5860:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5865:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5867:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5870:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5877:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5880:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5883:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5887:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5889:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5892:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5896:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5899:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5902:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5906:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5909:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5911:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5915:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5918:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5921:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5927:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5930:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5932:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5935:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5938:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5940:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5943:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5945:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5947:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5949:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5952:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6022:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6026:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6028:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6030:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6034:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6036:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6038:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6047:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6049:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6053:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6056:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6059:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6063:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6065:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6069:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6070:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6075:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6084:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6088:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6092:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6095:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6096:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6098:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6100:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6102:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6113:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6124:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6132:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6136:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6138:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6158:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6164:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6165:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6167:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6215:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6225:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6236:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6246:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6256:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6267:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6275:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6285:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6296:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6306:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [6316:0]
Pos: 144.0s   3601f ( 0%)   7fps Trem:   0min   0mb  A-V:0.000 [6188:0]

Second Pass: RC limitations are actived with first pass stat file

Very good target bitrate : 5014.041 Kbps
Overall PSNR = 46.47 dB
-> vbv are not compliant with MP@ML

Code:
==========================================================================
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5027:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5077:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5122:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5162:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5231:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [4160:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [4168:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [4178:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5071:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5074:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5077:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5081:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5083:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5085:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5088:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5090:0]
[mpeg2video @ 00B3E8A8]rc buffer underflowmin   0mb  A-V:0.000 [5092:0]
Pos: 144.0s   3601f ( 0%)   4fps Trem:   0min   0mb  A-V:0.000 [5016:0]

Third Pass: RC limitations are actived with 2 pass stat file update

Very good target bitrate : 5012.150 Kbps
Overall PSNR = 46.33 dB
vbv is compliant with MP@ML


Code:
==========================================================================
Pos: 144.0s   3601f ( 0%)   4fps Trem:   0min   0mb  A-V:0.000 [5014:0]
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #16  
11-04-2005, 08:56 AM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
1- We dropped Mencoder due the fact that Peaks on encodings couldnt be handled
seem to be not a problem even at high bitrate if you use multipass encoding (and you must use other particullar setting like high vqdiff setting for example)


Quote:
2- We dropped Mencoder cause many members got Bitrateallocation problems
it's only a RC variabilty quant problem. If you want "constant quality" (aka constant quantizer) for final pass you must use high vqcomp setting. IMO the best setting is vqcomp=0.75 for low/medium bitrate. You can use lower setting for better vbv compliance at very high bitrate.


Quote:
3- We dropped Mencoder cause some members did report that libavcodec encodings wherent able to be played back on their SAP.
I think it's me_range setting problem. You must use me_range=128 if you want compliant MP@ML stream else stream probaly will be not play on your SAP
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #17  
11-04-2005, 09:50 AM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Just like Divx6 designers decided to limit the usage of GMC to 1way (note: are you sure of that ? I think I see test with 3way GMC on the Divxtest v2 disc - but I may be wrong).
I make encoding in CDR V2 : I use DivX for 1WP part and I use XviD for 3WP part ...

I change 4CC in all stream for simulate DivX stream encoding with 3WP GMC ...
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #18  
11-04-2005, 10:17 AM
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 Sagittaire
I change 4CC in all stream for simulate DivX stream encoding with 3WP GMC ...
???
Do you mean that the stream that are supposed to test SAP compliance with Divx GMC are in fact Xvids ? I don't see the benefit of theses tracks then ?
  #19  
11-04-2005, 10:40 AM
Sagittaire Sagittaire is offline
Free Member
 
Join Date: May 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by Sagittaire
I change 4CC in all stream for simulate DivX stream encoding with 3WP GMC ...
???
Do you mean that the stream that are supposed to test SAP compliance with Divx GMC are in fact Xvids ? I don't see the benefit of theses tracks then ?
MPEG ASP is MPEG4 ASP, XviD are strictly MPEG4 ASP compliant and DivX are strictly MPEG4 ASP compliant ...

In fact GMC sample test is split in 3 part
- first part is MPEG4 ASP without GMC (400 frames) 4CC DX50
- second part is MPEG4 ASP with GMC 1WP (400 frames) 4CC DX50
- third part is MPEG4 ASP with GMC 3WP (400 frames) 4CC DX50

Finally I test 1WP and 3WP SAP compatibility in only one files test.

I make that too for bframe (Packed Bitstream or not) and bitrate crash test ...

If make too all the DivX6 format compatibilty test (here a menu demonstration) or here MPEG2 MP@HL 1280*720*60 compatibilité test
__________________
Le Sagittaire
--------------------
Inutile de discuter avec moi ... j'ai toujours raison ... en tous cas j'en suis convaincu et c'est le principal ...
  #20  
11-04-2005, 11:13 AM
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 Sagittaire
MPEG ASP is MPEG4 ASP, XviD are strictly MPEG4 ASP compliant and DivX are strictly MPEG4 ASP compliant ...
What I do not understand is why my player accept Divx with GMC and not Xvid with GMC in this case. And it is not the only one.
If changing the FOURCC is enought, I don't think there were so much posts on the "surdvd" forum about that (even if I never tested to just change the FOURCC and see what happen).
But MPEG4 is not my cup of tea, so I don't know...

Quote:
In fact GMC sample test is split in 3 part
- first part is MPEG4 ASP without GMC (400 frames) 4CC DX50
- second part is MPEG4 ASP with GMC 1WP (400 frames) 4CC DX50
- third part is MPEG4 ASP with GMC 3WP (400 frames) 4CC DX50
I saw, and BTW this is a good idea.
Closed Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG: Do ffvfw and mencoder/ffmpeg give the same results? Razorblade2000 Video Encoding and Conversion 4 02-06-2004 04:23 PM
FFMPEG: Piping from Mencoder to FFmpeg ak47 Video Encoding and Conversion 7 01-04-2004 04:35 PM
FFMPEG: Mencoder/ffmpeg aspect-ratio tetra Video Encoding and Conversion 10 12-11-2003 11:19 AM
FFMPEG: Another try: mencoder Razorblade2000 Video Encoding and Conversion 14 12-03-2003 01:49 PM
FFMPEG: New script encode2kvcd using ffmpeg/mencoder el_mozo Video Encoding and Conversion 4 11-27-2003 07:25 AM

Thread Tools



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