Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th December 2004, 16:42   #1  |  Link
SoreGums
Registered User
 
Join Date: Oct 2004
Location: Brisbane, Australia
Posts: 17
mencoder + XviD + win32 - Quant Matrice's?

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...
Quote:
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

Last edited by SoreGums; 14th December 2004 at 16:54.
SoreGums is offline   Reply With Quote
Old 14th December 2004, 17:34   #2  |  Link
celtic_druid
Registered User
 
celtic_druid's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 2,171
http://celticdruid.no-ip.com/xvid/Misc/xvid4conf.7z
celtic_druid is offline   Reply With Quote
Old 15th December 2004, 02:31   #3  |  Link
neo75903
The One, as in unique :)
 
neo75903's Avatar
 
Join Date: Feb 2004
Posts: 504
hehe
Celtic, our binary man
__________________
Mr. Anderson, welcome back. We...missed you.
-= Agent Smith, The Matrix Revolutions =-
neo75903 is offline   Reply With Quote
Old 15th December 2004, 03:16   #4  |  Link
SoreGums
Registered User
 
Join Date: Oct 2004
Location: Brisbane, Australia
Posts: 17
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
I couldn't download GTK2 from my local source of cygwin.

Thanks again
SoreGums is offline   Reply With Quote
Old 15th December 2004, 04:33   #5  |  Link
celtic_druid
Registered User
 
celtic_druid's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 2,171
01001110 01101111 00100000 01110111 01101111 01110010 01110010 01101001 01100101 01110011 00101110
celtic_druid is offline   Reply With Quote
Old 15th December 2004, 08:26   #6  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Quote:
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...
Leak is offline   Reply With Quote
Old 15th December 2004, 12:09   #7  |  Link
Yong
Registered User
 
Join Date: Jun 2004
Posts: 577
Thanks celtic_druid
Yong is offline   Reply With Quote
Old 16th December 2004, 12:55   #8  |  Link
Yong
Registered User
 
Join Date: Jun 2004
Posts: 577
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
Yong is offline   Reply With Quote
Old 16th December 2004, 14:12   #9  |  Link
celtic_druid
Registered User
 
celtic_druid's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 2,171
Well I just tried it and it works without a path. Problem is that the : in the path also seperates the options.
celtic_druid is offline   Reply With Quote
Old 17th December 2004, 00:26   #10  |  Link
SoreGums
Registered User
 
Join Date: Oct 2004
Location: Brisbane, Australia
Posts: 17
Quote:
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
SoreGums is offline   Reply With Quote
Old 17th December 2004, 11:43   #11  |  Link
Yong
Registered User
 
Join Date: Jun 2004
Posts: 577
@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
Yong is offline   Reply With Quote
Old 23rd November 2021, 13:12   #12  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 303
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:

Quote:
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.
orion44 is offline   Reply With Quote
Old 23rd November 2021, 21:18   #13  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
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)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.