LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mplayer crashing when running certain .wmv files (https://www.linuxquestions.org/questions/linux-newbie-8/mplayer-crashing-when-running-certain-wmv-files-148193/)

eddyh 02-19-2004 06:29 PM

Mplayer crashing when running certain .wmv files
 
Good Afternoon,

I am having problems with mplayer crashing when viewing certain types of wmv files. Following is the message I recieve when I run it from a command line.

Playing Family Guy - All Are beutiful.wmv.
ASF file format detected.
============ ASF Stream group == START ===
object size = 38
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0x4508][17672]
stream id=[0x2][2]
max bitrate=[0x221a4][139684]
============ ASF Stream group == END ===
VIDEO: [WMV3] 320x240 24bpp
Clip info:
name:
author:
copyright:
comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 1 ch, 16 bit (0x10), ratio: 2000->32000 (16.0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs


MPlayer interrupted by signal 11 in module: init_video_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Segmentation fault


I have installed the extralite rpm and several codecs. Listed below are all of the codecs in my /usr/lib/win32 directory. I installed mplayer using synaptic over apt. I am running fedora core 1.0 Any help would be greatly appreciated. Thanks in advance.

14_4.so.6.0 divxc32.dll ir41_32.dll msscds32.ax ubv263d+.ax
28_8.so.6.0 divxdec.ax ir50_32.dll msvidc32.dll ubvmp4d.dll
3ivX.qtx divx.dll ivvideo.dll mvoiced.vwp ultimo.dll
acelpdec.ax DivX MPEG-4 Codec and Its Interface.htm jp2avi.dll nsrt2432.acm vgpix32d.dll
alf2cd.acm dnet3260.dll l3codeca.acm On2_VP3.qtx vid_3ivX.xa
asusasv2.dll dnet.so.6.0 l3codecx.ax pclepim1.dll vivog723.acm
asusasvd.dll drv13260.dll LCodcCMP.dll pncrt.dll voxmsdec.ax
ativcr2.dll drv23260.dll lhacm.acm portab.h vp31vfw.dll
atrac3.acm drv2.so.6.0 libdivxdecore.so qdv.dll vp4vfw.dll
atrc3260.dll drv33260.dll libdivxencore.so qpeg32.dll vssh264core.dll
atrc.so.6.0 drv3.so.6.0 m3jp2k32.dll qtmlClient.dll vssh264dec.dll
avimszh.dll drv4.so.6.0 m3jpeg32.dll QuickTimeEssentials.qtx vssh264.dll
avizlib.dll dspr3260.dll m3jpegdec.ax QuickTimeInternetExtras.qtx vsslight.dll
BeHereiVideo.qtx dspr.so.6.0 mcdvd_32.dll QuickTime.qts vsswlt.dll
CLRVIDDC.DLL encore2.h mcmjpg32.dll rt32dcmp.dll wma9dmod.dll
clrviddd.dll huffyuv.dll mpg4c32.dll sipr3260.dll wmadmod.dll
cook3260.dll i263_32.drv mpg4ds32.ax sipr.so.6.0 wmspdmod.dll
cook.so.6.0 iccvid.dll msadp32.acm sp5x_32.dll wmv8ds32.ax
CtWbJpg.DLL icmw_32.dll msg711.acm tm20dec.ax wmv9dmod.dll
ddnt3260.dll imaadp32.acm msgsm32.acm tokf.so.6.0 wmvdmod.dll
ddnt.so.6.0 imc32.acm msh261.drv tokr3260.dll wmvds32.ax
decore.h Indeo4.qtx msms001.vwp tokr.so.6.0 ZyGoVideo.qtx
divxa32.acm install.sh msnaudio.acm tsccvid.dll
divx_c32.ax ir32_32.dll msrle32.dll tssoft32.acm

Demonbane 02-19-2004 06:49 PM

I had a similar problem, try playing the wmv as root, if it works then you have the same problem I had, though right now I can't remember on top of my head how I fixed it.

eddyh 02-19-2004 07:02 PM

Sorry I didn't put this in the first post. I get the same error whether I run it as root or my generic profile. Thanks for the quick response though.

Demonbane 02-19-2004 07:07 PM

hmm, try compiling mplayer from the source, or use an older version.

DrOzz 02-19-2004 07:09 PM

just for troubleshooting purposes, just because i have no idea why that is happening, but maybe try a different video output ...
type :
mplayer -vo help
to get a list of the different ones ... i think its using x11 by looking at the output ...
so maybe try something like :
mplayer -vo xv movie.wmv

and see if you have any change ..

oryan_dunn 09-01-2004 09:58 PM

Quote:

Originally posted by Demonbane
I had a similar problem, try playing the wmv as root, if it works then you have the same problem I had, though right now I can't remember on top of my head how I fixed it.
I have the same problem, mplayer will play wmv fine as either root or my user, but xine will only play some of my wmv files as root. Is there any way you can figure out what you did?

Thanks in adavance

Demonbane 09-01-2004 10:39 PM

It's been a while and everything has been working fine ever since so can't really help you there.

One thing I can suggest is make sure you have the latest win32codecs, and compile the latest xine-lib and friends from source, if you haven't already.

Or just stick with MPlayer

clausawits 04-01-2005 03:20 PM

Quote:

Originally posted by DrOzz
just for troubleshooting purposes, just because i have no idea why that is happening, but maybe try a different video output ...
type :
mplayer -vo help
to get a list of the different ones ... i think its using x11 by looking at the output ...
so maybe try something like :
mplayer -vo xv movie.wmv

and see if you have any change ..

Thread resuresction here.. I have the same problems as eddyh.. I tried with mplayer -vo xv [moviename].wmv but the result was still the same failure..

Code:

==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
External func OLEAUT32.dll:8
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested


MPlayer interrupted by signal 11 in module: init_video_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Segmentation fault

Still no go? My past experiences trying to get MPlayer working from source leave me quite a bit less than eager to "Recompile MPlayer with --enable-debug ..."

Any help or pointing in the right direction is much appreciated..

This is with FC2 with fresh "yum update"... this is the first time I've ever encountered a video that MPlayer can't play.. :/ I scoured the net for codecs about a year ago..

raid517 04-04-2005 09:05 PM

Hi, this is a long shot I guess as this thread seems to have gone quiet - but I have a similar problem where I can't play any .wmv or .wma (or real player for that matter) files at all, no matter if I use xine or mplayer - or indeed any media player like vlc.

I know I need to have the latest win32 drivers installed - which I do have

I also have the latest version of xorg and the ATI drivers installed - so it makes no sense to me why I should be unable to play these files.

Has anyone got any suggestions?

GJ

clausawits 05-25-2005 02:09 PM

Wow.. still nothing useful on this.. I hate when you get stuck in the backwaters of Linux...

Well, I happened to stumble back onto this problem, and stumbled onto more reading, which can be found here:
http://sourceforge.net/mailarchive/f...&forum_id=3438

It seems to insinuate that compiler version issues are at the root of the problem somehow.. and that a recompile is necessary in order to fix it.

A recompile of Mplayer (which I installed through Yum) is not exactly a convenient or newbie-friendly process, and I seem to recall that a compile of mplayer can be an especially tedious and trying process. I'm still on Fedora Core 2, and I doubt there's going to be any more work put into updating FC2 packages when FC4 is due out soonish.. so I guess I'm S.O.L. until I go to FC3 or FC4.. or whatever..

Anybody have easier solutions?

__J 05-25-2005 02:26 PM

Quote:

Originally posted by clausawits
Wow.. still nothing useful on this.. I hate when you get stuck in the backwaters of Linux...

Well, I happened to stumble back onto this problem, and stumbled onto more reading, which can be found here:
http://sourceforge.net/mailarchive/f...&forum_id=3438

It seems to insinuate that compiler version issues are at the root of the problem somehow.. and that a recompile is necessary in order to fix it.

A recompile of Mplayer (which I installed through Yum) is not exactly a convenient or newbie-friendly process, and I seem to recall that a compile of mplayer can be an especially tedious and trying process. I'm still on Fedora Core 2, and I doubt there's going to be any more work put into updating FC2 packages when FC4 is due out soonish.. so I guess I'm S.O.L. until I go to FC3 or FC4.. or whatever..

Anybody have easier solutions?

compiling mplayer is not that hard. regarding compiling, yeah you will have some hard times when starting out but that's how you learn. after awhile, it becomes second nature.

make sure you have a development environment ( if you have compiled things before you should have everything you need), if you want a gui make sure you have gtk+-1.2.x-devel and glib-1.2.x-devel, and optionally libpng-devel installed.

then ./configure --prefix=<xxx> --enable-gui --with-codecsdir=<xxx>

if you already have the win32codecs installed make sure you put that directory above for codecsdir. it's a good idea to always do ./configure --help and see what you want/don't want too.

leadazide 05-25-2005 02:43 PM

Maybe just try another sound output like mplayer -ao oss or -ao alsa.

clausawits 05-26-2005 11:09 AM

No, audio is fine. It's segfaulting on init_video_codec. If you delete/move/rename the offending codec, it will play the audio just fine (and it won't play any video).

I'm not going to recompile it. I've done recompiles before, and dependency chasing is not how I want to spend my time. Edit: I've also heard "but it's better now.." before too..

It would be neat if there was a "yum" type utility for dependency chasing with recompiling, heh.. <joke>I guess there is, called "Gentoo"..</joke>

Note: I don't mean to be offensive or dismissive to anybody's advice or to linux or people who have the skills and patience to do lots of compiling by hand. I'm just not going to bother with recompiles on a package-managed system. In my experiences it was a pain and could royally fubar the package manager for the future.


All times are GMT -5. The time now is 07:26 PM.