digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   AutoQMatEnc, another free MPEG2 Encoder (http://www.digitalfaq.com/archives/encode/13597-autoqmatenc-free-mpeg2.html)

Abond 06-20-2005 08:46 AM

AutoQMatEnc, another free MPEG2 Encoder
 
Read details here:
http://forum.doom9.org/showthread.php?t=96073
Recently there are too many free mpeg2 encoders :D

rds_correia 06-20-2005 08:55 AM

Hi Abond :),
Yes indeed but they all come from the same "place":
Quote:

MPEG2 Encoder using a part of libavcodec
SAPSTAR doesn't mention if he's done any improovements on the vbv underflows such as Peter Cheat did but I wouldn't bet on it...
Cheers

kwag 06-20-2005 10:18 AM

Avcodec's code is already too "FUBAR" :!:
I agree with you Rui. I think all spikes and glitches will be "inherited" on that encoder too, as it comes from the same "place" :lol:
I also agree with you Abond, that there are too many encoders from the same source tree. Kinda looking like Linix distros, which are all the same dog (kernel), dressed with different collars :hihi:

-kwag

AlexandreBH 06-20-2005 12:32 PM

from the same place,from the same tree,the same dog,dressed with different collars... 8O
yes,bad fruits came from bad trees that are in bad terrain mascarade with bad remedy.......let the dog :P (oh poor little dog) out(i'm veterinary)
now i understand what one friend of mine told me about that place! :roll:

can someone answer me? why they love libavcodec? have something using libavcodec working fine? :?

you forgot this part Kwag:
build from the same "people" with the same bugs (or worse)! :lol:

rds_correia 06-20-2005 04:45 PM

Hi Alexandre :),
Actually I am convinced that (even though I haven't tested it) it must do a good job on MPEG-4.
Otherwise there wouldn't be such a fuss about Mplayer/FFMpeg/LibAVcodec on the internet.
Unfortunately it's still under-developped for what we need in MPEG-1/MPEG2.
Maybe one day...that is, if MPAA or RIAA don't shut them off.
But this is just me guessing because I've never tried MPEG-4 with libavcodec.
Cheers

Abond 06-21-2005 02:24 AM

Well, I tested it with DVD-RB. The output looks fine.

Dialhot 06-21-2005 02:53 AM

Quote:

Originally Posted by Abond
The output looks fine.

I think you still do not understand the difference between looking good and beeing good.

Abond 06-21-2005 04:56 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Abond
The output looks fine.

I think you still do not understand the difference between looking good and beeing good.

Can you enlighten me, if you think you know it better than me?
Did you make some test, or only want to point out that you know everything better?

Dialhot 06-21-2005 05:11 AM

You can read all my comments about mencoder for instance but to have a quick overview : a stream that does not repect the bitrate limitation, that will be refused by a lot of authoring app, that will make to jerk a majority of standalone players is not good.

Nothing that uses libavcodec for the moment* can be considered as good (in word of MPEG2 compliancy) even if it looks good (in word of beauty of the picture).

Note: but perhaps you gave an other meanings to the word 'looks' in your last post ? It can have several meanings.

* I did not check Peter's patch.

Abond 06-21-2005 05:59 AM

Quote:

Originally Posted by Dialhot

Note: but perhaps you gave an other meanings to the word 'looks' in your last post ? It can have several meanings.

Yes. Should be "seems to be fine". Do not forget that DVD-RB will re-author everything as DVD - then at least one authoring tool did not reject it.

Dialhot 06-21-2005 07:11 AM

Quote:

Originally Posted by Abond
Yes. Should be "seems to be fine". Do not forget that DVD-RB will re-author everything as DVD - then at least one authoring tool did not reject it.

As others (DVD-Lab for instance). But the final word is given to the standaloneS. Some suffer with too low bitrates, a lot suffer with too hight peaks (and this can damage the player BTW - even if this is probably a urban legen that I never faced personally).

Edit: just to know, how do you use an other encoder that the ones supported in DVD-RB ?

Abond 06-21-2005 08:01 AM

Download the package and read the readme - it is quite clear. Shortly - for DVD-RB it appears as CCE 2.70(and even use .ecl files as input). So you simply point the DVD-RB to AutoQMatEnc instead to CCE 2.70.

Dialhot 06-21-2005 08:55 AM

I didn't even read it yet :)

Be carefull BTW : it uses an automatic quant matrix. this should/must not be used when doing KDVD.

Abond 06-21-2005 09:13 AM

Quote:

Originally Posted by Dialhot
Be carefull BTW : it uses an automatic quant matrix. this should/must not be used when doing KDVD.

Sure. The matrix is changed automatically - then it is not KDVD.
But you must activate this feature - otherwise it will use constant matrix (though I don't know which one)

Dialhot 06-21-2005 09:39 AM

Quote:

Originally Posted by Abond
otherwise it will use constant matrix (though I don't know which one)

If it manages all feature of CCE, you can provide a matrix in the ecl. But it's not sure this has been implemented.

danpos 06-25-2005 07:58 PM

A full encodin test with AQE
 
RESULTS FOR A FULL ENCODING

DVD source: Harry Potter and the Chamber of Secrets (4:3 FULLSCREEN)

Project .d2v generated by DVD2AVI 1.77.3 (by LOLI.J)

ECL file generated by ECLCCE 1.81 (by robot at D9)

In ECL file were configurated:

1 - Built-in QMatOp in encoder enabled putting the "adjust_q_matrix=1" "by hand" in ECL file

2 - Min Bitrate: 300 kbits/s

3 - Max Bitrate: 8000 kbits/s

4 - Average Bitrate: 2876 kbits/s (Calculated through Calcumatic by Kwag at kvcd.net)

5 - Mode: 2 passes VBR

Q-Mats gererated by AQE (in "0 - zero - pass", through DCTune by NASA):

Code:

8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 24
8 8 8 8 8 8 9 24
8 8 8 8 8 10 25 38
8 8 8 8 24 25 41 45
8 8 8 24 26 71 71 71
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 17
16 16 16 16 16 16 17 17
16 16 16 16 16 17 17 18

Expected video filesize: 3538348 KB (estimated by Calcumatic)

Video filesize generated by AQE in 2 passes VBR : 3846201 KB

Script .avs used:

Code:

MPEG2Source("D:\Compilation\SCRIPTS\harrypotter_chamberofsecrets.d2v",cpu=4,idct=6)
SCREENSHOTS

A - Video file .m2v generated by AQE

http://www.digitalfaq.com/archives/error.gif

http://www.digitalfaq.com/archives/error.gif

http://www.digitalfaq.com/archives/error.gif

B - Original DVD

http://www.digitalfaq.com/archives/error.gif

http://www.digitalfaq.com/archives/error.gif

http://www.digitalfaq.com/archives/error.gif

(The screenshots were captured with native tool in WinDVD and were compressed im jpg by one itself - I don't do any interference as rezise, compression quality etc)

CYA!

kwag 06-25-2005 08:13 PM

Re: A full encodin test with AQE
 
Quote:

Originally Posted by danpos

Code:

8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 24
8 8 8 8 8 8 9 24
8 8 8 8 8 10 25 38
8 8 8 8 24 25 41 45
8 8 8 24 26 71 71 71
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 16
16 16 16 16 16 16 16 17
16 16 16 16 16 16 17 17
16 16 16 16 16 17 17 18


That's a pretty weird (flat), non optimal matrix :roll:
I can't even begin to imagine all the frequencies that are being lost.
Quote:


Expected video filesize: 3538348 KB (estimated by Calcumatic)

Video filesize generated by AQE in 2 passes VBR : 3846201 KB
~300MB off :?:
It's WAY off target for a 2-pass encoder :!: :!:

-kwag

Dialhot 06-25-2005 08:41 PM

That's true that this matrix is really weird. But the encoded snapshot are very good. And the frequency loss acted as a denoiser (very clear on the third frame). Funny...

kwag 06-25-2005 09:10 PM

(OT)
And talk about doom9 preachings, I just read that thread where SAPSTAR is obviously violating GPL, because he really didn't understand the license.
Welcome to the real (GPL) world :D

In his own words:

" - I removed the GPL licence file
- I don't plan to release the sources until a certain time"
http://forum.doom9.org/showthread.php?t=96073

:mrgreen:
He removes the text file, and thinks that's good enough!
Of course if it was Moviestacker, they would all be raising hell.
But I guess as long as it's "produced" at their site, they can all cover that up :roll:
(/OT)

-kwag

kwag 06-25-2005 09:13 PM

Quote:

Originally Posted by Dialhot
And the frequency loss acted as a denoiser (very clear on the third frame). Funny...

Yes indeed!
But that frame is mostly flat surfaces, so I wonder how some sharp details (trees, branches, etc.) will look. Based on those numbers, they will probably suffer heavily.

-kwag


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.