View Full Version : AutoQMatEnc


SAPSTAR
29th June 2005, 15:40
AutoQMatEnc 0.31b - SAPSTAR - WWW.Doom9.org
MPEG2 (Video Only) Encoder

Characteristics :

- Use same ECL Files than CCE SP Trial
- Read any AVS script by using directly avisynth.dll
- Built-In advanced QMatOp technology - Activated by adding adjust_q_matrix=1 in ECL
or CCEAQM=1 in the REBUILDER.INI file for DVDRB users.
- MultiPass enabled - Above 4 passes is close from useless but can be performed
- Part of CCE Simple Settings (Animation/CG/Natural) taken into account
Recommended for Anime (Animation) and old movies (Natural)
- QMatOp phase not reprocessed but detected if encode cancelled once finished.
- Pass 1 not reprocessed if already done.
- MPEG2 Encoder using a part of avcodec.dll : libavcodec is released under the LPGP.
You can get a copy of the LGPL at http://www.gnu.org/copyleft/lesser.txt
and download the source from the ffmpeg homepage http://ffmpeg.sourceforge.net/download.php.

Installation/Configuration :
Download it from : The web Site provided by BadServo : http://www.autoqmatenc.com/
Install it anywhere then use AutoQMatEnc.exe instead of CCE SP Trial.

DVDRB users : just make DVDRB point to it instead of CCE SP.

NON DVDRB users : To create your own ECL file you can use CCE SP Trial with ECLCCE.

Greetings :
- FishMan0919 for all his support, ideas, help in debugging, tests.
- BadServo for his tests, ideas, comparisons and file hosting.
- Axlemar for his very detailed tests on high speed animations.
- The BDVD team for their support and help. (www.vmesquita.com)
- Doom9 for his help in writing properly the licensing text.
- Danpos for his constant support/help !
- Oxa for his many tests/patience :).
- donators (http://www.vmesquita.com/forum/index.php?topic=4807.0)
Changes History:
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)
0.30b - 2005/09/21
- Corrected the max value for Quantization, it was too low sometimes causing
some stuttering or some rate control errors.
- many OPV improvements
- Improved the multipass rate control.
(For DVDRB users, you should keep the default value for CCETargetSectors,
DVDRB seems to oversize by itself.)
- Corrected a bug discovered by Prodater64,Zyphon and Danpos from the BDVD team,
the matrix in the ECL file was not correctly taken into account.

Axlemar
29th June 2005, 16:33
Great, I can't wait to play around with it.

Carpo
29th June 2005, 17:24
i will try it on joss stone dvd just hope it dont stutter like 0.23b did on tru lies :( - but we shall see after i have done from hell

Wheelie4
29th June 2005, 17:32
I have never tried DVD-RB yet since I've always chosen to remove all extras and unneeded audio (keeping Movie + Menu's only) for my backups. I just installed DVD-RB free version and AviSynth2.5 to try. Do I need to install anything CCE related to try AutoQMatEnc? Thx for any info provided (no matter how detailed the replies may come ;) )

Carpo
29th June 2005, 17:35
nope all you need to do is point dvd-rb to the exe for AQE - think its in the cce new box and adding either adding adjust_q_matrix=1 in ECL
or CCEAQM=1 in the REBUILDER.INI file to the respective files - bearing in mind its adds another pass onto the encode as it checks each gop so if you have say vaf+2 (3 in cce part of dvd-rb) it will do 4 passes - may take longer than other encoders but the quality is good

Wheelie4
29th June 2005, 17:55
Thx alot Carpo. I chose to add CCEAQM=1 to the .ini file since I do not have Procoder either. As for vaf+2 stuff, it's all new to me so haven't associated the encode lingo to actually whats going on since I've never read up on compressing technics. But in time I'll learn hopefully. :)

BTW, should CCEAQM=1 be placed under [Option] or under [CCEoptions] in the .ini?

BadServo
29th June 2005, 17:57
It shoudl be under the [OPTIONS] area.

Wheelie4
29th June 2005, 17:59
It shoudl be under the [OPTIONS] area.
Done, thx. ;) Now to figure out ECLcreate so I don't need to install ECLCCE.

Also, Am I missing something? I do not see an option in DVD-RB to try HC. but it's in DVD-RD dir.

Axlemar
29th June 2005, 19:43
I heard that CCEAQM might not work in the free version.

Carpo
29th June 2005, 19:47
Done, thx. ;) Now to figure out ECLcreate so I don't need to install ECLCCE.

Also, Am I missing something? I do not see an option in DVD-RB to try HC. but it's in DVD-RD dir.


if you have cce basic you dont need eclcce - you only need that if you are using a trial version of cce - and for 60$ you could buy it although its not needed if your using AQE


About the HC option i think you have to point dvd-rb (if your using free version) to it in another box - cant remeber off the top of my head which it is - you could donate a few $$$ and get the pro version of dvd-rb :)

MaDxCrEaM
29th June 2005, 20:57
Thanks Sapstar, been waiting for this!!

Wheelie4
29th June 2005, 21:15
Thx for the help Carpo. I found latsilva's program (ECLCreate) hoping it eliminates need of anything CCE related software. I don't feel I'll require compressing enough backups to warrant paying for CCE. Just tinkering (experimenting) now, but If I can learn to use DVD-RB okay I'll donate and go pro.

Update:
Ok, since CCEAQM doesn't work in free version I'm off to donate for pro version.

Fishman0919
29th June 2005, 21:25
I heard that CCEAQM might not work in the free version.

No, CCEAQM doesn't work with DVD-RB Free ver

Wheelie4
29th June 2005, 23:56
Got Rebuilder's Pro version now. Soon as I figure out latsilva's program (ECLCreate) I'll give AutoQMatEnc a try. :)

Fishman0919
30th June 2005, 00:50
Got Rebuilder's Pro version now. Soon as I figure out latsilva's program (ECLCreate) I'll give AutoQMatEnc a try. :)

Well, you don't need ECLCreate to use AutoQMatEnc with DVD-RB, just put CCEAQM=1 under [Options] in you rebuilder.ini file in you DVD-RB PRO dir...

[Options]
Mode=1
OneClick=1
ReduceOpt=2
NoWarn=1
AdditionalOutput=1
LogFile=1
Q_sample_percentage=6
CCEAQM=1
QuEncHQ=1
EncoderMinimized=0
RemoveDTS=1
Skin=Rockas Original
HC_Quality=3
HC_Matrix=1
SkinVersion=5
CCE=3
HalfD1=00
Convert_16_9=00
DisableInterlace=00
iDCT=7
QuEncScene=1
DCPrec=3
MainMatrix=Encoder Default
Completed=246
HalfExtras=0

Then in DVD-RB under Option, setup, point to the AutoQMatEnc.exe under Path to CCE SP(New)

Axlemar
30th June 2005, 02:34
Ok, I am having the same problem I had with the previous releases. When I encode any movie so far using the newest beta avisynth, I get the corruption issue stated in other threads that can only be fixed by using a newer dgdecode that rebuilder doesn't support yet, but I get the correct filesize when I do use it. If I use the stable 2.55 avisynth then I don't get the corruption issue but the expected and actual filesize is way off and I get a couple hundred megs undersized in the end. For both I am using the newest rebuilder pro with the dgdecode provided with it and 3 passes without messing with any of the default settings for matrix of gop or anyhting, just idct is 64 float.

SAPSTAR
30th June 2005, 11:22
Ok, I am having the same problem I had with the previous releases. When I encode any movie so far using the newest beta avisynth, I get the corruption issue stated in other threads that can only be fixed by using a newer dgdecode that rebuilder doesn't support yet, but I get the correct filesize when I do use it. If I use the stable 2.55 avisynth then I don't get the corruption issue but the expected and actual filesize is way off and I get a couple hundred megs undersized in the end. For both I am using the newest rebuilder pro with the dgdecode provided with it and 3 passes without messing with any of the default settings for matrix of gop or anyhting, just idct is 64 float.
What movie ?? kind of movie ??? Compression ratio ??? (I'll precise to use avisynth 2.55, as my interface to avisynth was tested/developped with 2.55)Did you try 4 passes ?? (sometimes it solves sizing issues on very dark movies)
[EDIT] If you don't have any sizing issue when not using the correct avisynth that's perfectly normal, the picture to encode is not the real one but some kind of noise...so many details to encode that the sizing can't be wrong
Underszing can occur on movies with low details movies: Animations, Very dark movies, ... a 4th pass should may solve this issue. And in many case, the picture won't be better ...because there are so few details to encode that the first size was enough...

Carpo
30th June 2005, 11:29
Ok, I am having the same problem I had with the previous releases. When I encode any movie so far using the newest beta avisynth, I get the corruption issue stated in other threads that can only be fixed by using a newer dgdecode that rebuilder doesn't support yet


theres your prob beta versions of progs will be buggy (thats why they are beta) - cept M$ (thats always buggy nuff said :D) - best to use stable 2.55 till dvd-rb is updated to use the newer dgdecode - think jdobbs was on about updating the support but not too sure on that - maybe he has in v1.00 of dvd-rb we'll just have to wait and see

alfixdvd
30th June 2005, 13:16
At what bitrate range AutoMatEnc it gives the best of itself, below 2000 or upside ?

Carpo
30th June 2005, 14:02
- Reduction Level for DVD-5: 55.3%
- Overall Bitrate : 3,210Kbs
- Space for Video : 3,344,648KB
- HIGH/LOW/TYPICAL Bitrates: 3,541/1,669/3,210 Kbs

im giving sapstars encoder a real good test - even keeping all the extras and dts audio - its not looking too bad atm, thats being said i try and never go below 3000Kbs for any release - cus if you look at it as

vcd = 1150
svcd = 2550 - think

if you go that low you might aswell rip it as a svcd or vcd ;)

