Log in

View Full Version : Koepi's Xvid-1.2.1-VAQ - VAQ does not work. (solved, works)


KikeG
30th December 2008, 18:46
Tested Koepi's Xvid-1.2.1-VAQ, and VAQ does nothing. AQ or no AQ makes no difference, always as if AQ was not selected. However, downloading Dark Shikari modified xvidcore.dll and replacing installed one, it does work.

Sharktooth
31st December 2008, 04:40
are you sure about that? can you post 2 clips encoded with the 2 xvid dores?

KikeG
31st December 2008, 12:03
I can give you details:

I tried with a small 17 sec. clip of already encoded film (Monsters Inc.). I did the test with an old PIII 1 GHz PC, Windows XP SP3, encoded with VirtualDubMod 1.5.10.2, all Xvid settings to default except disabled packed b-frames and set constant quantizer=3. With AQ enabled the resulting video is exactly same size than with AQ disabled. In both cases quantizers in I and P frames are the same for the whole frame.

Using Dark Shikari modified xvidcore.dll instead of installed one, with AQ activated under exactly same conditions, the quantizers are not uniform in I and P frames, as expected. With AQ disabled quantizers are uniform, the same for the whole frame, as expected. With AQ the resulting video is smaller.

I tried twice. With Koepi's xvidcore.dll AQ makes nothing, with Dark Shikari one it does make a difference.

turbojet
31st December 2008, 14:10
I found the same thing same day the build was posted and koepi replied saying he'd look at it and it never went further than that. It's fairly easy to tell with ffdshow showing quantizers, x.00 with that build, vaq enabled or not.

Sharktooth
31st December 2008, 15:35
could you also test using megui (it includes koepi's xvidcore)? i just have no time right now :(
try also this builds: http://www.xvidvideo.ru/content/category/1/34/29/
31st december... relatives... uber-dinner... chaos...

turbojet
31st December 2008, 16:17
megui's VAQ works.
These I confirmed working awhile ago from xvidvideo.ru, x86 no installer only
XviD-1.3.0 (CVS)-081213.02.23-VAQ-MTK x86/x64
XviD-1.2.1 x86 / x64 Stable release (VAQ)
XviD-1.3.0 (CVS)-081129.05.22-VAQ

also Jawor's build (http://jawormat.republika.pl/xvid.html) has working VAQ.

I just checked koepi's (http://koepi.info/Xvid-1.2.1-VAQ-04122008.exe) again and it's still broke.

Sharktooth
31st December 2008, 16:32
weird. megui includes koepi's 1.2.1 xvidcore.dll.

flebber
31st December 2008, 22:32
I replaced megui's xvidcore.dll with the 1.2.1+vaq from http://www.xvidvideo.ru/ and compared output between same sources on same profiles and indeed VAQ worked, I had the exact same output with both xvidcore.dll's

Koepi
1st January 2009, 23:08
I found the time to review the sources and found the error: I forgot to change a variable name in one line of the sources. Now that this is fixed, VAQ works like it should. I tested a clip without AQ, with classic AQ and with VAQ. VAQ was by far the most effective encoded version, outperforming old AQ by 120 kb (on a 4 mb file; old AQ just saved 7 kb).

I didn't change the filename to avoid confusion about the code base used.

Cheers,
Koepi

Sharktooth
2nd January 2009, 02:45
i still cant understand why AQ works usign xvid_encraw and why it doesnt work using VFW interface if the problem is in xvidcore.dll...
arent they using the same API?