Quantcast Autoqmatenc, Another Free MPEG2 Encoder - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
06-25-2005, 09:20 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
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...
I thought the same that you !

Cheers,
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
  #22  
06-25-2005, 11:28 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
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 Matrix is for such (non optimal) sources even vey good IMHO.

As you can see there are almost no "low/mid" details in the movie. Its like youre comparing a photography and a diapositive. So as almost all low/mid areas are almost flat, a quantisation is not necessary.
And the "denoising" comes maybe from the last "71" values.

We mainly do use one generic matrix, but sometimes (if you got time and if youre freaky enough) special individual matrixes are the touch of whipped cream on the encoding

We should have a look at that automatrix (Nasa?) generator.
Reply With Quote
  #23  
06-25-2005, 11:39 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Interesting.
Would it then be possible to use a bunch of matrices patched with The Notch in an automatic encoder selection?
Cheers
__________________
Rui
Reply With Quote
  #24  
06-26-2005, 09:07 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
(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

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


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
(/OT)

-kwag
OT
You are right, right, right!!!
Take a look now at the thread and see what happends!!!
End OT
Reply With Quote
  #25  
06-26-2005, 09:39 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
Well, poor guy
He should have read the GPL/LGPL license before doing what he did.
SAPSTAR is obviously violating the license, because after reading that thread and reading his own documents, he has obviously hard coded/linked in avcodec libraries, and that IS a violation to the LGPL license.
So, as I consider now this program to be illegal (for the time being), we will not discuss it here anymore, until the guy straightens it.
I will not let this become another Moviestacker issue, and we will NOT discuss illegal programs on this site. Right now, as it stands, AutoQMatEnc is illegal

End of thread.
Thread will re-open if/when SAPSTAR complies with the license.


(Note: People should be using BSD style licenses. Then none of this would happen, as BSD is truly "FREE", without any "strings" attached )

-kwag
Reply With Quote
  #26  
11-14-2005, 01:55 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
0.31b officially released :

0.31b - 2005/11/11
* Introduced a new version of QMatOp, it should be faster for bitrates higher than 3750kbps
* Added an number of frames autodetection when last_frame = 0 or not specified. (Introduced for DIKO)
* Here is my first template for DIKO (not tested yet)
* Changed the Q range valueof OPV from a linear one to a logarithmic one...it seems to work better with DVDRB.
* Tweaked the RC for OPV
* Corrected a bug in the PPM writing core function, it was discovered by Danpos from the BDVD Team. Thank you for your tests.
* Corrected a major flaw in the QMatOp engine...Some flat matrices were generated in some cases. Thank you oxa for finding it and running many tests.
* Corrected a bug found by Danpos (BDVD Team) : When the AVS script was producing a Field Based movie, the script refused to open. Thanks again to him !!!!
* Corrected minor bugs
* Removed limitations to the QMatOp engine + Adjusted the core formula (better for low bitrates)
* Added a parameter to change the speed of QMatOp (faster means means less precision) tc_ref_frm, default value 0, above 3 not tested.
* Generated matrices are now scan optimized (pure ZigZag or pure Alternate)
* Matrices are curved smoothed with quadrilinear functions.
* Adjusted the rate control
* Corrected the threshold for Ultra Low Bitrates encodes, it takes into account the resolution.
* Adjusted QMatOp to benefit from the quadrilinear interpolation functions...Faster and better.
* Added a remaining time info
* Corrected a bug found by oxa (blinking squares due to a very low quantization)
* Added a new VAF analyzer to assess more accurately the Qmin/Qmax after the first pass.
* Added a min bitrate correction function
* Spikes should be gone at high bitrates !!!!!
* A stupid error in the ECL parsing was corrected (Thank you oxa for this one)
Also EclCreate is a good GUI to AQE.

http://www.vmesquita.com/forum/index...23482#msg23482
Reply With Quote
  #27  
11-15-2005, 01:01 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've been playing a bit this week end with OPV, and I ended in encoding a movie at 704x576, with an average bitrate of 1388, which is what I wanted.

With HC, this movie come almost perfect, but with AQE, there is some very ugly artifact is some very bitrate demanding scene (fire, ghosts, ...).
The final size is almost on target, but BV tell me that in this ugly scenes, the Q rise to 29 during almost 1 minute... With this bitrate, I get spike of 6018 (max bitrate is 8000), so it seems compliant.

I've been encoding yesterday in 2pass, and the complicated scenes are correct. The max. bitrate is around 6000 and the max Q is 5.6, so it seems correct.

I'll have to check the output to see if it looks better than hc, or not.

I should also try quenc, as in 2pass mode, the bitrate allocation is done completly in quenc, and not using libavcodec... (Las time I checked, hc was the clear winner! )

Salu2
Fabrice
Reply With Quote
  #28  
11-15-2005, 01:11 AM
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
the bitrate allocation is done completly in quenc, and not using libavcodec...
I believe it will all still boil down to libavcodec, because QuEnc is just a front end to it, so no matter what front end is used (QuEnc, FreeEnc, WhateverEnc), it's all the same thing, which depends on the same library
Or, am I wrong

-kwag
Reply With Quote
  #29  
11-15-2005, 01:17 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,

As far as I understand (and that's the same for AQE), you can drive the way libavcodec allocates the bits, by modifying parameters, and doing yourself the allocation (that is using libavcodec only encode a frame, and not deciding how many bits it will allocate).
In the case of qenc, Nic uses the xvid algorithm.

I think Phil was doing some test with that (posted in doom9?!).

What is clear is that with a 1388 average target, the max is 6000, so it have to be cheched that with higher average bitrates, there is no problem...

Salu2
Fabrice
Reply With Quote
  #30  
11-15-2005, 02:01 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
OPV is not tweaked still as said SAPSTAR.
He says that already get rid of the spikes over DVD compliant.
Reply With Quote
  #31  
11-15-2005, 08:20 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Wonderful!!!*

Quote:
Originally Posted by Project 1
Target size:* *1996,211562 MB
Obtained size: 1986,7109375 MB
Difference: -0.48 %
Encoding time: 03:15 hs
Encoder: CCE 2.7
Type: OPV
Quote:
Originally Posted by Project 2
Target size:* *1996,211562 MB
Obtained size: 1999,5908203125 MB
Difference: 0.17 %
Encoding time: 09:00 hs
Encoder: CCE 2.7
Type: 3PVBR
Quote:
Originally Posted by Project 3
Target size:* *1996,211562 MB
Obtained size: 1995,8310546875 MB
Difference: -0.02 %
Encoding time: 03:15 hs
Encoder: AQE - QMATOP OFF
Type: OPV
Quote:
Originally Posted by Project 4
Target size:* *1996,211562 MB
Obtained size: 1995,9853515625 MB
Difference: -0.01 %
Encoding time: 09:39 hs
Encoder: AQE - QMATOP OFF
Type: 3PVBR
Reply With Quote
  #32  
11-15-2005, 09:16 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
And now, the quality of both OPV encoding ?

(with snapshot if possible).
Reply With Quote
  #33  
11-15-2005, 10:59 AM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
@fabrice

Hi there!! In your test encoding with AQE, did you turn ON builtin QMatOp or to use a 'custom matrix' like KVCD 'Notch' one ? Because of SAPSTAR's words, the 'low bitrate' mode is optimized for QMatOp turned ON.

BTW, SAPSTAR said me that will work hard on OPV mode using a machine on your work cos he have only 1 machine in your home, which does difficult to do tests on this mode, already he prefers to use your machine for to do multipass development. I hope that more donators come in to do donations and so he gets a new machine to accelerate the development.

Ah, I wanna to report that I found out that AQE works like a charm with RB-Farm in using DVD-Rebuilder for DVD backups. I did a test using my Athlons XP desktop and notebook where I set up a small LAN and all was good. This also was reported at VM.com and D9 boards.

Regards on libavcodec RC: yes, fabrice is correct. Libavcodec is 'the engine' to build a frame. RC and others features are controled by encoder itself and have been tweaked from the beta to beta releases (thanks a several tests done by beta-testers - me one of them )

Ah, and it's great that this topic was re-opened here! Congrats!

Cya!
Reply With Quote
  #34  
11-15-2005, 02:32 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
And now, the quality of both OPV encoding ?

(with snapshot if possible).
I only keep the AQE streams, as CCE is well knowed.
I will post snapshots and another info you ask me (avgbtr by birtateviewer, etc., what you say me). But what is the better method to take a shapshot of same frame (avisynth?).
Reply With Quote
  #35  
11-15-2005, 02:41 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
I've encodeded a short clip of a movie (Donnie Darko - 2004 - Region 4). Besides the DVD, I'd done a MPEG4 backup for watch it on my desktop and on my notebook (mainly when I'm working in 24 HOUR Full time ). For tests purposes only I used this clip from MPEG4 file. OK, lets go to facts:

1 - I used a custom script for such MPEG4 source (nothing special: a deblocker, a denoiser, resize and a finally a sharpner).

2 - I encoded using AQE in OPV mode and chose Q=40 (the purpose is to do a low bitrate encoding). QMatOP is done ON.

3 - After finished the encoding, I used the MPEG2 stream generated on Bitrate Viewer 1.5.054, DVD-Lab Pro 1.0 (which has a tool for analyse the bitrate of MPEG2 videostream) and VirtualDubMod 1.5.4.1 (for average bitrate information that it returns). Lets go to numbers:

3 - Used the MPEG2 stream without to apply the 'pull down' on it:

3.1.1 - Bitrate Viewer 1.5.054:

Peak: 6341 Kbps
Average Bitrate: 1160 Kbps

So, no bitrate spikes at all and the stream is compliant with DVD specs.

4 - Used the MPEG2 stream which was applied the 'pull down' on it (DGPulldown):

4.1.1 - Bitrate Viewer 1.5.054:

Peak: 8048 Kbps
Average Bitrate: 1472 Kbps

4.1.2 - DVD-Lab Pro 1.0 (used the Bitrate Viewer tool present there):

Peak: 8050 Kbps
Average Bitrate: 1920 Kbps

4.1.3 - VirtualDub 1.5.4.1:

Average Bitrate: 1531 Kbps

So, there aren't bitrate spikes over the maximum and the stream is DVD compliant.

I won't present screenshots because the quality is (of course) no good considering the source and Q used. The aim of test was just to do a bitrate analyse in order to see if the output generated was compliant/no compliant with the specs.

Cya!
Reply With Quote
  #36  
11-15-2005, 11:05 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 all,
Quote:
Originally Posted by Prodater64
Wonderful!!!
Quote:
Originally Posted by Project 3
Target size: 1996,211562 MB
Obtained size: 1995,8310546875 MB
Difference: -0.02 %
Encoding time: 03:15 hs
Encoder: AQE - QMATOP OFF
Type: OPV
Quote:
Originally Posted by Project 4
Target size: 1996,211562 MB
Obtained size: 1995,9853515625 MB
Difference: -0.01 %
Encoding time: 09:39 hs
Encoder: AQE - QMATOP OFF
Type: 2PVBR
How encoding time in 2pass mode can be more 3 time higher that OPV mode?!
in OPV mode, you have to make prediction pass, and 2 pass take 2 time the normal encoding time to encode your movie...

With 9 hours, it last longer than hc in 2pass mode, with a similar/lower quality

Quote:
Originally Posted by danpos
@fabrice
Hi there!! In your test encoding with AQE, did you turn ON builtin QMatOp or to use a 'custom matrix' like KVCD 'Notch' one ? Because of SAPSTAR's words, the 'low bitrate' mode is optimized for QMatOp turned ON.
I stick to kvcd matrix for all my encodes, as it give me higher quality, with less blocks and details low at low bitrate encode. and with 2 pass, if the auqlity is the same (prefer to spend a full night encodeing with a perfect size, instead of a mid night encode that I have to reencode...)

Salu2
Fabrice
Reply With Quote
  #37  
11-15-2005, 11:08 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Quote:
Originally Posted by Dialhot
And now, the quality of both OPV encoding ?

(with snapshot if possible).
I only keep the AQE streams, as CCE is well knowed.
I will post snapshots and another info you ask me (avgbtr by birtateviewer, etc., what you say me). But what is the better method to take a shapshot of same frame (avisynth?).
I'm doing it with virtualdub (to copy source frame to clipboard) and mspaint (to paste it and create the jpg file).

Could have a better way, but if you don't compress to much the file, the size is not to much.

Fabrice
Reply With Quote
  #38  
11-15-2005, 11:27 PM
danpos danpos is offline
Free Member
 
Join Date: May 2004
Location: Rio de Janeiro - Brasil
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by fabrice
With 9 hours, it last longer than hc in 2pass mode, with a similar/lower quality
This is because the Multipass mode includes a 'zero-pass' where the VAF file is created (as just as happens with CCE). So, the 2-pass VBR implies to 3 pass in truth, so explaining the time left for 2 pass being 3 times the time left for OPV ...

Regard on custom matrix, the encoder hasn't any problem with them. You can use anyone that you want.

Regard on the artifacts that you saw, could you post a snapshot showing them please ? Just for curiosity, are you using the last official release ?

Cheers,
Reply With Quote
  #39  
11-17-2005, 12:55 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,

So it's more a 3 pass encoding. Wouldn't it be enough to do a 2 real pass (1 for VAF and the other for encoding?)?

About the artifacts: these are the norma artifact that you get when you have a Q of 29, with low bitrate (blocks, and mosquitos).
In bitrate viewer, you can see when the Q becomes crazy.

And my test has been done with last official version (0.31b).

If you really want too, I can post picure and BV screenshot when the Q rise til 29, but as I said before, I'll stick to hc, as AQE don't make better the speed or the quality of hc.

Salu2
Fabrice
Reply With Quote
  #40  
11-17-2005, 07:10 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by fabrice
I'll stick to hc, as AQE don't make better the speed or the quality of hc.
Salu2
Fabrice
I think also than HC is better quality.
Maybe we could compate AQE CQ mode with HC 2PVBR, quality wise.
As CQ mode is a lot quicker than HC.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KDVD: Native Windows XP 64 bit mpeg2 encoder swr1973 Video Encoding and Conversion 2 04-20-2006 02:09 PM
HCenc: HC_Batch 0.15 problems on mpeg2 ENcoder sparskter Video Encoding and Conversion 31 08-24-2005 05:38 PM
Where can get FREE MPEG-2 encoder for KDVD in TMPGEnc? lbhl Video Encoding and Conversion 6 07-05-2005 02:03 AM
Han probado este encoder AutoQMatEnc? parkata Convertir y Codificar Video (Español) 2 06-21-2005 06:59 PM
New free AC3 encoder! vmesquita Video Encoding and Conversion 7 10-17-2003 10:52 AM

Thread Tools



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