SAPSTAR
30th June 2005, 14:32
At what bitrate range AutoMatEnc it gives the best of itself, below 2000 or upside ?
In my own tests I tried very low bitrates...for example, with LOTR ROTK, the avg bitrate is close from 2000, and I had amazing results...I'm always trying to optimize it for low, or ultra low bitrates as I think it's the most current usage....I even tried to encode LOTR ROTK on half a DVD (so the AVG bitrate was close from 1000, and I had surprisingly good results for that bitrate...)
[EDIT] HalfD1 with bitrates < 1000 gave me amazing results ! (but it's slower as the ultra low engines engaged)

Axlemar
30th June 2005, 16:44
yeah, mine was an animation with a final output size of 3.97. Compression ratio was 77.6 (meaning less than 30%) and I did 3 passes in cce settings.

Wheelie4
30th June 2005, 17:02
Well, you don't need ECLCreate to use AutoQMatEnc with DVD-RB, just put CCEAQM=1 under [Options] in you rebuilder.ini file in you DVD-RB PRO dir...

[Options]
Mode=1
OneClick=1
ReduceOpt=2
NoWarn=1
AdditionalOutput=1
LogFile=1
Q_sample_percentage=6
CCEAQM=1
QuEncHQ=1
EncoderMinimized=0
RemoveDTS=1
Skin=Rockas Original
HC_Quality=3
HC_Matrix=1
SkinVersion=5
CCE=3
HalfD1=00
Convert_16_9=00
DisableInterlace=00
iDCT=7
QuEncScene=1
DCPrec=3
MainMatrix=Encoder Default
Completed=246
HalfExtras=0

Then in DVD-RB under Option, setup, point to the AutoQMatEnc.exe under Path to CCE SP(New)

It's just that simple? Install AutoQMatEnc, add CCEAQM=1 under [Options], point to the AutoQMatEnc.exe under Path to CCE SP(New) and start encoding? No need to install any CCE software or EclCCE?

Wheelie4
30th June 2005, 17:08
nope all you need to do is point dvd-rb to the exe for AQE - think its in the cce new box and adding either adding adjust_q_matrix=1 in ECL
or CCEAQM=1 in the REBUILDER.INI file to the respective files - bearing in mind its adds another pass onto the encode as it checks each gop so if you have say vaf+2 (3 in cce part of dvd-rb) it will do 4 passes - may take longer than other encoders but the quality is good

Any way to reduce the passes to less than 4? I only have 8 hours max of computer time per day and can't leave it running outside that timeframe.

SAPSTAR
30th June 2005, 17:13
yeah, mine was an animation with a final output size of 3.97. Compression ratio was 77.6 (meaning less than 30%) and I did 3 passes in cce settings.
For "clean" animations...I would try a 4th pass (for sizing reasons)....but I have to improve the rate control anyway for this kind of cases....

Fishman0919
30th June 2005, 18:05
It's just that simple? Install AutoQMatEnc, add CCEAQM=1 under [Options], point to the AutoQMatEnc.exe under Path to CCE SP(New) and start encoding? No need to install any CCE software or EclCCE?

Ah, pretty much yes... just make sure you pick CCE Mode under "Mode" and CCE SP Trial under Options, CCE Options

Wheelie4
30th June 2005, 19:40
Ah, pretty much yes... just make sure you pick CCE Mode under "Mode" and CCE SP Trial under Options, CCE Options

In setup I pointed CCE SP(New) to AutoQMatEnc.exe as told to so in Options>CCE Options shouldn't I select CCE SP instead?

Axlemar
30th June 2005, 20:09
I ran an 8 pass on the animation and the ratios are still quite off. Its cool, I can wait for a rate control.

Fishman0919
30th June 2005, 20:14
In setup I pointed CCE SP(New) to AutoQMatEnc.exe as told to so in Options>CCE Options shouldn't I select CCE SP instead?

No, CCE SP Trial ;)

Wheelie4
30th June 2005, 20:29
No, CCE SP Trial ;)

Kewl, thx alot. :D

Carpo
30th June 2005, 23:26
I ran an 8 pass on the animation and the ratios are still quite off. Its cool, I can wait for a rate control.


other versions are being tested all the time and the rate control is getting better all the time :D

Carpo
30th June 2005, 23:30
Any way to reduce the passes to less than 4? I only have 8 hours max of computer time per day and can't leave it running outside that timeframe.

ye under cce advanced options drop the passes down - i only used 4 due to the length of the dvd and the compression used

2= vaf+1 pass
3= vaf+2 pass
and so on - although i have been told that the vaf is a pass in its own right so its up to you to decide really

Wheelie4
1st July 2005, 00:40
OK thx Carpo. You and Fishman0919 has been a big help. Under Options>CCE Options>Advanced(Expert)Settings, VBR_Passes is already set on 2 (the lowest choice available). So I'm assuming with it set on 2 that would total 3 passes using AutoQMatEnc.

Thanks alot. :) LOL I tried doing a Movie + Menu only today with No Compression (100% Video) just as a test using DVD-RB but I think me external firewire hard drive chocked on me during the 3rd Phase (Rebuild). I got a taskbar popup bubble saying something like a Write failed error with some $'s or something like that and Rebuild shut down. :(

2COOL
1st July 2005, 04:25
I gave AutoQMatEnc a try today with Futurama Vol 1 Disc3 R1. I started with 5.19 GBs and at the end, I ended up with 2.77 GB. Even though that's a big drop, it still looked great though! I kept all audios and subs.

First, of all I had used DVDRB free version 0.93 with AutoQMatEnc 0.24b. Do I have to exclusively use DVDRB Pro? There is no mention of using it in the homepage? Anyways, the free version works.

I inserted CCEAQM=1 in my [Options] in rebuilder.ini ...

[Options]
SkinVersion=3
CCE=3
EncoderMinimized=1
RemoveDTS=1
OneClick=1
HalfD1=0000
Convert_16_9=0000
DisableInterlace=0000
Completed=11
ReduceOpt=1
Reminder=10
CCEAQM=1
[CCEOptions]
VBR_bias=25
Quality_prec=16
eclPasses=3
[Paths]
CCENEW=C:\Program Files\AutoQMatEnc\AutoQMatEnc.exe
MPEG2DEC=C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3dg.dll
DECOMB=G:\DVD_Tools\Decomb\5.1.1\Decomb511.dll
Source=C:\FUTURAMA_S1_D3\
Working=G:\FUTURAMA\
Output=G:\FUTURAMA\
[Audio]
Selected=10011
[Subpictures]
Selected=11

...but, I got this error in log.
ECL File parsed
Working Directory : G:\FUTURAMA\D2VAVS
Warning!! The QMatOp builtin feature is not enabled -
DVDRB Users : CCEAQM=1 is missing in the Rebuilder.ini file for it to be enabled.
Others : adjust_q_matrix=1 must be set in your ECL file.
Pass 1/3
Accessing Avisynth....
Creating the Script Env
Done


I have CCE SP trial selected and AutoQMatEnc.exe in my CCE SP (new). What am I doing wrong in why I'm getting proper sizing?

BTW, thanks SAPSTAR for this wonderful tool. :)

[EDIT]According to the readme.txt, I can edit the ECL file "OR" Rebuilder.ini. I chose the latter. But in my log, I MUST add "adjust_q_matrix=1" in my ECL.

3 questions

1. Do I still have to?
2. Which ECL file? Item or rebuilder.ecl?
3. How do I open it to edit it?

Built-In advanced QMatOp technology - Activated by adding adjust_q_matrix=1 in ECL
or CCEAQM=1 in the REBUILDER.INI file for DVDRB users.

Axlemar
1st July 2005, 05:20
The free version doesn't support CCEAQM=1 and the encoder seemes heavily tweaked for low bitrates right now.

2COOL
1st July 2005, 05:36
The free version doesn't support CCEAQM=1 and the encoder seemes heavily tweaked for low bitrates right now. Figured so but shouldn't this important tidbit along with common underflows in first passes be properly documented in the readme.txt? Though, I've been here for a long time, I'm starting as a newbie with this new tool.

gigah72
1st July 2005, 06:46
i saw in my test encode the same like 2cool, i'm also useing the free version of rb, what makes me wonder a little, is that the change log for 0.24b says this:
- Default value for adjust_q_matrix is now 1, so that if nothing is specified QMatOp is enabled.
i understand this, that now there should be NO need to change rebuilder.ini or the ecl file to add this setting?
i use under CCE options "CCE SP" and not "CCE SP Trail", just like written in the readme.
this is contrary to that someoen said here. what is correct now, or is it the same in the end?

Carpo
1st July 2005, 08:06
The free version doesn't support CCEAQM=1 and the encoder seemes heavily tweaked for low bitrates right now.


that is a limit of cce not dvd-rb - you could always get a trial version of cce sp and use eclcce :)

Carpo
1st July 2005, 08:09
Figured so but shouldn't this important tidbit along with common underflows in first passes be properly documented in the readme.txt? Though, I've been here for a long time, I'm starting as a newbie with this new tool.


The underflows are being worked on - i have a test version where i only had 2 underflows over the entire dvd, the overflows are normal its just a working saying there could be an overflow and is norm fixed in the 2nd pass

Fishman0919
1st July 2005, 15:24
@2COOL,

You can change all the adjust_q_matrix=0 to adjust_q_matrix=1 in the dvd-rb REBUILDER.ECL (the item.ecl is just for the 1 segment being encoded) with notepad and that will work but you got to run dvd-rb in 3-click mode.

Like Carpo said the underflows are norm for the 1st pass and 99% if not all of them will be fixed in the 2nd pass.... I like doing at lease 3 passes with AQE now to help with sizing.

P.S.: For Animation movies edit the REBUILDER.ECL and change all the h_filter=0 to h_filter=1... it a built in setting to help with quality with Animation, it also can help with the sizing.

Fishman0919
1st July 2005, 16:19
i saw in my test encode the same like 2cool, i'm also useing the free version of rb, what makes me wonder a little, is that the change log for 0.24b says this:
- Default value for adjust_q_matrix is now 1, so that if nothing is specified QMatOp is enabled.
i understand this, that now there should be NO need to change rebuilder.ini or the ecl file to add this setting?
i use under CCE options "CCE SP" and not "CCE SP Trail", just like written in the readme.
this is contrary to that someoen said here. what is correct now, or is it the same in the end?


