I have mplayer 0.50 working on a modified Slackware 7.0 system, but only for some media types. I can play .mpg files but not .avi files. Trying to play any of the .avi files I have produces the following output: babylon5:alaric:~:1 $ mplayer Movies/Biaggi.avi MPlayer 0.50 (C) 2000-2001 Arpad Gereoffy (see DOCS!) Reading /home/alaric/.mplayer/codecs.conf: 18 audio & 40 video codecs Font /home/alaric/.mplayer/font/font.desc loaded successfully! (206 chars) Playing Movies/Biaggi.avi Detected AVI file format! MainAVIHeader.dwFlags: (16) HAS_INDEX AVI_NI: No Audio stream found... ->nosound AVI: No Audio stream found... ->nosound VIDEO: [CRAM] 240x180 16bpp 15.00 fps 1098.3 kbps (134.1 kbyte/s) [V] filefmt:3 fourcc:0x4D415243 size:240x180 fps:15.00 ftime:=0.0667 Detected video codec: [cram] drv:2 (Microsoft Video 1) ERROR: Couldn't allocate memory for fs segment: Bad file descriptor Loading DLL: 'msvidc32.dll' Error no 9 VirtualAlloc(0x0x7d4b0000, 65536) failed Error no 9 VirtualAlloc(0x(nil), 65536) failed Win32 LoadLibrary failed to load: msvidc32.dll, /usr/local/share/mplayer/win32/msvidc32.dll, /usr/lib/win32/msvidc32.dll, /usr/local/lib/win32/msvidc32.dll Can't open library msvidc32.dll MPlayer interrupted by signal 11 in module: init_video_codec babylon5:alaric:~:2 $ The dll varies with the specific file (this one requires msvidc32.dll, the others I have require ir41_32.dll or ir50_32.dll), but the actual error is always the same. Can anyone point me at a probable source for the problem? All paths and file permissions are correct. -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
Hi,
Detected video codec: [cram] drv:2 (Microsoft Video 1) ERROR: Couldn't allocate memory for fs segment: Bad file descriptor Loading DLL: 'msvidc32.dll' Error no 9 VirtualAlloc(0x0x7d4b0000, 65536) failed Error no 9 VirtualAlloc(0x(nil), 65536) failed Win32 LoadLibrary failed to load: msvidc32.dll, /usr/local/share/mplayer/win32/msvidc32.dll, /usr/lib/win32/msvidc32.dll, /usr/local/lib/win32/msvidc32.dll Can't open library msvidc32.dll
MPlayer interrupted by signal 11 in module: init_video_codec
strange. 1. do you have the dlls installed, and have read/exec rights for them? 2. do you have any security kernel patches? openwall etc, i mean patches which modify dynamic library loading address. 3. did you RTFM?
The dll varies with the specific file (this one requires msvidc32.dll, the others I have require ir41_32.dll or ir50_32.dll), but the actual error is always the same. read docs/bugreports, about how to send gdb log of the crash, and make it with the indeo 5 codec (cram is broken anyway). and try CVS version first.
A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu
On Sat, Nov 03, 2001 at 04:43:33AM +0200, Arpi wrote:
strange. 1. do you have the dlls installed, and have read/exec rights for them?
Yes.
2. do you have any security kernel patches? openwall etc, i mean patches which modify dynamic library loading address.
No.
3. did you RTFM?
Yes.
read docs/bugreports, about how to send gdb log of the crash, and make it with the indeo 5 codec (cram is broken anyway). and try CVS version first.
OK, that'll take me a little while. -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
On Sat, 3 Nov 2001, Arpi wrote:
1. do you have the dlls installed, and have read/exec rights for them?
exec rights? why would dlls need exec rights? it works fine here WITHOUT exec rights.
On Sat, Nov 03, 2001 at 04:43:33AM +0200, Arpi wrote:
read docs/bugreports, about how to send gdb log of the crash, and make it with the indeo 5 codec (cram is broken anyway). and try CVS version first.
OK. 1) I tried building from mplayer-current this morning. It fails to build as follows: /opt/gcc2/bin/gcc -c -W -Wall -O2 -march=k6 -mcpu=k6 -g -D_REENTRANT -I. -I.. -I/usr/X11/include -I/usr/X11/include/SDL -D_REENTRANT -I/usr/include -DMPG12PLAY -o vo_mpegpes.o vo_mpegpes.c vo_mpegpes.c:34: ost/dmx.h: No such file or directory vo_mpegpes.c:35: ost/frontend.h: No such file or directory vo_mpegpes.c:36: ost/sec.h: No such file or directory vo_mpegpes.c:37: ost/video.h: No such file or directory vo_mpegpes.c:38: ost/audio.h: No such file or directory make[1]: *** [vo_mpegpes.o] Error 1 make[1]: Leaving directory `/usr/src/MPlayer-20011105/libvo' make: *** [libvo/libvo.a] Error 2 So then (2) I went back to 0.50 and created a debug build. I can't get a coredump out of it, it's not generating a SEGV, and when I run it in gdb and try to generate a crash log, I get a no-stack/no-registers error from gdb. It's not *crashing*, it's terminating with an error result. Here's the verbose output: MPlayer 0.50 (C) 2000-2001 Arpad Gereoffy (see DOCS!) Reading /home/alaric/.mplayer/codecs.conf: 18 audio & 40 video codecs CommandLine: '-v' '/home/alaric/Movies/HangOn.avi' num_filenames: 1 Font /home/alaric/.mplayer/font/font.desc loaded successfully! (206 chars) Playing /home/alaric/Movies/HangOn.avi File size is 493568 bytes Detected AVI file format! ======= AVI Header ======= us/frame: 40000 (fps=25.000) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 420 initial: 0 streams: 1 Suggested BufferSize: 0 Size: 160 x 120 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: iv50 (30357669) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 25000/1000 = 25.000 Start: 0 Len: 420 Suggested BufferSize: 2408 Quality 5000 Sample size: 0 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 160 biHeight 120 biPlanes 1 biBitCount 24 biCompression 808801865='IV50' biSizeImage 43200 =========================== Found movie at 0x180C - 0x76BB0 Reading INDEX block, 420 chunks for 420 frames AVI index offset: 6152 Auto-selected AVI video ID = 0 AVI_NI: No Audio stream found... ->nosound AVI: Searching for audio stream (id:-1) ds_fill_buffer: EOF reached (stream: audio) AVI: No Audio stream found... ->nosound AVI video length=476804 VIDEO: [IV50] 160x120 24bpp 25.00 fps 227.0 kbps (27.7 kbyte/s) [V] filefmt:3 fourcc:0x30355649 size:160x120 fps:25.00 ftime:=0.0400 Detected video codec: [indeo5ds] drv:4 (Intel Indeo 5) ERROR: Couldn't allocate memory for fs segment: Bad file descriptor Loading DLL: 'ir50_32.dll' Error no 9 VirtualAlloc(0x0x6d8c0000, 851968) failed Error no 9 VirtualAlloc(0x(nil), 851968) failed Win32 LoadLibrary failed to load: ir50_32.dll, /usr/local/share/mplayer/win32/ir50_32.dll, /usr/lib/win32/ir50_32.dll, /usr/local/lib/win32/ir50_32.dll ERROR: Couldn't open required DirectShow codec: ir50_32.dll Could not open DirectShow DLL: ir50_32.dllFATAL: module: DirectShow generic filter source: DS_Filter.cpp line 84 `"E@ package from: ftp://mplayerhq.hu/MPlayer/releases/w32codec.zip ! FATAL: Couldn't initialize video codec :( Exiting... (End of file) max framesize was 0 bytes See HangOn.avi in ftp://mplayerhq.hu/MPlayer/incoming/ System info: Slackware 7.0, extensively updated total used free shared buffers cached Mem: 255812 236580 19232 540 84484 86204 -/+ buffers/cache: 65892 189920 Swap: 530104 41792 488312 Linux babylon5 2.4.12-ac3 #1 Sun Oct 21 15:14:08 PDT 2001 i586 unknown libc: glibc-2.1.3 X version: AccelX 6.0 gcc version 2.95.3 20010315 (release) GNU ld version 2.11.2 (with BFD 2.11.2) GNU assembler 2.11.2 processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 9 model name : AMD-K6(tm) 3D+ Processor stepping : 1 cpu MHz : 455.323 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr bogomips : 907.67 Video: Matrox Millennium II, 8Mb Bus 0, device 9, function 0: VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millennium II] (rev 0). IRQ 14. Prefetchable 32 bit memory at 0xe7000000 [0xe7ffffff]. Non-prefetchable 32 bit memory at 0xe6000000 [0xe6003fff]. Non-prefetchable 32 bit memory at 0xe5800000 [0xe5ffffff]. AccelX-6.0 built-in accelerated driver Sound: Creative SoundBlaster PCI128 (ES1370) Bus 0, device 11, function 0: Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 1). IRQ 9. Master Capable. Latency=64. Min Gnt=12.Max Lat=128. I/O at 0xd000 [0xd03f]. Driver: OSS commercial v3.9.5f-Linux20-x86 with SoftOSS virtual mixer -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
Hi,
-I/usr/include -DMPG12PLAY -o vo_mpegpes.o vo_mpegpes.c vo_mpegpes.c:34: ost/dmx.h: No such file or directory vo_mpegpes.c:35: ost/frontend.h: No such file or directory vo_mpegpes.c:36: ost/sec.h: No such file or directory vo_mpegpes.c:37: ost/video.h: No such file or directory vo_mpegpes.c:38: ost/audio.h: No such file or directory make[1]: *** [vo_mpegpes.o] Error 1 make[1]: Leaving directory `/usr/src/MPlayer-20011105/libvo' make: *** [libvo/libvo.a] Error 2
already fixed. cola drinked. :)
Detected video codec: [indeo5ds] drv:4 (Intel Indeo 5) ERROR: Couldn't allocate memory for fs segment: Bad file descriptor ups.
Loading DLL: 'ir50_32.dll' Error no 9 VirtualAlloc(0x0x6d8c0000, 851968) failed ouch.
something is really very broken in your system, but i don't know what. all memory allocation stuff fails... VirtualAlloc() does mmap() of /dev/zero. maybe permissions problem?
Error no 9
#define EBADF 9 /* Bad file number */ there is no error checking for int fd=open("/dev/zero", O_RDWR); so it may failed, and returned -1, it's a bad file number then. A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu
On Mon, Nov 05, 2001 at 07:51:30PM +0200, Arpi wrote:
-I/usr/include -DMPG12PLAY -o vo_mpegpes.o vo_mpegpes.c vo_mpegpes.c:34: ost/dmx.h: No such file or directory vo_mpegpes.c:35: ost/frontend.h: No such file or directory vo_mpegpes.c:36: ost/sec.h: No such file or directory vo_mpegpes.c:37: ost/video.h: No such file or directory vo_mpegpes.c:38: ost/audio.h: No such file or directory make[1]: *** [vo_mpegpes.o] Error 1 make[1]: Leaving directory `/usr/src/MPlayer-20011105/libvo' make: *** [libvo/libvo.a] Error 2
already fixed. cola drinked. :)
Have another cola on me. :)
Detected video codec: [indeo5ds] drv:4 (Intel Indeo 5) ERROR: Couldn't allocate memory for fs segment: Bad file descriptor ups.
Loading DLL: 'ir50_32.dll' Error no 9 VirtualAlloc(0x0x6d8c0000, 851968) failed ouch.
something is really very broken in your system, but i don't know what. all memory allocation stuff fails...
VirtualAlloc() does mmap() of /dev/zero. maybe permissions problem?
Bingo! We have a winner! It never for one moment occurred to me to check for permissions on /dev/zero because I've never heard of anything writing to it. I'm guessing the mmap(/dev/zero) trick is to get a pre-zeroed chunk of memory? -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
Hi,
VirtualAlloc() does mmap() of /dev/zero. maybe permissions problem?
Bingo! We have a winner! It never for one moment occurred to me to check for permissions on /dev/zero because I've never heard of anything writing to it. I'm guessing the mmap(/dev/zero) trick is to get a pre-zeroed chunk of memory?
afaik it's for allocating memory in physical memory address space. (required, because win32 loader sets up segment descriptors to them... emulating windows kernel not too easy :)) but i've seen many use of it, mainly in emulators (dosemu, lrmi). A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu
Hi, I have a minor problem with GUI. When i start mplayer with neutron skin and after that resize it to full screen _before_ i start playing movie i cant set it back to normal size from the GUI-menu, but if i start movie and after that resize the window to full screen i can set it back to normal size from GUI-menu during the play and after the movie has finished. My mplayer is: MPlayer CVS-011102-23:09(C) Y: Tapani L.
Hali
ERROR: Couldn't open required DirectShow codec: ir50_32.dll Could not open DirectShow DLL: ir50_32.dllFATAL: module: DirectShow generic filter source: DS_Filter.cpp line 84 `"E@ package from: ftp://mplayerhq.hu/MPlayer/releases/w32codec.zip ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please download this package and install ;) Pontscho
On Mon, Nov 05, 2001 at 06:52:18PM +0100, Ponekker Zoltan wrote:
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html & http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
Hali
ERROR: Couldn't open required DirectShow codec: ir50_32.dll Could not open DirectShow DLL: ir50_32.dllFATAL: module: DirectShow generic filter source: DS_Filter.cpp line 84 `"E@ package from: ftp://mplayerhq.hu/MPlayer/releases/w32codec.zip ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please download this package and install ;)
I have. I just refreshed it this morning just in case. Wanna see the directory listing? :P You might want to glance at the preceding dozen lines: VIDEO: [IV50] 160x120 24bpp 25.00 fps 227.0 kbps (27.7 kbyte/s) [V] filefmt:3 fourcc:0x30355649 size:160x120 fps:25.00 ftime:=0.0400 Detected video codec: [indeo5ds] drv:4 (Intel Indeo 5) ERROR: Couldn't allocate memory for fs segment: Bad file descriptor Loading DLL: 'ir50_32.dll' Error no 9 VirtualAlloc(0x0x6d8c0000, 851968) failed Error no 9 VirtualAlloc(0x(nil), 851968) failed Win32 LoadLibrary failed to load: ir50_32.dll, /usr/local/share/mplayer/win32/ir50_32.dll, /usr/lib/win32/ir50_32.dll, /usr/local/lib/win32/ir50_32.dll The DLLs are there, and it's finding them just fine. It's failing to allocate memory to load them for some reason. -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
On Fri, 2 Nov 2001, Phil Stracchino wrote:
VIDEO: [CRAM] 240x180 16bpp 15.00 fps 1098.3 kbps (134.1 kbyte/s)
CRAM is broken according to Arpi's latest post to another question.
Hi,
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html & http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
On Fri, 2 Nov 2001, Phil Stracchino wrote:
VIDEO: [CRAM] 240x180 16bpp 15.00 fps 1098.3 kbps (134.1 kbyte/s)
CRAM is broken according to Arpi's latest post to another question.
it seems not only cram :( all old vfw codecs are broken somehow. i think the latest win32 loader changes caused it, but need some time to trace it down. i'll sync loader with avifile first, and see if it solves problems. if not, i should try old mplayer versions from cvs until i get the working one, then diff and see what changed. needs lots of time :( A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu
On Sat, Nov 03, 2001 at 07:49:10PM +0200, Arpi wrote:
On Fri, 2 Nov 2001, Phil Stracchino wrote:
VIDEO: [CRAM] 240x180 16bpp 15.00 fps 1098.3 kbps (134.1 kbyte/s)
CRAM is broken according to Arpi's latest post to another question.
it seems not only cram :( all old vfw codecs are broken somehow. i think the latest win32 loader changes caused it, but need some time to trace it down.
Will the debug crash log you asked me for help you isolate this, or would it be redundant at this point? -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
Hi,
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html & http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
On Sat, Nov 03, 2001 at 07:49:10PM +0200, Arpi wrote:
On Fri, 2 Nov 2001, Phil Stracchino wrote:
VIDEO: [CRAM] 240x180 16bpp 15.00 fps 1098.3 kbps (134.1 kbyte/s)
CRAM is broken according to Arpi's latest post to another question.
it seems not only cram :( all old vfw codecs are broken somehow. i think the latest win32 loader changes caused it, but need some time to trace it down.
Will the debug crash log you asked me for help you isolate this, or would it be redundant at this point? no, your problem is something else. indeo 5 codec works for us. so, please do that fuckin' log...
A'rpi / Astral & ESP-team -- mailto:arpi@thot.banki.hu http://esp-team.scene.hu
participants (6)
-
Arpi -
lanzz@lanzz.org -
Phil Stracchino -
Ponekker Zoltan -
Steve Stavropoulos -
Tapani Liukkonen