Log in

View Full Version : mencoder + XviD + win32 - Quant Matrice's?


SoreGums
14th December 2004, 16:42
Environment
------------
Windows XP
MPlayer-mingw32-dev-CVS-041211
command:
mencoder dvd://1 -oac copy -ovc xvid -xvidencopts <stuff>

So I've gotten to a point in testing out different bitrates & settings for the built-in XviD codec that comes with mplayer that I'm upto trying out different Matrice's. Problem is I can't load any.... It says in the man pages that I can make one using xvid4conf...
quant_intra_matrix=<filename>
Load a custom intra matrix file. You can build such a file with xvid4conf's matrix editor.
quant_inter_matrix=<filename>
Load a custom inter matrix file. You can build such a file with xvid4conf's matrix editor.
I've tried to get a working cygwin environmet to compile xvid4conf, but it aint happening, I've got wrong version numbers, missing libs, i've jumped into the deep end of trying to compile stuff, not suceeding. Not to mention if it would actually work once I'd compiled it...

Is there a way to either convert the various matrices that come with the koepi & co XviD binaries to use with mencoder?
OR
Is there a way I can get mencoder to use my installed XviD (win32 binary) instead of the inbuilt XviD??

I've tried searching for various things but nothing is turning up :(

celtic_druid
14th December 2004, 17:34
http://celticdruid.no-ip.com/xvid/Misc/xvid4conf.7z

neo75903
15th December 2004, 02:31
hehe
Celtic, our binary man :)

SoreGums
15th December 2004, 03:16
Thanks :)

After a shaky start I found out I could just copy my windows GTK2 over the top of my cygwin dirs and everything started working :D
I couldn't download GTK2 from my local source of cygwin.

Thanks again :)

celtic_druid
15th December 2004, 04:33
01001110 01101111 00100000 01110111 01101111 01110010 01110010 01101001 01100101 01110011 00101110

Leak
15th December 2004, 08:26
Originally posted by celtic_druid
01001110 01101111 00100000 01110111 01101111 01110010 01110010 01101001 01100101 01110011 00101110

Nah, somehow I'm more worried that I started up BIEW to decode your message... :D

Yong
15th December 2004, 12:09
Thanks celtic_druid:)

Yong
16th December 2004, 12:55
I have a problem with the MEncoder(win32 build, by celtic_druid) with xvid encoding,
I'm successfully create the intra and inter matrix file with the xvid4conf, but the mencoder was unabble to use them,
when i add an option to mencoder -xvidencopts :quant_intra_matrix="F:\mplayer\intra.txt":quant_intre_matrix="F:\mplayer\intre.txt"
When start encodind, the mencoder show the similar message:
unable to load \mplayer\intra.txt"
unable to load \mplayer\intre.txt"
although the encoding process strat normally.

please help me:D

celtic_druid
16th December 2004, 14:12
Well I just tried it and it works without a path. Problem is that the : in the path also seperates the options.

SoreGums
17th December 2004, 00:26
Originally posted by Yong
I have a problem with the MEncoder(win32 build, by celtic_druid) with xvid encoding,
I'm successfully create the intra and inter matrix file with the xvid4conf, but the mencoder was unabble to use them

I would suggest as the easiest option, move your matrices to the dir where you execute mencoder :)

So

/dir
- mencoder.exe
- intra_matrix.txt
- inter_matrix.txt

Yong
17th December 2004, 11:43
@celtic_druid and SoreGums:

Thanks for the suggestions,
Because my batch file doesn't contain
F:
CD mplayer,
this two lines,
so...

After adding these two line and change somethings ,it worked,
Thanks:)

orion44
23rd November 2021, 13:12
I'm using mencoder on Windows 10 64-bit.

How do I load xvid custom quantization matrices in mencoder?

I found the following in mencoder manual:

quant_intra_matrix=<filename>
Load a custom intra matrix file. You can build such a file with xvid4conf's matrix editor.
quant_inter_matrix=<filename>
Load a custom inter matrix file. You can build such a file with xvid4conf's matrix editor.

Where can I download xvid4conf matrix editor for windows 10? It is nowhere to be found.

Selur
23rd November 2021, 21:18
Alternatively you could use: https://forum.doom9.org/showthread.php?t=73666
(LigH posted a link to his editor and a link to a collection of matrices, works fine on Win10 and Win11)