Yes but DVD-RB free ver puts adjust_q_matrix=0 in the ecl files... that shuts qmatop off......use CCE SP Trail, the ecl file is a little diff between CCE SP and CCE SP Trial.

Wheelie4
1st July 2005, 17:08
I gave AutoQMatEnc a try today with Futurama Vol 1 Disc3 R1. I started with 5.19 GBs and at the end, I ended up with 2.77 GB. Even though that's a big drop, it still looked great though! I kept all audios and subs.

First, of all I had used DVDRB free version 0.93 with AutoQMatEnc 0.24b. Do I have to exclusively use DVDRB Pro? There is no mention of using it in the homepage? Anyways, the free version works.

I inserted CCEAQM=1 in my [Options] in rebuilder.ini ...


...but, I got this error in log.


I have CCE SP trial selected and AutoQMatEnc.exe in my CCE SP (new). What am I doing wrong in why I'm getting proper sizing?

BTW, thanks SAPSTAR for this wonderful tool. :)

[EDIT]According to the readme.txt, I can edit the ECL file "OR" Rebuilder.ini. I chose the latter. But in my log, I MUST add "adjust_q_matrix=1" in my ECL.

3 questions

1. Do I still have to?
2. Which ECL file? Item or rebuilder.ecl?
3. How do I open it to edit it?

WOW! I gotta say this. After all the DVD editing guides 2COOL has written (many I've learned from), and seeing that he's asking these question. I now don't feel so bad having to ask the same questions the past few days as a newcomer to DVD-RB Pro and encodeing with AutoQMatEnc. Although he'll robably grasp this quicker than I. ;) LOL, just today I finally figured out the ECL file is created in D2VAVS folder during Phase I (Prepare). Had no idea where the heck it was hiding. :D

2COOL
1st July 2005, 19:12
@Fishman0919

Yes but DVD-RB free ver puts adjust_q_matrix=0 in the ecl files... that shuts qmatop off......use CCE SP Trail, the ecl file is a little diff between CCE SP and CCE SP Trial.Even if I use CCE SP Trial, it still inputs an "adjust_q_matrix=0". :( I'll will get the pro version after I hopefully get my Paypal account fixed.

Wheelie4
1st July 2005, 19:17
I'm running AutoQMatEnc on a movie now. In the Dos window I keep seeing Target Perceptual Error as info scrolls. Is that normal?

I also see Warning, QMAT_SHIFT is larger than 21, overflow possible. Normal?

Fishman0919
1st July 2005, 19:20
@Fishman0919

Even if I use CCE SP Trial, it still inputs an "adjust_q_matrix=0". :( I'll will get the pro version after I hopefully get my Paypal account fixed.

Yes, this is one of the benny's of having the Pro ver of DVD-RB... with DVD-RB Free Ver the only way is to edit the ECL file after the "Prepare" phase.

I'm running AutoQMatEnc on a movie now. In the Dos window I keep seeing Target Perceptual Error as info scrolls. Is that normal?

I also see Warning, QMAT_SHIFT is larger than 21, overflow possible. Normal?

Yes, Target Perceptual Error is DCTune2.0 % of error with the Optimizied matrix for the GOP being processed at the max compresstion with the given bitrate ... Warning, QMAT_SHIFT is larger than 21, overflow possible...that is norm and it's just AQE adjusting the matrix.

2COOL
1st July 2005, 19:25
Yes, this is one of the benny's of having the Pro ver of DVD-RB... with DVD-RB Free Ver the only way is to edit the ECL file after the "Prepare" phase.In the meantime, do you get a consistent 4.32 GB end size like how I get with using CCE? Or does it fluctuates since AutoQMatEnc is still in its earlier stages?

Wheelie4
1st July 2005, 19:26
Yes, that is norm... AQE is adjusting the matrix.

Ahhh, thx. :) It's a bit slower process than I expected. An hour in and only at 7.7% (only at segment 7 of 26 segments of VTS_01). Knowing me I've got something set wrong hehe.

Fishman0919
1st July 2005, 19:30
In the meantime, do you get a consistent 4.32 GB end size like how I get with using CCE? Or does it fluctuates since AutoQMatEnc is still in its earlier stages?

I just ran 3 movie with AQE and all came in at 4.33g ( The Pacifier, Suspect Zero and Family Guy Season 1&2 Disc 3)

Fishman0919
1st July 2005, 19:33
Ahhh, thx. :) It's a bit slower process than I expected. An hour in and only at 7.7% (only at segment 7 of 26 segments of VTS_01). Knowing me I've got something set wrong hehe.

No, that sounds about right.. I'm running a AMD 64 3700+ OC and with QmatOp on it's about a 5-6 hr encoding process... without QmatOp on AQE is about the same speed as QuEnc

Wheelie4
1st July 2005, 19:41
Ohhhhhhhhhhhhh! I for some reason was thinking along the lines of 2 to 2 1/2 hour process. I asume QmatOp is on. Although thinking back on my couple uses of TmpgEnc, it took atleast 4 to 7 hours encoding vid clips to mpeg2 for dvd authoring. I'm running P4-M, 2.2Ghz, 500mb ram.

Fishman0919
1st July 2005, 19:46
Ohhhhhhhhhhhhh! I for some reason was thinking along the lines of 2 to 2 1/2 hour process. I asume QmatOp is on. Although thinking back on my couple uses of TmpgEnc, it took atleast 4 to 7 hours encoding vid clips to mpeg2 for dvd authoring. I'm running P4-M, 2.2Ghz, 500mb ram.

AQE is a great encoder and amazing on Full Disc backups and low bitrates but it's an over nite process for now..... but things do change ;)

Carpo
1st July 2005, 20:00
AQE is a great encoder and amazing on Full Disc backups and low bitrates but it's an over nite process for now..... but things do change ;)


no s**t - one dvd i did took 19 hours but it was 2h 30mins and i did have 4 passes with UnDot().Deen() so thats prob why i use BlindPP(cpu2="xxxxxx") now and seems to give same results and a little bit less time :)

Fishman0919
1st July 2005, 20:07
no s**t - one dvd i did took 19 hours but it was 2h 30mins and i did have 4 passes with UnDot().Deen() so thats prob why i use BlindPP(cpu2="xxxxxx") now and seems to give same results and a little bit less time :)

Maybe you should try something like "mpeg2source("C:\Test\test.D2V",idct=7,cpu=6)" instead but read this from the DGDecode guide

BlindPP() should not be used when the video is opened using the
MPEG2Source() function, because its postprocessing options will work better. Typically BlindPP() is used when opening the video with AviSynth's AviSource() or DirectShowSource().

cpu=6 and cpu2="xxxxxx" are really the samething

Wheelie4
1st July 2005, 20:25
While using AQE, during Phase II (encoding) is it possible to stop/pause halfway through and save your process, shutdown and continue the next day?

Fishman0919
1st July 2005, 20:53
While using AQE, during Phase II (encoding) is it possible to stop/pause halfway through and save your process, shutdown and continue the next day?

Yes, just like with any other encoder that works with DVD-RB... DVD-RB when restarted will ask you if you would like to start form the last completed segment and will continue from there..... AQE will also look to see if the QMatOp part was completed and the 1st pass and if so use them to save time.

Wheelie4
1st July 2005, 20:58
Great thx. :)

Carpo
1st July 2005, 22:50
norm use idct=3 that which sapstar said to use - used to use deen and undot, and ye i know idct 3 makes it longer but the results are soooo good :P

thought idct=7 was 3rd on the list 3 being the best - ahwell never mind i'll try it your way - cant hurt :devil:

cpu=6 - that a standard setting or is there diff ones for diff processors ?

Fishman0919
1st July 2005, 23:04
norm use idct=3 that which sapstar said to use - used to use deen and undot, and ye i know idct 3 makes it longer but the results are soooo good :P

thought idct=7 was 3rd on the list 3 being the best - ahwell never mind i'll try it your way - cant hurt :devil:

cpu=6 - that a standard setting or is there diff ones for diff processors ?

You can uses whatever idct... I like idct=7 because it 3rd for quality and twice as fast for me as idct=3... but instead of something like....

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:03, CELLID:09
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB\D2VAVS\V10.D2V",idct=7)
BlindPP(cpu2="xxxxxx")
trim(115015,123103)
ConvertToYUY2()
AudioDub(BlankClip())

use...

#------------------
# AVS File Created by DVD Rebuilder
# VOBID:03, CELLID:09
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB\D2VAVS\V10.D2V",idct=7,cpu=6)
trim(115015,123103)
ConvertToYUY2()
AudioDub(BlankClip())

cpu=6 in the mpeg2source line is better then BlindPP(cpu2="xxxxxx")

Carpo
1st July 2005, 23:37
Y
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:03, CELLID:09
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB\D2VAVS\V10.D2V",idct=7,cpu=6)
trim(115015,123103)
ConvertToYUY2()
AudioDub(BlankClip())


