Quantcast Mencoder: How to Compile Mencoder for Athlon? - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
04-20-2004, 04:22 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Nope Im going in using makeavis .... no problems with all builds before

DVD Source works! So its a complie/codecs thing i think.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
04-20-2004, 04:55 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Nope Im going in using makeavis .... no problems with all builds before
Actually you need to replace the built-in codecs.conf with a copy that contains ffvfw reference, so mencoder can understand makeavis. You can get the codecs.conf I provided a while ago, search inside the source folder and replace the codecs.conf from the source with the one I provided.
Sorry I forgot this step.
Reply With Quote
  #23  
04-20-2004, 04:58 PM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you, Vmesquita
Now i can go to sleep
Reply With Quote
  #24  
04-20-2004, 05:27 PM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
I've updated my compilation:
mencoder self extracting file.
Thank you again, VMesquita, seems to work now.

@inc: Can you test it
Reply With Quote
  #25  
04-20-2004, 05:36 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Krassi
I've updated my compilation:
Stop it
I was just testing your previous build, and now I have to abort


-kwag
Reply With Quote
  #26  
04-20-2004, 05:52 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi guys,
Adding up to what VM recommended I would use his text:
Code:
videocodec makeavis
  info "FFvfw makeavis"
  status untested
  fourcc AVIS
  driver vfw
  dll ffvfw
  out YV12
and paste it into the latest codecs.conf file that you guys have in your just downloaded mencoder tarball.
You can find it in the tarball under:
/etc/codecs.conf
This way you'll benefit from the usage of makeAVIS plus the latest added codecs if necessary
Also I would always use Cygwin instead of MinGW for mencoder: although the filesize is higher it is faster when encoding
Note: this will only work with makeAVIS that came with pure and plain FFvfw
It will not work with makeAVIS that comes with latest FFdshow from Athos at Doom9
At least on my PC...
Cheers guys
__________________
Rui
Reply With Quote
  #27  
04-20-2004, 06:01 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Krassi
I've updated my compilation:
mencoder self extracting file.
Thank you again, VMesquita, seems to work now.

@inc: Can you test it
Same issue ....
Reply With Quote
  #28  
04-20-2004, 06:09 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Krassi
Thank you, Vmesquita
Now i can go to sleep
and
Quote:
Originally Posted by incredible
Quote:
Originally Posted by Krassi
I've updated my compilation:
mencoder self extracting file.
Thank you again, VMesquita, seems to work now.

@inc: Can you test it
Same issue ....
Now the question is: has the poor guy (Krassi) gone to sleep
Otherwise your best shot (Inc.) is asking VM to make a new build
'Cause I'm going to bed too
Cheers guys
__________________
Rui
Reply With Quote
  #29  
04-20-2004, 06:32 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Yep, but the idea is that not everything will end up on Vmesquita as he is running on many things simultaniously!

And ... its nice if I can understand what Im doing & using

For assurance, heres a "little part" of the beginning of my codecs.conf.h file in the Mplayer Directory after ./configure

Code:
* GENERATED FROM ./etc/codecs.conf, DO NOT EDIT! */

