digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencoder: Latest CVS Snapshot Mencoder Builds (http://www.digitalfaq.com/archives/encode/9424-mencoder-latest-cvs.html)

incredible 05-02-2004 04:48 PM

Latest CVS Snapshot Mencoder Builds
 
As this is getting in here more and more overviewed ...
I start this thread for offering mencoder compilings.

So if y new compiling is done no matter if by me or by Vmesquita, riu or someone else, we can offer it here.

Please no encoding questions about mencoder in here, just keep this as a "providing" and build related experiences thread.

Thanx! :)
Inc.

As most users do provide builds from a free hosting webspace:
Please do only download if you really work with mencoder!
So just "Software collecting-instincts" or "download everything- instincts" do just stretch the providing users traffic! :)

incredible 05-02-2004 05:01 PM

History Log:

05/06/2004
- New CVS-20040506 added ... now incl. DirectX support as needed for MencodeME by Vmesquita
- Now mencoder/mplayer avaiable in 3 CPU Versions. 1. AthlonXP, 2. Intel P4 SSE2 and 3. Generic with CPU runtime detection enabled.

Please try the SSE2 Intel compiling at you own risk as I do not have an Intel CPU and therefore configured manually before compiling as seen in the ./Configure Lines below!


************************** CVS 2004-05-06 **********************

Compiler: CygWin

codecs.conf for FFvfw Makeavis used:
Code:

videocodec makeavis
  info "FFvfw makeavis"
  status untested
  fourcc AVIS
  driver vfw
  dll ffvfw
  out YV12

DirectX7 headers included

Configure for AthlonXP Build (autodetected on my Athlon XP):
Code:

./configure --enable-largefiles --enable-static --confdir=mplayer/ --enable-win32 --enable-directx
Configure for IntelP4sse2 Build:
Code:

./configure --disable-3dnow --disable-3dnowex --enable-sse2 --enable-largefiles --enable-static --confdir=mplayer/ --enable-win32 --enable-directx
Configure for Generic Build (Runtime CPU detect. enabled):
Code:

./configure --enable-largefiles --enable-static --confdir=mplayer/ --enable-win32 --enable-runtime-cpudetection --enable-directx
The Downloads:

Mencoder AthlonXP
Mplayer AthlonXP

Mencoder IntelP4sse2
Mplayer IntelP4sse2

Mencoder GenericCPU
Mplayer GenericCPU


All are striped/UPX stuffed using CygWin.

The CygWin1.dll can be found here:
http://home.arcor.de/ffvfw/cygwin1.dll.exe
(to be placed in same folder as mencoder.exe, mplayer.exe)

************************** CVS 2004-05-06 **********************

vmesquita 05-02-2004 06:06 PM

They fixed the compiling errors yesterday. Actually this mplayer.exe compile won't work with MencodeMe because I now use directX (it's more compatible to everyone). But to compile with directx in cygwin I think you need a special directx headers package, which I downloaded yesterday and installed. It's small, 800 kb. Actually I am not 100% sure it's needed, you can try compiling forcing directX with
./configure --enable-direct .....
Ans see if it complains. :wink: If it doesn't work, I can mail the headers. :D

incredible 05-03-2004 03:29 AM

Quote:

Originally Posted by vmesquita
Ans see if it complains. :wink: If it doesn't work, I can mail the headers. :D

This one??
http://www.mplayerhq.hu/MPlayer/rele...-beta/contrib/

:)

To be Extracted to /usr/include/ in the CygWinSystem before compiling

Jellygoose 05-04-2004 05:00 AM

@inc: you should make this thread a sticky one, and update the compiles, as new mencoder builds are out... thanks for your hard work. we all appreciate it!

incredible 05-04-2004 05:13 AM

a) I dont have mod status on Mencoder forums part :( So Kwag or Vmesquita can maybe do that favor to make it sticky. ;-)

b) I will compile latest CVS snashots as fast as I can (only 2hands and many to do :lol: ).
BUT it would be nice if I would not be the only one who does offer here, cause the traffic of my free webspace would reach its limits veeery fast. :)

vmesquita 05-04-2004 06:10 AM

Topic sticked. :D
About the directX thing, I was using directx8. But using DirectX 7 headers is even better because it's more compatible with people that didn't upgrade yet. :wink:

vmesquita 05-04-2004 06:58 AM

By the way, I found a nice MPlayer compile with GUI for Windows:

http://www.mplayerhq.hu/MPlayer/rele...-0.001pre4.zip

Jellygoose 05-04-2004 11:27 AM

inc: I'd surely love to help you out with webspace. will get back to you later! :wink:

incredible 05-06-2004 01:50 PM

Latest Build in three Versions (Athlon/Intel/Generic) incl. DirectX7 now avaiable.
Download and Infos can be seen above.

Webspace sharers are welcome! :wink:

jailbird 05-09-2004 10:31 PM

I thought I'd go and give a shot at doing this..

I compiled today's CVS snapshot (2004-05-09) using the latest snapshot copy of MinGW32 on a Windows 2000 machine. I compiled it against DirectX 9 headers.