how you get that in the mpeg2 line, its showing up about 4 lines down in mine - and i dont fancy having to mass edit the avs files :(

tried that mass file editor and its a load of s***e :angry:

Fishman0919
2nd July 2005, 01:03
how you get that in the mpeg2 line, its showing up about 4 lines down in mine - and i dont fancy having to mass edit the avs files :(

tried that mass file editor and its a load of s***e :angry:

MassFile Editor is the only way I can think of that is easy to edit all the files :(

Mug Funky
2nd July 2005, 07:00
textpad is great for search-and-replace'ing a big list of text files.

i just use idct=6 because it's xvid's idct which is fast and good. if you're worried about decoding differences, try this:

clip1=mpeg2source("blah.d2v",idct=3)
clip2=mpeg2source("blah.d2v",idct=6)

subtract(clip1,clip2)

if you see any glaring errors, i'll be quite surprised. there might be an occasional difference (+- 1 value on random chroma pixels), but certainly not something that's going to screw up an encode.

but i suppose if you're doing 4 passes, speed isn't a big deal :) (i like an encoder that hits the target rate exactly in 2 passes)

Carpo
2nd July 2005, 08:39
MassFile Editor is the only way I can think of that is easy to edit all the files :(

i must be using it wrong then cus it dont edit the files right

:stupid:

Fishman0919
2nd July 2005, 15:31
textpad is great for search-and-replace'ing a big list of text files.

i just use idct=6 because it's xvid's idct which is fast and good. if you're worried about decoding differences, try this:

clip1=mpeg2source("blah.d2v",idct=3)
clip2=mpeg2source("blah.d2v",idct=6)

subtract(clip1,clip2)


idct=7 is xvid's...idct=6 is Skal's and is the only one not IEEE-1180 compliant

Which iDCT you should use depends primarily on what CPU you have
and to a lesser degree, on how accurate an iDCT you desire. Most people will not be able to tell
the difference in quality between these algorithms but
they can be easily observed by combining the AviSynth filters Subtract()
and Levels(). All of the available options are IEEE-1180 compliant, except for
SSE/MMX (Skal).

Qualitywise: IEEE-1180 Reference > 64-bit Floating Point > Simple MMX (XviD) > Remaining iDCTs.

Speedwise: SSE2/MMX and SSE/MMX (Skal) are usually the fastest.
The IEEE-1180 Reference is easily the slowest.

From Dgindex 1.40 rc5
idct: 0 to 7 (default: 0)

iDCT Algorithm.
For more infomation on iDCTs please see Appendix B.
Please see Appendix C for supported CPUs.
- 0: Use value specified by DGIndex (iDCTs 6 and 7 unavailable in DGIndex)
- 1: 32-bit MMX
- 2: 32-bit SSEMMX
- 3: 64-bit SSE2MMX
- 4: 32-bit Floating Point
- 5: 64-bit IEEE-1180 Reference
- 6: 32-bit SSEMMX (Skal)
- 7: 32-bit Simple MMX (XviD)

From DgIndex 1.10 Final

idct : 1 to 5.
iDCT : iDCT algo used.
0 : Default value (in .d2v file)
1 : 32 bit MMX
2 : 32 bit SSEMMX
3 : 64 bit FPU
4 : 64 bit IEEE-1180 Reference
5 : 32 bit SSE2 (for P4)
6 : Skal's SSEMMX iDCT (fastest)
7 : SimpleiDCT (Very accurate iDCT from XviD project)
default = 0

Fishman0919
2nd July 2005, 16:38
This is a Script that will make any diff's between 2 idct's very clear

LoadPlugin("C:\Test\DGDecode\DGDecode.dll")
mpeg2source("C:\Test\test.D2V")
clip1=mpeg2source("test.d2v",idct=5)
clip2=mpeg2source("test.d2v",idct=6)
Subtract(clip1, clip2).Levels(127, 1, 129, 0, 255)
ConvertToYUY2()

You can change the script to get it to work for you and change the idct's... I used idct=5 (IEEE Ref) and idct=6 (Faster but less quality) to really show the errors

Axlemar
3rd July 2005, 23:07
I've noticed two problems that occur on all animation backups I have done and can be seen on both a dvd player and a computer. During high action scenes sometimes the colors will change for split second and then change back to their original, when in the source it stays one color. By itself it is hard to notice, but often several frames back-to-back have it and then it is easily noticable. Also, when scenes change rapidly sometimes they will flicker. The same things occurs in several different series so I don't think it is the source.

I've tried the majority of idcts' and I get the same result from all of them. The flicker doesn't annoy me too much, but the color distoration is. Any ideas?

gilligan2
4th July 2005, 16:16
I get an error every once in a while saying something about the bitrate being too low,and to press any key to continue.I press the key and it continues,but was wondering what would be causing it to stop.It happened last night overnight while i was doing an encode so it sat idle for 6 hours until i woke up and that was 6 hours wasted.

Anyone have any ideas ?

Next time it happens i'll give the exact error message since it got removed from the dos box after i hit the key to continue.

g:)

SAPSTAR
4th July 2005, 16:22
I get an error every once in a while saying something about the bitrate being too low,and to press any key to continue.I press the key and it continues,but was wondering what would be causing it to stop.It happened last night overnight while i was doing an encode so it sat idle for 6 hours until i woke up and that was 6 hours wasted.

Anyone have any ideas ?

Next time it happens i'll give the exact error message since it got removed from the dos box after i hit the key to continue.

g:)
Hmmmm without the message I can't be sure....but if you could give me the min bitrate, avg and max...it may give me an hint !

gilligan2
4th July 2005, 16:25
Ok,if it does it again i'll be sure to get all the info to you.

g:)

gilligan2
4th July 2005, 22:07
OK,here's a screen shot of what it is doing.Once i hit any key it seems to continue with no troubles on that segment.It doesn't do it all the time. :thanks:

g:)

Axlemar
5th July 2005, 18:29
I just got oversized results. The original is 4.96 gigs. HIGH/LOW/TYPICAL Bitrates: 8,168/943/2,952 Kbs. Reduction Level for DVD-5: 82.7%
- Overall Bitrate : 2,952Kbs
- Space for Video : 3,499,778KB.
The video came out 4.55

Also, I am going to guess why I am having the color issue. I always left the option ConvertToYUY2 on in rebuilder even though it seems that only CCE needs it. Leaving it on would probably cause color conversion to occur with two different programs (avisynth and avcodec) and that could cause the color mis-match I have been having.

SAPSTAR
6th July 2005, 00:58
I just got oversized results. The original is 4.96 gigs. HIGH/LOW/TYPICAL Bitrates: 8,168/943/2,952 Kbs. Reduction Level for DVD-5: 82.7%
- Overall Bitrate : 2,952Kbs
- Space for Video : 3,499,778KB.
The video came out 4.55

Also, I am going to guess why I am having the color issue. I always left the option ConvertToYUY2 on in rebuilder even though it seems that only CCE needs it. Leaving it on would probably cause color conversion to occur with two different programs (avisynth and avcodec) and that could cause the color mis-match I have been having.
FYI : I'm converting to YUV internally if not YUV.....+RGB24 for QMatOp, so yes you can remove the ConvertToYuY2, good point :goodpost: !
For the oversizing...I hope the next version will solve the sizing issues...I may release it soon....depends on the time I can spend on it !

Axlemar
6th July 2005, 19:50
Cool, I hope it comes out soon because I have a new batch of dvds I need to back up and I think I solved the color issue, so sizing is the only problem I have been having.

Thanks for all the hard work :D

BTW: I have noticed on my animation backups (which is basically all I backup) that the calculated matrix always starts off with really low inter and intra numbers, but that they seem to gradually go over 100. Is the animation optimization supposed to really limit the matrix values or is it normal for it to get that high?

SAPSTAR
7th July 2005, 20:31
0.25b - 2005/07/07
- Improved the rate control.
- Replaced the turning cross by a percentage indicator
- Log file creation : <AVSFILE>.log
- The rate control automatically detects, if it has any chance to improve the movie in the next pass if not it skips it.

The rate control is better , it may correct many undersizing issues..some may still be there. I implemented a logfile generation in order to help me in the debugging. Thanks to Carpo for this idea....

hutch1711
7th July 2005, 21:31
Damn! half way through an encode. Thanks as always. :D

SAPSTAR
8th July 2005, 04:22
Sorry I just discovered that the setup for 0.25b still contains the 0.24b version...I'll correct that as soons as possible....really sorry...
[EDIT] The package should be OK now.....I added a last minute correction I hope it will be good....

Sedoy
8th July 2005, 18:45
SAPSTAR your Installer change the PATH Variable from "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;" to "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Programme\AutoQmatEnc"

This is not good, because i can not start any Sysprog (reg.exe, ipconfig.exe etc) from CMD.

This is only from Installer changes, manually Change the Variable working perfekt :confused:

SAPSTAR
8th July 2005, 18:53
SAPSTAR your Installer change the PATH Variable from "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;" to "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Programme\AutoQmatEnc"

This is not good, because i can not start any Sysprog (reg.exe, ipconfig.exe etc) from CMD.
With ";"
Hmm strange...nobody reported that to me before....I'll check
[EDIT] in the next release I'll add this ; at the end of the path...What os are u using ?

Carpo
8th July 2005, 18:58
i think im losing the plot :eek:

Sedoy
8th July 2005, 19:02
Hmm strange...nobody reported that to me before....I'll check
[EDIT] in the next release I'll add this ; at the end of the path...What os are u using ?

I'm edit my Post.

This is only from Installer changes, manually Change the Variable working perfekt, with and wihout ";" :confused:

Sedoy
8th July 2005, 20:00
This Trouble its only from your Installer.

I make an Test Installer with NSIS only for Change this two RegStrings:
WriteRegStr HKLM "SYSTEM\ControlSet001\Control\Session Manager\Environment" "Path" "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;$PROGRAMFILES\AutoQMatEnc"
WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path" "Path" "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;$PROGRAMFILES\AutoQMatEnc"

And i have no Problems.

Carpo
8th July 2005, 21:15
i have testd all the installers all work fine for me

SAPSTAR
8th July 2005, 22:48
Hi all,

Just to inform you I discovered a major flaw in the rate control, for bitrates higher than 2500-3000 kps, there is a good chance for your vid to be undersized, especially for animations or dark movies.
Expect a new release during the weekend.....

Axlemar
9th July 2005, 00:14
Ok, thanks for letting us know.

spyhawk
9th July 2005, 00:31
SAPSTAR your Installer change the PATH Variable from "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;" to "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Programme\AutoQmatEnc"

This is not good, because i can not start any Sysprog (reg.exe, ipconfig.exe etc) from CMD.

This is only from Installer changes, manually Change the Variable working perfekt :confused:Same here. Can't use system command. Have to go to system32 to use it. To eliminate this problem, just add ";" at the end of the PATH.

alfixdvd
9th July 2005, 08:09
Hello Sapstar the same problem with path.

I can not start any Sysprog ( c:\windows\system32 ) from CMD.