codecs_t builtin_video_codecs[] = {
{{ 0x53495641, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /* fourcc */
{ 0x53495641, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* fourccmap */
{ 0x32595559, 0x32315659, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /* outfmt */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* outflags */
{ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /* infmt */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* inflags */
"makeavis", /* name */
"FFvfw makeavis", /* info */
NULL, /* comment */
"ffvfw", /* dll */
"vfw", /* drv */
{ 0x00000000, 0, 0,{ 0, 0, 0, 0, 0, 0, 0, 0 } }, /* GUID */
0 /* flags */, 2 /* status */, 0 /* cpuflags */ }
,
{{ 0x10000001, 0x10000002, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /* fourcc */
{ 0x10000001, 0x10000002, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* fourccmap */
{ 0x4D504553, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /* outfmt */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* outflags */
{ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /* infmt */
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* inflags */
"mpegpes", /* name */
"Mpeg PES output (.mpg or Dxr3/DVB card)", /*
As you can see "makeavis" is determined as found in the codecs.conf file I did change before in the "etc" Folder
I did NOT use a text edit appl. so the format structure of codecs.conf is in the state as it has to be.

Tonight I wanna get that CygWin running. Maybe that could help, or I still am doing something wrong, .. or there is a "change" in the newest CVS which doesn't allow makeavis
Reply With Quote
  #30  
04-21-2004, 02:08 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Stop it
I was just testing your previous build, and now I have to abort

I should have named it "alpha version"

@inc:
I will have a look at this again. @work i can only test/compile it during my timeouts
Reply With Quote
  #31  
04-21-2004, 04:22 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Ok,

i'm sitting in front of an Intel machine now, so i've compiled it with all cpu optimisations.
Here it is:
mencoder for Intel & AMD
Can somebody do a short test Thanks.
Tomorrow evening i will be able to compile it on my Athlon system.
Reply With Quote
  #32  
04-21-2004, 08:20 AM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Krassi
i'm sitting in front of an Intel machine now, so i've compiled it with all cpu optimisations.
I think this won't run in any CPU
Because if you compiled with all optimization, it means that you binary is optimized for 3dnow! and SSE2 at the same time, and there's no CPU capable of handling this.
Reply With Quote
  #33  
04-21-2004, 01:19 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
@incredible
Did you do a:
Code:
make clean
before ./configure so the old compiled data is discarded? Also, I remembered that you have to include a build switch to enable win32 codecs. So please do configure with the following switches:
Code:
$ ./configure --enable-largefiles --enable-static --confdir=mplayer/  --enable-win32
This will enable win32 codecs. large files (bigger than 2Gb support), make satic build (so the only needed DLL is cygwin1.dll), and change the configdir to a usable one, otherwise you won't be able to use a external configfile because it will point to a place that doesn't exist in windows.
Sorry for only remembering this now.
Reply With Quote
  #34  
04-21-2004, 02:24 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
and change the configdir to a usable one, otherwise you won't be able to use a external configfile because it will point to a place that doesn't exist in windows.
My friend ... what do you mean by this??

Cause I got this output now in cygWin:
Code:
$ ./configure --enable-largefiles --enable-static --confdir=mplayer/ -enable
-win32
Detected operating system: CYGWIN
Detected host architecture: i386
Checking for cc version ... 3.3.1, ok
Checking for CPU vendor ... AuthenticAMD (6:8:1)
Checking for CPU type ...  AMD Athlon(tm)
Checking for GCC & CPU optimization abilities ... athlon-4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes
Unknown parameter: -enable-win32

Administrator@win2000 /cygdrive/d/Mplayer
$
To WHICH directory I have to point that confdir???

At least I found out that unknown parameter
it was....

./configure --enable-largefiles --enable-static --confdir=mplayer/ -- enable-win32

But still which directory should be used for confdir ???

Ahhh. now i check it, its the folder "mplayer" within the folder where mencoder will be stored!
Reply With Quote
  #35  
04-21-2004, 02:42 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
I CANT BELEIVE IT, IT RUNS!!!!!
Even makeavis now works!!

And its fast!
Reply With Quote
  #36  
04-21-2004, 02:45 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
I edited the post, it should be --enable-win32 as you figured out. The confdir parameter is to allow you to use external configuration files (one of them is codecs.conf). If you don't specify this, mencoder will look for configuration files in /home/username/.mplayer, which doesn't exists for windows. Now that the internal configfile already has MakeAVIS specified you probably won't need any other external configuration files, but if you post a compilation later and someone wants to use a different codecs.conf for some reason, he'll be able to do it.

EDIT:
To make the executable half its size, you can
Code:
strip mencoder.exe
And to make it half of the half smaller:
Code:
./upx mencoder.exe
But you need the UPX package installed in cygwin for this to work.
Reply With Quote
  #37  
04-21-2004, 03:19 PM
fozzieb fozzieb is offline
Free Member
 
Join Date: Sep 2002
Location: Scotland
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to fozzieb
i still can't get it to except makeavis source to work, even using this compile command line


does the --enable-largefiles work for other sources (jigdo for getting debian)

cheers
Reply With Quote
  #38  
04-21-2004, 03:25 PM
vmesquita vmesquita is offline
Invalid Email / Banned / Spammer
 
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
You also need to modify /etc/codecs.conf like rds_correa suggested before, have you done that? This enable-largefiles may work with other sources which configure has this option.
Reply With Quote
  #39  
04-21-2004, 03:28 PM
fozzieb fozzieb is offline
Free Member
 
Join Date: Sep 2002
Location: Scotland
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to fozzieb
Quote:
You also need to modify /etc/codecs.conf like rds_correa suggested before
my fault, i forget to do this
Reply With Quote
  #40  
04-21-2004, 04:05 PM
fozzieb fozzieb is offline
Free Member
 
Join Date: Sep 2002
Location: Scotland
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to fozzieb
Still not working ...

Here is my output


Code:
Source Width:720 Source Height:576 Aspect:1.000000

Mencoder.exe -include temp.conf -lavcopts vbitrate=25998:vpass=1 "C:\BILLY_CONNOLLY_LIVE_2002\VIDEO_TS\test.avi" -o "C:\BILLY_CONNOLLY_LIVE_2002\VIDEO_TS\test.mpv"MEncoder dev-CVS-040421-21:37-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2606 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading C:/Dvd Tools/MencoderMe/mplayer/codecs.conf: Reading config//codecs.conf: Using built-in default codecs.conf.
Reading config file C:/Dvd Tools/MencoderMe/mplayer/mencoderReading config file temp.conf
font: can't open file: C:/Dvd Tools/MencoderMe/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0xC9200
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [AVIS]  720x576  16bpp  20.000 fps    0.6 kbps ( 0.1 kbyte/s)
[V] filefmt:3  fourcc:0x53495641  size:720x576  fps:20.00  ftime:=0.0500
input fps will be interpreted as 25.00 instead
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [yuvcsp]
==========================================================================
Opening video decoder: [vfw] Win32/VfW video codecs
Can't open library ffvfw
VDecoder init failed :(
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder: Can be the 60fps to 25fps conversion done within mencoder? digitall.doc Video Encoding and Conversion 4 06-15-2004 02:21 PM
Mencoder: Latest CVS Snapshot Mencoder Builds incredible Video Encoding and Conversion 36 06-02-2004 02:00 PM
Mencoder: Mencoder two-pass encoding questions Prodater64 Video Encoding and Conversion 13 05-05-2004 03:33 PM
Mencoder: Changing/Setting field order in mencoder tuco1979 Video Encoding and Conversion 1 04-17-2004 09:06 AM
Mencoder: Optimal Script with mencoder filters vmesquita Video Encoding and Conversion 38 04-14-2004 09:55 AM

Thread Tools



 
All times are GMT -5. The time now is 08:28 PM  —  vBulletin © Jelsoft Enterprises Ltd