Since MinGW doesn't automatically convert / to \ in pathnames like Cygwin does, I did it by hand in the source code (except the compiled in paths, which are bogus anyways). I also modiifed the code to use the USERPROFILE environment variable instead of HOME, so it should find your config files in the same place as the copy that ships with MencodeMe.

This copy is optimized for an Athlon Thunderbird. I would appreciate any feedback. Since I used MinGW and not Cygwin, you don't HAVE to have the cygwin1.dll file in your PATH.

Give it a shot: http://home.comcast.net/~dmarquess/m...09-mingw32.rar

-Jail Bird

incredible 05-10-2004 03:19 AM

Great news! :D

Could you explain which code you did change to get mencoder recognise the system environment variables settings?

As this would be just great if some time the subtitle option will work properly in mencoder an mencoder needs the correct path to the subtitle fond recognised.

Thanx a lot!

Inc. :)

kwag 05-10-2004 11:38 AM

Hi jailbird,

Tried it on XP, but it bombs as soon as it starts to encode.
Same results when I tried to compile it myself the other day, using MingW.
Only the CygWin compile works.
I'm on a P4, btw.

-kwag

jailbird 05-10-2004 11:49 AM

Quote:

Originally Posted by kwag
Hi jailbird,

Tried it on XP, but it bombs as soon as it starts to encode.
Same results when I tried to compile it myself the other day, using MingW.
Only the CygWin compile works.
I'm on a P4, btw.

-kwag

Well that sucks! On the test .m2v I tried yesterday it at least made it through the first pass okay. On the second pass its complained a lot about buffer underruns, but so did the copy that ships w/ Mencode-Me (I have a feeling it's the damn MPEG-2 that my ReplayTV makes).

I'll see if I can figure out what's going on tonight. If not, then I'll just install Cygwin and use that. This was my first time to ever use MinGW :).

incredible: When I get home tonight I'll post the changes I made. They were pretty minor.

-Jail Bird

rds_correia 05-10-2004 04:16 PM

The future does look bright 8)

jailbird 05-10-2004 11:53 PM

Quote:

Originally Posted by incredible
Great news! :D

Could you explain which code you did change to get mencoder recognise the system environment variables settings?

As this would be just great if some time the subtitle option will work properly in mencoder an mencoder needs the correct path to the subtitle fond recognised.

Thanx a lot!

Inc. :)

The original code in get_path.c starting at line 5 has:

#if defined(__MINGW32__)
static char *config_dir = "/mplayer";
#else
static char *config_dir = "/.mplayer";
#endif
int len;

if ((homedir = getenv("HOME")) == NULL)

Since the copy of mencoder that comes with Mencode-ME uses .mplayer, I wanted to go ahead and use that, so my final code looked like:

static char *config_dir = "/.mplayer";
int len;

#if defined(__MINGW32__)||defined(__CYGWIN__)
if ((homedir = getenv("USERPROFILE")) == NULL)
#else
if ((homedir = getenv("HOME")) == NULL)
#endif

in MinGW I had to change the three forward-slashes (/) in the function to double-backslashes (\\). I believe Cygwin will handle this automatically at run-time, so I don't think you'll have to change those.

jailbird 05-12-2004 04:31 PM

Quote:

Originally Posted by kwag
Hi jailbird,

Tried it on XP, but it bombs as soon as it starts to encode.
Same results when I tried to compile it myself the other day, using MingW.
Only the CygWin compile works.
I'm on a P4, btw.

-kwag

Actually, I'm not wondering if it bombed-out because Intel CPUs don't support AMD's 3d Now!

I'll try compiling a P4-optimized MinGW copy for you tonight, and then another Cygwin copy to test, just in case.

kwag 05-12-2004 04:37 PM

Quote:

Originally Posted by jailbird

I'll try compiling a P4-optimized MinGW copy for you tonight, and then another Cygwin copy to test, just in case.

Thanks jailbird :)

-kwag

yaz 05-25-2004 04:45 AM

maybe u haven't seen this
http://www.mplayerhq.hu/MPlayer/rele...CVS-040518.zip
a 'general' (not cpu optimized) version. i haven't read the changelog, so i don't know what's changed.
the bests
y

incredible 05-25-2004 05:38 AM

Well these are good builds from MplayerHQ

benefit: The fast relative path to codecs and mplayer folder is given!
(seems to be a bug if compiling using CygWin)

Disadvantage: Gneneric CPU (as you recognised), Not shure if Directx Headers are included, and is ffvfw.dll included???

According to ffvfw.dll or ffvfw.ax .... I think its enough if the right codecs.conf (incl. the Makeavis description) is placed in the mplayer folder within the folder where mencoder is stored which points to the system installed ffvfw.dll/.ax.

But ... IF I did understand Sasha from MplayerHQ right, the MinGW build done by them does include the configuration "--enable-directx" when being compiled.

I recognised on my AthlonXP ... if a "generic" build is used the loss of speed is about a factor of 2-3 fps less ... so you have to decide by yourself :wink:


All times are GMT -5. The time now is 04:31 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.