If I remove AutoMatQuenc from path, all's rigth.

If I add manually AutoMatQuenc to path, all's rigth.

My OS is Windows Xp SP2

Carpo
9th July 2005, 09:01
wait for new version that should be out over the weekend - its fixed

gigah72
9th July 2005, 12:14
would it help speedup process to add a path variable for storing dctune temp files on a ramdisk?

speed is just plain horror, quality is just incredible.
what about a qmat genereration only mode, coz the resulting qmat compared to qmatop is just to big difference to ignore in result?

SAPSTAR
9th July 2005, 13:22
would it help speedup process to add a path variable for storing dctune temp files on a ramdisk?

speed is just plain horror, quality is just incredible.
what about a qmat genereration only mode, coz the resulting qmat compared to qmatop is just to big difference to ignore in result?
The next version should be faster....the rate control error I found slows significantly the process too.
About the QMat generation mode only, it may come...in fact I may rewrite QMatop entirely to use the same algo than AQE, but it will be a big job !

MaDxCrEaM
9th July 2005, 20:12
I just got an "Could not open Vid file, press any key to continue". Not sure why, anyone else get this problem?

Fishman0919
9th July 2005, 20:27
I just got an "Could not open Vid file, press any key to continue". Not sure why, anyone else get this problem?

Are you using DVD-RB or are you manually encoding??

Axlemar
9th July 2005, 21:36
I am getting the "Could not open vid file" message also, but I am quite sure it is related to the rate control because it only happens if the expected and actual sizes are way off.

MaDxCrEaM
9th July 2005, 21:40
I am using DVDRB. I just press enter, and it continues on to next segment. But I stopped it since a new version will be out this weekend since an encode last time took me 29 hours ;)

Carpo
9th July 2005, 22:40
bet the film looked s**t hot tho :D

Krizzz989
11th July 2005, 05:51
I'm getting "could not open video" messages. Thanks in advance for any help.

I used eclcreate.

avs file:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:22
#------------------
LoadPlugin("C:\Program Files\DVD-RB PRO\DGDecode.dll")
mpeg2source("C:\DVD-RB\D2VAVS\V01.D2V")
trim(135183,142960)
ConvertToYUY2()
AudioDub(BlankClip())

ecl file
; CCE SP Trial Version -- Encoder Control List

[item]
title=V01002100001022.AVS
vid_out=1
vaf_out=1
aud_out=0
aud_mode=0
video_type=4
vid_file0=C:\DVD-RB\V01002100001022_AVS.mpv
vid_file1=C:\DVD-RB\V01002100001022_AVS.mpv
vaf_file=C:\DVD-RB\V01002100001022_AVS.vaf
aud_file=C:\DVD-RB\V01002100001022_AVS.mpa
file_focused=0
width=720
height=480
timecode=0x1000000
tc_ref_frm=0
drop_frame=0
cbr_brate=6000
opv_q_factor=35
opv_brate_min=300
opv_brate_max=1500
vbr_brate_avg=700
vbr_brate_min=300
vbr_brate_max=1500
vbr_bias=30
vbr_pass=2
create_new_vaf=1
pulldown_detect=0
letter_box=0
panscan=0
aspect_ratio=3
credits_tweak=0
credits_start=0x00000
credits_brate=1000
h_filter=0
h_filter_idx=8
use_filter=0
filter_val=4
dither=0
dither_max=8
quality_prec=25
intra_dc_prec=0
alternate_scan=0
non_linear=1
progressive=1
gop_m=3
gop_nm=5
gop_hdr=15
seq_hdr=1
seq_endcode=0
dvd=0
all_closed_gop=0
fix_gop_length=0
fix_vbv_delay=0
offset_line=1
half_width=0
half_height=0
uscc=0
lum_level=0
packet_size=2048
frame_rate_idx=4
qmat_idx=-1
qmat_name=bvcd
qmat=
16 18 20 22 26 28 32 39
18 20 22 24 28 32 39 44
20 22 26 28 32 39 44 48
22 22 26 32 39 44 48 54
22 26 32 39 44 48 54 64
26 32 39 44 48 54 64 74
32 39 44 48 54 64 74 84
39 44 48 54 64 74 84 84
20 24 26 28 38 42 46 53
24 26 28 38 42 46 53 58
26 28 38 42 46 53 58 62
28 38 42 46 53 58 62 68
38 42 46 53 58 62 68 78
42 46 53 58 62 68 78 88
46 53 58 62 68 78 88 99
53 58 62 68 78 88 99 99
mpeg1=0
mpeg1_cps=1
brate_idx=7
stereo=2
samples_per_sec=0
crc=1
adjust_q_matrix=1

[file]
name=C:\DVD-RB\V01002100001022.AVS
type=0
frame_first=0
frame_last=7778
encode_first=0
encode_last=7778

log file (I deleted the log file, then ran autoqmatenc again, to create this log file. If you need the original log file, I can recreate it)
QMatOp feature enabled.
Pass 1/3
C:\DVD-RB\V01002100001022.AVS: 720x480, 23976/1000 fps, 7778 frames
converting YUY2 -> YV12
Assigned new YUV clip
converting YUY2 -> RGB24
Assigned new RGB clip
AVS File opened successfully
Valid Matrix Detected
Matrix Read :
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 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 8 8
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
Darkness level : 0.011676
A VAF file is there...Checking it!!!
Picture Number : 7777
VAF File checked successfully...Pass 1 skipped
Pass 2/3
C:\DVD-RB\V01002100001022.AVS: 720x480, 23976/1000 fps, 7778 frames
converting YUY2 -> YV12
Assigned new YUV clip
converting YUY2 -> RGB24
Assigned new RGB clip
AVS File opened successfully
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 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 8 8
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
Darkness level : 0.011676
Could not open Video...
Pass 3/3
C:\DVD-RB\V01002100001022.AVS: 720x480, 23976/1000 fps, 7778 frames
converting YUY2 -> YV12
Assigned new YUV clip
converting YUY2 -> RGB24
Assigned new RGB clip
AVS File opened successfully
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 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 8 8
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
24 24 24 24 24 24 24 24
Darkness level : 0.011676

multicone
11th July 2005, 21:18
What about matroska support for this MPEG2 encoder ? Seems like matroska team are looking for an official MPEG2 encoder partner : http://article.gmane.org/gmane.comp.multimedia.matroska.general/1282

Beek
12th July 2005, 01:56
SAPStar,

Wow, can't believe the quality that can be achieved using AutoqMatenc and DVD Rebuilder Pro. I am absolutely speachless. I had long since given up doing full DVD backups 7+ gb disks, as to my eye they were sub standard (especially medium dark backgrounds) . I have used many encoders, codecs, applications throughout the years, and I must say this has really got me excited.

Please keep up the develpment, and get a Donation Page up too, love to show my appreciation beyond a few kind words.

Good to hear, the next version will be a little faster, and hopefully get rid of the "Could not open vid file. Press Return To Continue" error which I get on certain segments, although in my book, I would much rather have an nice quality backup as opposed to super fast encoding time

Cheers, Steve (Ottawa, Canada).

SAPSTAR
13th July 2005, 19:56
Finally I release 0.26b...the rate control is not yet as perfect as I would like, but is definitely better. I release it because I'm not sure if I will be able to work on it the 2 or 3 following weeks because I will be in vacation....

0.26b - 2005/07/13
- Corrected the PATH variable, added a ; at the end.
- Corrected the rate control once again...a new approach was implemented.
- Corrected a bug when the rate control was totally wrong,
the Nth pass was ending asking for pressing a key.
[EDIT] May be faster too...not 100% sure yet !

Krizzz989
13th July 2005, 22:51
Awesome, now I can start backing up my DVDs again.

Axlemar
13th July 2005, 23:18
Sizing is still off, but it seems to get better if you do high passes (4+).

Maybe later you could have it print the bitrates for the segment in the dos window to see what specific things can make it occur?

SAPSTAR
14th July 2005, 02:25
Sizing is still off, but it seems to get better if you do high passes (4+).

Maybe later you could have it print the bitrates for the segment in the dos window to see what specific things can make it occur?
Could you be more precise ? Give more details...what movie, ....
[EDIT]The bitrate is written in the log itself....be sure to use 0.26b, depending on your IE settings, you could download an old version.

Axlemar
14th July 2005, 04:16
As normal for me, the current one I am trying is fairly high bitrate animation: Reduction Level for DVD-5: 64.8%
- Overall Bitrate : 4,147Kbs
- Space for Video : 3,899,814KB
- HIGH/LOW/TYPICAL Bitrates: 4,514/600/4,147 Kbs (Last Exile). I am using the newest rebuilder and all the stable other. I have noticed that the first couple of passes are really low (.6 ratio) but if I set the passes to like 6 it slowly gets to the .9 tange.

SAPSTAR
14th July 2005, 05:24
As normal for me, the current one I am trying is fairly high bitrate animation: Reduction Level for DVD-5: 64.8%
- Overall Bitrate : 4,147Kbs
- Space for Video : 3,899,814KB
- HIGH/LOW/TYPICAL Bitrates: 4,514/600/4,147 Kbs (Last Exile). I am using the newest rebuilder and all the stable other. I have noticed that the first couple of passes are really low (.6 ratio) but if I set the passes to like 6 it slowly gets to the .9 tange.
Oky doc...it means I still have to work on high bitrates animations :) ...
I'll try to work on it before my vacations...

alfixdvd
14th July 2005, 07:22
AutoQmatEnc 0.26b.

File AutoQmatEnc.exe has file size of 92K and Date 07/12/05

When it runs it shows

C:\DvdTools\AutoQMatEnc026b>AutoQMatEnc.exe

AutoQMatEnc V0.25, 05/07/05, SAPSTAR - www.Doom9.org
Usage: AutoQMatEnc.exe -ecl item.ecl


This is It correct ?

SAPSTAR
14th July 2005, 11:32
AutoQmatEnc 0.26b.

File AutoQmatEnc.exe has file size of 92K and Date 07/12/05

When it runs it shows

