[MPlayer-users] Re: Seeking in long DVD on Windows

Mark Himsley mark at mdsh.com
Wed Feb 21 13:51:51 CET 2007


On 13 February 2007 21:03 +0000 Mark Himsley wrote:

> > > You have to patch mingw:
> > > http://oss.netfarm.it/mplayer/misc/file64_mingw.diff
> >
> > Thanks. I'll give that a go.
>
> And indeed I did. I took a while for me to work out exactly how, but now
> I have an MPlayer on Windows that can seek to the large file offsets.

Sorry to resurrect a thread over a week old, and to comment to myself.

Looking back at the compile I made last week I noticed that I didn't have 
libmp3lame.

Looking through the archives I noted Nicholas Schell's posting from 
December 10th last year subject "Problem with changes to 
makefiles/configure & live555".

Having updated to the latest SVN last night (22297) and tried the following

$ make distclean
$ ./configure \
    --enable-runtime-cpudetection \
    --codecsdir=codecs \
    --enable-menu \
    --enable-static \
    --with-extralibdir=/home/mdsh/live \
    --with-extraincdir=/home/mdsh/live \
    --extra-libs='-lws2_32'

I also get the lots of errors in configure.log

============ Checking for XviD ============

#include <xvid.h>
int main(void) { xvid_global(0, 0, 0, 0); return 0; }

gcc -O4 -march=i486 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer 
-I/home/mdsh/live -I/home/mdsh/live/liveMedia/include 
-I/home/mdsh/live/UsageEnvironment/include 
-I/home/mdsh/live/BasicUsageEnvironment/include 
-I/home/mdsh/live/groupsock/include -static -L/home/mdsh/live -lwinmm 
-lws2_32 -lpng -lz -ljpeg -lungif -lz -ltheora -ladvapi32 -lole32 
/home/mdsh/live/liveMedia/libliveMedia.a 
/home/mdsh/live/groupsock/libgroupsock.a 
/home/mdsh/live/UsageEnvironment/libUsageEnvironment.a 
/home/mdsh/live/BasicUsageEnvironment/libBasicUsageEnvironment.a -lstdc++ 
-lopengl32 -lgdi32 -lwinmm -lgdi32  -o /tmp/mplayer-conf-26050-2404.o 
/tmp/mplayer-conf-17572-2404.c -lxvidcore -lm
C:/msys/1.0/home/mdsh/live/liveMedia/libliveMedia.a:MP3HTTPSource.cpp:(.text+0xcfa0): 
undefined reference to `connect at 12'
C:/msys/1.0/home/mdsh/live/liveMedia/libliveMedia.a:MP3HTTPSource.cpp:(.text+0xd0b7): 
undefined reference to `ntohs at 4'
C:/msys/1.0/home/mdsh/live/liveMedia/libliveMedia.a:MP3HTTPSource.cpp:(.text+0xd107): 
undefined reference to `closesocket at 4'
C:/msys/1.0/

<etc...>

Result is: no
##########################################

I haven't seen a solution to building mplayer on Windows with live555, 
unless I'm doing something wrong!

Any hints or suggestions would be gratefully received.

Thanks.

-- 
Mark Himsley



More information about the MPlayer-users mailing list