Log in

View Full Version : Mplayer win32 with >2gb file seeking?


nexx
18th March 2005, 09:14
I have a number of HDTV captures (as transport streams), and I'm after a win32 MPlayer version that can seek files greater than 2GB.

The only one I have been able to find is the Joey Parrish compiles (http://armory.nicewarrior.org/projects/cygmp/) - however it doesnt seem to handle high resolutions files very well at all. It stutters like mad on my Athlon 2500+

Any help appreciated :)

KpeX
18th March 2005, 16:13
Your mplayer version needs to be compiled with the '--enable-largefiles' switch passed to the configure script. I'm not sure which win32 compiles have this switch enabled, but it's fairly easy to compile yourself with cygwin/msys.

eLupus
22nd March 2005, 00:00
large file support in mingw won't work as far as i remember. You'd need a cygwin compile.

The mingw limitation can be worked around with some special headers, as we do in xbmc. But it's a hack.

The Collector
5th August 2005, 13:54
Ok, old threat, but the exact problem I have. I want to play a 4.4GB (dvdr-size) MKV file with Mplayer, this works just fine, but it can't seek!

1st I tried the Joey Perrish compile, it doesn't do anything... no options list, no error, just instantly returns to the command prompt.

Then the Cygwin adventure for the past few hours:
- installed it, incl devel-package
- unpacked the cvs and pre7 sources (both have same problem)
- unpacked the directx7 headers into the include folder
- unpacked win32 codecs
- ran './configure --enable-largefiles'> no problems
- ran 'make' > gives problem:

$ make
make -C libao2
make[1]: Entering directory `/MPlayer-current/MPlayer-20050805/libao2'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=athlon-t
bird -mtune=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOU
RCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -std=gnu99 -I. -I.. -I/usr/X11R
6/include -o ao_dsound.o ao_dsound.c
ao_dsound.c: In function `dserr2str':
ao_dsound.c:135: error: `DS_NO_VIRTUALIZATION' undeclared (first use in this fun
ction)
ao_dsound.c:135: error: (Each undeclared identifier is reported only once
ao_dsound.c:135: error: for each function it appears in.)
ao_dsound.c:152: error: `DSERR_ACCESSDENIED' undeclared (first use in this funct
ion)
make[1]: *** [ao_dsound.o] Error 1
make[1]: Leaving directory `/MPlayer-current/MPlayer-20050805/libao2'
make: *** [libao2/libao2.a] Error 2
(this is the output after retrying the 'make' command)

both the CVS and the pre7 sources give me this problem and google doesn't have much info on this...

My system: Athlon-Tbird 900mhz(@800mhz), 640mb ram, WinXP_SP2, GeForce 256/SDR (32Mb).

Thanks for any info on how to compile ;) (or maybe a finished compile :) )

The Collector
5th August 2005, 16:16
Seems I had two versions of the directx header files, it was using the wrong one! So after it was compiled it began nagging about a zillion cyg*.dll files once those were copied I played the MKV file and did a seek: "Cannot seek in this file." was mplayers answer... great, still didn't work...

Is there a way to get this seeking to work in this big mkv file?


I'm a bit tired, I ran the original mplayer.exe instead of the new one... and the newly compiled one didn't have any mpeg4 decoders compiled in *stupid*... ok, on to another compile round (takes long on a athlon800!)