C:\DvdTools\AutoQMatEnc026b>AutoQMatEnc.exe

AutoQMatEnc V0.25, 05/07/05, SAPSTAR - www.Doom9.org
Usage: AutoQMatEnc.exe -ecl item.ecl


This is It correct ?
Hmmm yep...I forgot to update that part ! ;) Thx for pointing it ! To be sure, check the product version in the properties. (right-click on it)

alfixdvd
14th July 2005, 12:20
Hmmm yep...I forgot to update that part ! ;) Thx for pointing it ! To be sure, check the product version in the properties. (right-click on it)

Yes in properties 0.26.0.4

Thanks Sapstar

SAPSTAR
14th July 2005, 20:08
Hi....I think this time I have a really good track...faster and better should be the next version ;)...and depending on the speed of the beta testers, it could be released really soon.....

lunario
14th July 2005, 20:49
sapstar i want to use your encoder but untill now nothing.... i´ve created the ecl with eclcreate

i put autoqmatenc -ecl movies.ecl and then it says this

E:\temp2\Movie0.avs: 704x480, 15712911/524288 fps, 1392 frames
converting YUY2 -> YV12
Assigned new YUV clip
converting YUY2 -> RGB24
Assigned new RGB clip
Creating : C:\Intra0.ppm

and then nothing..

what i am doing wrong ? does automatenc needs dvd rebuilder to work ?

SAPSTAR
14th July 2005, 20:57
sapstar i want to use your encoder but untill now nothing.... i´ve created the ecl with eclcreate

i put autoqmatenc -ecl movies.ecl and then it says this

E:\temp2\Movie0.avs: 704x480, 15712911/524288 fps, 1392 frames
converting YUY2 -> YV12
Assigned new YUV clip
converting YUY2 -> RGB24
Assigned new RGB clip
Creating : C:\Intra0.ppm

and then nothing..

what i am doing wrong ? does automatenc needs dvd rebuilder to work ?
Not at all....but something is weird look at the fps detected by avisynth :
it's a 29.97fps ratio but...looks weird...did you check if your avs file is playing well ?! What version of Avisynth are you using ?!

lunario
14th July 2005, 21:08
i am using latest beta .. and yes the source avi has 29.97 ... i will try with 2.55 and i will give you my input

lunario
14th July 2005, 21:17
ummm now it works... ummm i guess the prblem was the source 29.97 i made the avs with diko now with another movie and it works...

lunario
14th July 2005, 23:03
it was the source ... because i´ve installed latest avisynth and it works

ps i am using avisynth 2.56 beta 4 again with another source and is working

i can´t wait to see the quality of your encoder :)

SAPSTAR
15th July 2005, 04:30
it was the source ... because i´ve installed latest avisynth and it works

ps i am using avisynth 2.56 beta 4 again with another source and is working

i can´t wait to see the quality of your encoder :)
I noticed some strange behavior with the latest version 0.26, I would recommend using the 0.24b until I release 0.27b this Friday or this weekend...I identified the pb I introduced after 0.24 n the rate control...some spikes could occur....In the current 0.27b I'm testing everything is perfect up to now !

MaDxCrEaM
19th July 2005, 01:53
must of ran into some problems?

hutch1711
19th July 2005, 04:11
must of ran into some problems?
The poor guy has 3 children under six years of age, was planning on going on vacation, and now us poor snowbirds to the north are wilting under a two week tropical heat wave, that has tempatures in the 30's celsius with humidex readings in the 40's. If he's smart he's sitting in front of an air conditioner and downing a few cold ones. Knowing Sapstar he just want's to get it right before he releases next version. :D

Carpo
19th July 2005, 07:48
If he's smart he's sitting in front of an air conditioner and downing a few cold ones. Knowing Sapstar he just want's to get it right before he releases next version. :D

nah hes in the pool most days :D

MaDxCrEaM
19th July 2005, 13:06
The poor guy has 3 children under six years of age, was planning on going on vacation, and now us poor snowbirds to the north are wilting under a two week tropical heat wave, that has tempatures in the 30's celsius with humidex readings in the 40's. If he's smart he's sitting in front of an air conditioner and downing a few cold ones. Knowing Sapstar he just want's to get it right before he releases next version. :D

LOL, in no way I was rushing him. Sapstar nor his testers haven't responded for a bit so I thought I would try to get some info :)

Axlemar
19th July 2005, 17:36
He is still working hard on getting a new version out, so don't worry.

Carpo
19th July 2005, 20:32
im testing 0.27b3 atm - thats why we not responding - busy testing like mad to get new version out (with a bit of luck) before sapstar goes on vaction :D

SAPSTAR
20th July 2005, 15:15
Hi there,

This is most probably my last release for the next 2 weeks....
0.27b - 2005/07/20
- Added a low motion detector to tweak the rate control
- Improved the rate control
- Updated the averaging in QMatOp
- Corrected an error on very big files for the Nth path(N>2)
- Minor tweakings and errors.

There are still issues with the high bitrates animations, outside this type of movie it should be ok....Good Encode !!!
Special thanks to Axlemar and Carpo for their tests of this last week....
Last minute info : The 1webspace.org web site died...my primary web site will be now the one provided by badservo : www.badservo.com/autoqmatenc

hutch1711
20th July 2005, 17:33
This is most probably my last release for the next 2 weeks....

Thank you Sapstar. Enjoy your vacation with the family. :)

MaDxCrEaM
20th July 2005, 19:33
Thanks Sapstar, look forward to testing this out.

CorrsFan
20th July 2005, 21:34
I just had some major problems with the Firefly episode "Safe." I had some macroblocking in the first segment from other encoders and was trying to find how best to encode it. I prepared the disc in DVDRB-Pro 1.00RC2 with the settings specified in the readme.txt and enabled "CCE Adaptive Quantizer Matrices."

The first time I ran into the problem was in the DVDRB Matrix Editor. I selected the first segment and "No Matrix," then prepped and encoded. These were some serious problems, ones that I've never come across before.

I've already tested AQE on a minorly troublesome segment from another disc -- seg 21 of Indiana Jones and the Last Crusade and AQE seemed fine then.

I reran everything, deleting the temp files and double-checking all settings as well, and did a straight prep and encode in DVDRB itself and it happened again. I viewed the source files themselves and they are fine and they haven't been touched since being ripped to my HD via DVDDecrypter.

I actually found a worse occurrence earlier in the segment. When there's a sequence of them, it happens every other frame -- the frames in between are fine -- and it always when there's motion and panning.

I've attached 3 images and the matrix file. I can provide more images if needed (and the log, too, but it's not very interesting).

Axlemar
20th July 2005, 22:17
Your attachments are not approved yet and you say that you are having major problems, but you don't say what kind. What problems are you having? What type of issue is it, what does it look like? What version are you using? Sapstar just released a new version.

CorrsFan
21st July 2005, 00:26
Your attachments are not approved yet and you say that you are having major problems, but you don't say what kind. What problems are you having? What type of issue is it, what does it look like? What version are you using? Sapstar just released a new version.

Huge blocks are appearing. I'm using the latest version of AQE -- it's the only one I've ever installed. Here's a pic (hopefully not too big):

http://img329.imageshack.us/img329/363/aqeoops72cc.jpg (http://www.imageshack.us)

The next frame is fine, but the one after that is like this.

Latest version of AQE -- it's the only one I've ever installed. I tried encoding with HC and it's working just fine.

Some thumbnail links to more frames:
http://img314.imageshack.us/img314/9999/aqeoops98dh.th.jpg (http://img314.imageshack.us/my.php?image=aqeoops98dh.jpg)
http://img314.imageshack.us/img314/6099/aqeoops13ut.th.jpg (http://img314.imageshack.us/my.php?image=aqeoops13ut.jpg)
http://img314.imageshack.us/img314/93/aqeoops64kb.th.jpg (http://img314.imageshack.us/my.php?image=aqeoops64kb.jpg)

Axlemar
21st July 2005, 04:45
In my experience this program prevents macroblocks quite well. How many passes did you do? At this point I would recommened four as the rate control still needs to be tweaked a bit. Also, I would recommended that after you run the prepare phase you go into the output folder and manually edit every .avs file and remove anything pretaining to ConvertToYUY2() or ConvertToYUY2(interlaced=true) because I personally had problems with motion with this setting and AutoQMatEnc does the conversions itself (just removing ConvertToYUY2 in rebuilder won't work because AutoQMatEnc mimics the CCE ecl and when you select CCE as the encoder ConvertToYUY2 is added automatically. I will discuss this more with Sapstar in the future). Did you add CCEAQM=1 under [options] in the rebuilder.ini to ensure that the QmatOp part of the encoder ran and does it say Adaptive Quantizer matrices enabled in the status window in rebuilder? Finally, players that hate to have each gop optimised can playback blocky. From what I have heard an XBOX is pretty loose to the mpeg-2 standard or you could just try another player if you have one. Did you try to use the encoder default matrix or are you using modified ones? And lastly you can try to burn the dvd at a slower speed or on different media. Read errors can cause display issues. If you try all these and still have problems than let me know and I think I can get my hands on firefly.

CorrsFan
21st July 2005, 07:15
Hmm, I was under the impression that the matrix you select doesn't matter for AQE (a previous test with Last Crusade yielded what seemed to be identical results with No Matrix -- that should mean encoder default, right? -- and SixOfNine selected) so I had "No Matrix" selected when I first encountered this problem in the Matrix Editor and "encoder default" when I did the prep & encode in DVDRB itself to verify.

But I just did an encode with the MPEG Standard matrix (and that CTY2() line removed) that FIXED the problem, but then I tried a test with the Med-Med matrix that came with the Matrix Editor that resulted in the same problem COMING BACK.

Oh, and I am doing 4 passes & have CCEAQM=1. I'm using PowerDVD, Media Player Classic, and VirtualDubMod to view the files and there hasn't been any difference between them.

BTW, thanks for the assistance, I surely do appreciate it.

Axlemar
21st July 2005, 08:52
What matrix you select guides some of what the encoder tries to determine. Supposedly the encoder will come up with the best matrix regardless of what you select, but it seems that maybe there are some conflicts with certain matrices and the encoder? I never use the matrix editor, I just have the default matrix settings in rebuilder and run encodes that way. I guess you should just experiment and report your findings to Sapstar in two weeks.

Axlemar
21st July 2005, 09:00
For people who would like to help test the encoder, I would recommended that you remove all forms of convertToYUY2 from the avs files, do four passes, and back up movies that are at least into the 5 gig range. Also, please let me know if there are any movies you back up that skip on very low or very high action scenes as I am trying to find out if there is a potential problem. Thanks.

MaDxCrEaM
21st July 2005, 19:25
Think I ran into a problem. I just viewed the first two segments done, the first m2v file loooks great, with the bitrate around what it should be. I viewed the 2nd m2v file, and the bitrate is averaging around 1mb looks like, when the series I'm doing is suppose to be around 2.9mb average. Here is the last part of the avs.log file for that segment:

Normalized matrix
8 14 16 19 22 22 52 58
14 14 19 20 22 24 58 60
16 19 22 22 24 54 60 62
19 19 22 22 41 58 61 64
19 22 22 29 56 59 63 73
22 22 24 53 59 62 76 93
22 22 51 58 62 74 92 107
22 46 58 62 70 88 106 117
16 17 18 18 19 20 21 22
17 18 18 19 20 21 22 24
18 18 19 20 21 22 23 25
18 19 20 21 22 23 25 26
19 20 21 22 24 25 26 27
20 21 22 23 25 26 29 34
21 22 23 25 26 28 35 40
22 23 24 26 27 34 40 45
Darkness level : 0.268002
Qmin : 1 ; Qmax : 41
Done
Pass 2/3
Bitrate : 2839000
H:\TEMPER\D2VAVS\V01000100001002.avs: 720x480, 23976/1000 fps, 41537 frames
converting ? -> RGB24
Assigned new RGB clip
AVS File opened successfully
8 14 16 19 22 22 52 58
14 14 19 20 22 24 58 60
16 19 22 22 24 54 60 62
19 19 22 22 41 58 61 64
19 22 22 29 56 59 63 73
22 22 24 53 59 62 76 93
22 22 51 58 62 74 92 107
22 46 58 62 70 88 106 117
16 17 18 18 19 20 21 22
17 18 18 19 20 21 22 24
18 18 19 20 21 22 23 25
18 19 20 21 22 23 25 26
19 20 21 22 24 25 26 27
20 21 22 23 25 26 29 34
21 22 23 25 26 28 35 40
22 23 24 26 27 34 40 45
Darkness level : 0.268002
Qmin : 1 ; Qmax : 41
Done
Pass 3/3
Bitrate : 2839000
H:\TEMPER\D2VAVS\V01000100001002.avs: 720x480, 23976/1000 fps, 41537 frames
converting ? -> RGB24
Assigned new RGB clip
AVS File opened successfully
8 14 16 19 22 22 52 58
14 14 19 20 22 24 58 60
16 19 22 22 24 54 60 62
19 19 22 22 41 58 61 64
19 22 22 29 56 59 63 73
22 22 24 53 59 62 76 93
22 22 51 58 62 74 92 107
22 46 58 62 70 88 106 117
16 17 18 18 19 20 21 22
17 18 18 19 20 21 22 24
18 18 19 20 21 22 23 25
18 19 20 21 22 23 25 26
19 20 21 22 24 25 26 27
20 21 22 23 25 26 29 34
21 22 23 25 26 28 35 40
22 23 24 26 27 34 40 45
Darkness level : 0.268002
Expected size : 77929007 ; Real Size : 614835118 ; Error : -6.9e+002 %
Qmin : 7 ; Qmax : 323
Done
Final Result :
Expected size : 77929007 ; Real Size : 207714952 ; Error : -1.7e+002 %

Carpo
21st July 2005, 21:07
converting ? -> RGB24 - that bit dont look right

under options->avs options - make sure both options are unticked especially ConvertToYUY2() - that is only needed (as is the other option there for cce 2.50) for cce - autoqmatop may mimic cce but it doesnt need either of those options ticked

About matraices - if you grab version 2.0.05 of rockas matrix editor it has 8 new matrices there for verious bitrates - you might wanna see if they help

also as i have been discussing with sapstar - if you use 4 passes on your encodes the sizing is bang near spot on - this is not the best work around till he can have a look at the code but it should be ok for the next few weeks while hes away on vacation

MaDxCrEaM
21st July 2005, 22:47
I'm testing Matrix Editor as I type. As for those options under avs, convertToYUY and the AudioDub(BlankClip) they were ticked. I never touched those before ever, so they must be ticked by default. So I unticked them. So you are saying I never need to tick those anymore with CCE 2.70.2.0? How about HC encoder? Thanks for the help.

Axlemar
22nd July 2005, 01:43
YOU CAN'T JUST UNTICK ConvertToYUY2 BECAUSE SELECTING CCE AS THE ENCODER FORCES IT TO BE ADDED. As I have said, you have to edit the .avs files after prepare and remove it until Sapstar changes it. You most likely will get weird results with it on.

Personally I run a lot of passes because if the bitrate is really close it will skip the rest of the passes from the point on which the rate was good. I personally don't mess with the matrices because, in theory, it shouldn't matter too much. I probably should though because it seems to have more influence on the results than I previously thought.

Also, expect that when you jump to a chapter the chapter will play a couple seconds off. This is because Sapstar hasn't incoporated a closed GOP system for the encoder yet. Other than that, and some playback issues on some of the animation I have done, the encoder is designed to be very high quality and has a really intelligent approach to determining optimal values. I believe that once it is perfected it will be a very nice encoder, so please continue to try it out and let us know.

Carpo
22nd July 2005, 08:27
I'm testing Matrix Editor as I type. As for those options under avs, convertToYUY and the AudioDub(BlankClip) they were ticked. I never touched those before ever, so they must be ticked by default. So I unticked them. So you are saying I never need to tick those anymore with CCE 2.70.2.0? How about HC encoder? Thanks for the help.

no if using cce 2.6+ (on intel) u only need to keep convertToYUY2 as cce does need that if you use cce 2.50 (on amd) u'll need both ticked

if you use HC yes both can be unticked as dvd rebuilder will put convertToYUY12 in its place which works fine with HC (well has the 10+ times i have done encodes with it :))

Carpo
22nd July 2005, 08:28
YOU CAN'T JUST UNTICK ConvertToYUY2 BECAUSE SELECTING CCE AS THE ENCODER FORCES IT TO BE ADDED. As I have said, you have to edit the .avs files after prepare and remove it until Sapstar changes it. You most likely will get weird results with it on.

well thats strange as i do have it unticked and dvd-rb sticks in convertToYUY12 - think that was the line - and i have checked with sapstar about it and he says it should work just fine and i have done a few encodes on it

MaDxCrEaM
22nd July 2005, 19:46
I would love to to help test AutoQMatEnc, so I tried again on the series I did earlier with undersizing of the 2nd segment using 3 pass. I used 6 pass this time, and the 1st segment was still OK as before, but the 2nd segment came out way Oversized this time using more passes. The average bitrate was over 4mb, which it should be around 2.9 mb. The 3 pass gave me around 1mb average only on the 2nd segment, so I am using CCE with using one of the new 8 matices included with Matrix Editor.

I only have one machine to do all my stuff, encoding, surfing with, and I need to get some of these encodes done. I would love to keep on doing test encodes if I had another machine (hopefully soon). I will have to wait till Sapstar is back from vacation and gets this great codec a little more fine tuned.

Axlemar
22nd July 2005, 20:39
well thats strange as i do have it unticked and dvd-rb sticks in convertToYUY12 - think that was the line - and i have checked with sapstar about it and he says it should work just fine and i have done a few encodes on it

From the animation encodes I have done, not editing out ConvertToYUY2 has caused color issues on heavy motion scenes.

About sizing issues, the only two things I can recommend is to choose sources that are not really high bitrate and try using a iDCT thats more accurate, like the 64-bit ones, because I seem to get more accurate sizing with them. Also, if you have the time, use a huge number of passes because if the pass is ever right on then it will skip the rest of them.

Carpo
23rd July 2005, 00:00
From the animation encodes I have done, not editing out ConvertToYUY2 has caused color issues on heavy motion scenes.

About sizing issues, the only two things I can recommend is to choose sources that are not really high bitrate and try using a iDCT thats more accurate, like the 64-bit ones, because I seem to get more accurate sizing with them. Also, if you have the time, use a huge number of passes because if the pass is ever right on then it will skip the rest of them.

ye animation is a bit diff - 4 passes is enough - as you say if the sizing is right it will skip the other passes i find that adding ,idct=7,cpu=6 to the avs files seem to be good enough as does the new matrices in matrix edito from roccas

Axlemar
23rd July 2005, 02:03
I tried to use a different matrix other than encoder default, med-low from the matrix editor, and both the matrix default and med-low come out with the same matrix and the same filesize. Are people getting different results from the same segment using AutoQMatEnc?

CorrsFan
23rd July 2005, 15:51
I tried to use a different matrix other than encoder default, med-low from the matrix editor, and both the matrix default and med-low come out with the same matrix and the same filesize. Are people getting different results from the same segment using AutoQMatEnc?

Other than my problems listed above, no. I've always had the same filesize and matrix, and the video always looks the same (at least when AQE is working correctly ;) ). That's what makes my problem so odd.

SAPSTAR
5th August 2005, 16:47
0.28b - 2005/08/05
- Corrected a major bug in the credits "type" scenes
- Corrected the rate control, 2 passes are enough for 90% of the scenes,
3/4 passes for the rest.
- Improved the sizing - Should be ok now.
For DVDRB Users, the default target size for DVDRB is 4.31Gb,
I suggest CCETargetSectors=2260000 or 2280000 when using AQE.
- Recompiled avcodec, I'm now using the very last version of it...
(some overflows corrections were brought with it)

Good encodes ....and let me know your results....

Special thanks to Badservo for the free hosting :thanks: and Axlemar for the many detailed tests he ran :thanks: ..

FYI : I lost my HDD during my vacations due to a storm, so I had to restart from the 0.24b version sources....I hope everything is back to normal now.

Krizzz989
7th August 2005, 08:12
I'm getting alot more "Good rate control no need to have one more pass...." messages, awesome.

Carpo
17th August 2005, 21:04
just to let you all know we are still working on it - by that sapstar is still tweaking and im still giving him errors to hunt down and find :devil:

hutch1711
18th August 2005, 02:03
Carpo, thanks for the update. Glad to hear Sapstar hasn't abandoned this project. :)

SAPSTAR
18th August 2005, 13:26
Carpo, thanks for the update. Glad to hear Sapstar hasn't abandoned this project. :)
No no don't worry not abandoned at all...just working on some fine tuning...the 0.29b should be released soon....

SAPSTAR
18th August 2005, 16:50
Here are the new release features/changes :

0.29b - 2005/08/18
- Added fix_gop_length support
(in order to keep the length of GOP steadier if your DVD player doesn't support it)
- Improved the rate control for very dark scenes
- Added packet_size parameter :
Used for the scene change threshold, bigger it is, less detection we have
- Changed the threshold for the Qmin increase
- Corrected a gap in the rate control correction linearity
- Corrected QMatOp, an error could be propagated on dark scenes
- Variable Dark limit for triggering several tweakings
- Corrected a bug, AQE starts next passes even if the rate control was perfect.
Thx Carpo for that one.
- Adjusted some thresholds

Carpo
18th September 2005, 20:58
wonder if this one is still going

danpos
18th September 2005, 21:50
@Carpo

Yep, take a look at here (http://www.vmesquita.com/forum/index.php?topic=4060.0). :)

Cya!

SAPSTAR
19th September 2005, 14:11
wonder if this one is still going
Yes it is....I'm to release a new version with corrections...I found some stuttering on some specific scenes (like a moving pine tree forest).I also improved the OPV mode.

I should release this new version today or tomorrow....BTW I need testers for the OPV mode.... :thanks:

Carpo
19th September 2005, 17:15
always works :devil:

danpos
19th September 2005, 17:16
Yes it is....I'm to release a new version with corrections...I found some stuttering on some specific scenes (like a moving pine tree forest).I also improved the OPV mode.

I should release this new version today or tomorrow....BTW I need testers for the OPV mode.... :thanks:

Hi Jérôme!! I already did several tests with new beta using a short piece of VOB and today I did a FULL encoding in OPV mode (where I did a prediction calculation using a EXCEL spreadsheet) and the results were highly satisfactory, wow ! I need to do the authoring, burn the compiled disc and so watch it in my SAP.

I'll report all results at the other board, but I already can to say that the improvements at new beta were great. ;)

Keep up the good work, mate ! ;)

Cya!

SAPSTAR
21st September 2005, 17:37
Hi there,

Sorry many weks passed since the last release...but I'm missing many beta testers...so it takes longer to have results....
Anyway here are the changes :

0.30b - 2005/09/21
- Corrected the max value for Quantization, it was too low sometimes causing some stuttering or some rate control errors.
- many OPV improvements
- Improved the multipass rate control.
(For DVDRB users, you should keep the default value for CCETargetSectors, DVDRB seems to oversize by itself.)
- Corrected a bug discovered by Prodater64,Zyphon and Danpos from the BDVD team, the matrix in the ECL file was not correctly taken into account.

Carpo
4th October 2005, 09:34
ye sorry about that have had a few personal issues to deal with (still am - ill health mental and pysical) - will try and do a few test encodes for you soon

might even try to do one later today when i go out for a few hours leaving the pc all alone :)

SAPSTAR
4th October 2005, 13:54
ye sorry about that have had a few personal issues to deal with (still am - ill health mental and pysical) - will try and do a few test encodes for you soon

might even try to do one later today when i go out for a few hours leaving the pc all alone :)
Don't worry about that...take care of yourself first !!!

@all : http://www.vmesquita.com/forum/index.php?board=41.0 is very active ...

Lo_RaT_PeNaT
4th October 2005, 18:36
a frank question, does the decoder have already incorporated of for if the technology qmatop, is using the decoder the mentioned technology used that is to say without necessity of activating the qmatop individually, only with pointing from the cce to the exe of the decoder and adding in the rebuilder ini CCEAQM=1?. thank you and to excuse my English

SAPSTAR
4th October 2005, 18:46
a frank question, does the decoder have already incorporated of for if the technology qmatop, is using the decoder the mentioned technology used that is to say without necessity of activating the qmatop individually, only with pointing from the cce to the exe of the decoder and adding in the rebuilder ini CCEAQM=1?. thank you and to excuse my English
Yep QMatOp is fully included in AQE, and it's even an improved version of it...faster and better.
You just have to set CCEAQM=1 in your DVDRB settings(you must use the PRO version otherwise this setting is ignored). Then use AQE instead of CCE and taaadaaa...oh something else for a better quality I recommend you to uncheck in AVS Options the ConvertToYUY2().

Lo_RaT_PeNaT
4th October 2005, 19:23
does you forgive so much question but am I quite interested in your proposal, is the question configured the rebuilder as if the encoder was cce?, and how many last for you the ideals would be?, thank you again.

SAPSTAR
4th October 2005, 19:56
does you forgive so much question but am I quite interested in your proposal, is the question configured the rebuilder as if the encoder was cce?, and how many last for you the ideals would be?, thank you again.
Sorry could you reformulate your question ?! I'm afraid I didn't understand it...

Lo_RaT_PeNaT
4th October 2005, 19:58
settings for autoqmat=settings for cce?, and with how many last of the encoder they are necessary for a prominent quality?

SAPSTAR
4th October 2005, 20:10
settings for autoqmat=settings for cce?, and with how many last of the encoder they are necessary for a prominent quality?
Yep...just replace CCE by AQE...and that's it...everything is similar.
When you say "how many last" I suppose you meant how many passes ?! If it's the case...You can choose as much as possible, because once the Rate Control has converged to a perfect fit, the remaining passes won't be processed...

EDIT: The mode must be CCE SP Trial

Lo_RaT_PeNaT
5th October 2005, 15:26
very thks

Carpo
5th October 2005, 17:38
trial eh? i alwasy have it set as cce sp ;D

SAPSTAR
11th October 2005, 15:03
Hi there,

The new official board is : http://www.vmesquita.com/forum/index.php?board=41.0

You can check there...you'll see that's is much much more active for AQE.

See you there !!!

ztrmils
10th November 2005, 01:02
I just discovered this codec yesterday and have been testing it out a little with DVD ReBuilder Pro. I'm not an expert in these matters and would like some information if anyone could help out.

1) What exactly is QMatOp? I'm using it and can guess from its name that it's a quantization matrix optimization feature. At least that's how it looks to me. Is this so and is there any reason NOT to use it?

2) I used One Pass VBR with AQE (setting it in the CCE Options). Does this negate any settings that relate to the number of passes used? This seems like a silly question with an obvious answer, but I want to understand for sure how this works.

3) Is it better NOT to use One Pass VBR and use multiple passes instead? Intuitively, it would seem so, but, again, I'm no expert.

4) To set a higher number of passes, do I do it in Options / CCE Options / Advanced Settings?

5) I've seen mention that the AVS Options / ConvertToYUY2() switch should be toggled one way or the other. Is this so? If so, what should that setting be? I don't understand why settings for a codec not being used would come into play.

Thanks.

SAPSTAR
10th November 2005, 15:11
I just discovered this codec yesterday and have been testing it out a little with DVD ReBuilder Pro. I'm not an expert in these matters and would like some information if anyone could help out.

1) What exactly is QMatOp? I'm using it and can guess from its name that it's a quantization matrix optimization feature. At least that's how it looks to me. Is this so and is there any reason NOT to use it?

2) I used One Pass VBR with AQE (setting it in the CCE Options). Does this negate any settings that relate to the number of passes used? This seems like a silly question with an obvious answer, but I want to understand for sure how this works.

3) Is it better NOT to use One Pass VBR and use multiple passes instead? Intuitively, it would seem so, but, again, I'm no expert.

4) To set a higher number of passes, do I do it in Options / CCE Options / Advanced Settings?

5) I've seen mention that the AVS Options / ConvertToYUY2() switch should be toggled one way or the other. Is this so? If so, what should that setting be? I don't understand why settings for a codec not being used would come into play.

Thanks.

1- QMatOP is an algo I made for finding the best quantization matrix for a movie, it's based on the tool developped by the NASA called DCTune. It's better to use it in many cases...better visual quality. Especially for low bitrates (<4000kbps)

2- Not sure to understand your question ?! For OPV it uses the OPV settings (min/max/Quality)....

3- I would say yes, it's better to use the multipass engine for many reasons, one is sizing, the other one is quality especially at low bitrates <4000kbps. Moreover, for now I didn't take time to fully optimize that part of the encoder, it's one of the thing I have to work on....So If time is not an issue for you, you should use the multipass engine.

4- yep

5- In the case of AQE, it doesn't really matter how this switch is...AQE will take care of everything...


I would like also mention that a new version is to be released this coming weekend, it was really improved : faster and better. You can already have it by accessing the betatesters area (link is at the bottom of the main page)

ztrmils
10th November 2005, 21:00
Thanks, SAPSTAR. This is very helpful.

SAPSTAR
11th November 2005, 15:48
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)

Thank you to all the beta testers for their help and support.
Thank you to the donators (http://www.vmesquita.com/forum/index.php?topic=4807.0) for their really appreciated support.

danpos
11th November 2005, 17:25
@SAPSTAR

Cool !!! :cool:

Cya!

Prodater64
11th November 2005, 18:01
@SAPSTAR:

Thanks, man!

ginoboy
11th November 2005, 19:18
Nice !!! :cool:

Cya!

buzzqw
11th November 2005, 20:31
not only nice but a great encoder !!!

thanks SAPSTAR !!! :thanks:

BHH