Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble playing wmv file with mplayer or vlc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Fri Nov 09, 2007 6:43 pm    Post subject: Trouble playing wmv file with mplayer or vlc Reply with quote

I've been trying to play a wmv file, but can't manage it with either mplayer or vlc

There's 3 errors in play here, so bear with me

mplayer was complaining of not having the wmsdmod video codec available
wmsdmod.dll is part of the win32codecs pack, so I added win32codecs to my mplayer USE flags and emerged
Code:
# emerge mplayer -avt
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-1.0_rc2_p24929  USE="3dnow 3dnowext X a52 aac alsa dts dvd gif gtk iconv ipv6 jpeg live mad mmx mp3 opengl png quicktime real sdl sse sse2 theora truetype unicode xanim xv -aalib (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dv -dvb -enca -encode -esd -fbcon -ftp -ggi -ivtv -jack -joystick -ladspa -libcaca -lirc -livecd -lzo -md5sum -mmxext -mp2 -musepack -nas -nemesi -openal -oss -pnm -pulseaudio -pvr -radio -rar -rtc -samba -speex -srt -ssse3 (-svga) -teletext -tga -tivo -v4l -v4l2 (-vidix) -vorbis (-win32codecs) -x264 -xinerama -xvid -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB

Notice how portage still lists the use flag as (-win32codecs). What do the parenthesis mean?
I still get the same error output from mplayer:

ERROR 1:
Code:
$ mplayer http://www.ieee.org/portal/cms_docs_iportals/iportals/membership/gold/BusEntrep_Sept07.wmv
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3800+ (Family: 15, Model: 79, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing http://www.ieee.org/portal/cms_docs_iportals/iportals/membership/gold/BusEntrep_Sept07.wmv.
Resolving www.ieee.org for AF_INET6...
Couldn't resolve name for AF_INET6: www.ieee.org
Resolving www.ieee.org for AF_INET...
Connecting to server www.ieee.org[64.132.49.145]: 80...
STREAM_ASF, URL: http://www.ieee.org/portal/cms_docs_iportals/iportals/membership/gold/BusEntrep_Sept07.wmv
Resolving www.ieee.org for AF_INET6...
Couldn't resolve name for AF_INET6: www.ieee.org
Resolving www.ieee.org for AF_INET...
Connecting to server www.ieee.org[64.132.49.146]: 80...
Stream not seekable!
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [MSS2]  704x528  24bpp  1000.000 fps  200.0 kbps (24.4 kbyte/s)
Clip info:
 name: IEEE GOLD Online Seminar
 author: Kevin Krauss
 comments: Microsoft Office LiveMeeting 2005 Replay.  Recorded on Wednesday, September 26, 2007 2:07:10 PM PDT
==========================================================================
Requested video codec family [wmsdmod] (vfm=dmo) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x3253534D.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Requested audio codec family [wma9spdmo] (afm=dmo) not available.
Enable it at compilation.
Requested audio codec family [wma9spdshow] (afm=dshow) not available.
Enable it at compilation.
Cannot find codec for audio format 0xA.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video
Exiting... (End of file)



VLC freezes when when I try to play the wmv, complaining of `no suitable decoder module for fourcc`:

ERROR 2:
Code:
$ vlc http://www.ieee.org/portal/cms_docs_iportals/iportals/membership/gold/BusEntrep_Sept07.wmv
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-glide' '--enable-a52' '--disable-aa' '--enable-alsa' '--disable-altivec' '--disable-arts' '--disable-bonjour' '--disable-fribidi' '--disable-cdda' '--disable-cddax' '--disable-libcddb' '--disable-libcdio' '--disable-daap' '--enable-dbus' '--enable-dbus-control' '--disable-dirac' '--disable-directfb' '--disable-dc1394' '--enable-dca' '--disable-dv' '--disable-dvb' '--enable-dvdread' '--enable-dvdplay' '--enable-dvdnav' '--disable-esd' '--disable-faad' '--disable-fb' '--disable-ffmpeg' '--disable-flac' '--disable-fluidsynth' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--enable-hal' '--disable-httpd' '--disable-id3tag' '--disable-jack' '--disable-caca' '--disable-libgcrypt' '--disable-notify' '--disable-libtar' '--disable-lirc' '--enable-live555' '--disable-lua' '--enable-mkv' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mpc' '--disable-musicbrainz' '--enable-ncurses' '--enable-mozilla' 'XPIDL=/usr/lib64/mozilla-firefox' 'MOZILLA_CONFIG=/usr/lib64/mozilla-firefox/firefox-config' '--disable-ogg' '--enable-glx' '--enable-opengl' '--enable-galaktos' '--disable-optimize-memory' '--disable-oss' '--enable-png' '--disable-portaudio' '--disable-pvr' '--disable-qt4' '--disable-rtsp' '--disable-realrtsp' '--disable-smb' '--enable-sdl' '--disable-sdl-image' '--disable-shout' '--disable-skins2' '--disable-speex' '--disable-sout' '--enable-svg' '--disable-svgalib' '--disable-taglib' '--enable-theora' '--enable-freetype' '--disable-twolame' '--disable-upnp' '--disable-v4l' '--disable-v4l2' '--disable-vcd' '--disable-vcdx' '--disable-vorbis' '--disable-loader' '--disable-wxwidgets' 'WX_CONFIG=' '--enable-x11' '--enable-screen' '--disable-x264' '--disable-xinerama' '--disable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-xvmc' '--disable-zvbi' '--disable-libvc1' '--disable-snapshot' '--disable-growl' '--disable-pth' '--disable-optimizations' '--enable-utf8' '--enable-libtool' '--enable-fast-install' '--disable-vlm' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe' 'CXXFLAGS=-O2 -pipe'
[00000001] main libvlc debug: translation test: code is "C"
Remote control interface initialized. Type `help' for help.
[00000274] main decoder error: no suitable decoder module for fourcc `wmas'.
VLC probably does not support this sound or video format.
[00000309] main decoder error: no suitable decoder module for fourcc `MSS2'.
VLC probably does not support this sound or video format.



When I try to emerge win32codecs separately, it dies with a blocked package error.
I tried emerge --sync and emerge portage, but no difference.

ERROR 3:
Code:
$ emerge -pvt win32codecs
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild  N    ] media-libs/win32codecs-20071007-r1  USE="quicktime real" 13,540 kB
[ebuild  N    ]  virtual/libstdc++-3.3  0 kB
[ebuild  N F  ]  media-video/realplayer-10.0.9  USE="X nsplugin" 6,490 kB
[ebuild  N    ]   app-emulation/emul-linux-x86-compat-1.0-r3  1,201 kB
[ebuild  N    ]   app-arch/rpm2targz-9.0-r6  0 kB
[ebuild  NS   ]  sys-devel/gcc-3.3.6-r1  USE="fortran gtk nls (-altivec) -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 23,534 kB
[blocks B     ] =sys-devel/gcc-3.3* (is blocking app-emulation/emul-linux-x86-compat-1.0-r3)
Total: 6 packages (5 new, 1 in new slot, 1 block), Size of downloads: 44,763 kB
Fetch Restriction: 1 package (1 unsatisfied)
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Nov 09, 2007 7:10 pm    Post subject: Reply with quote

win32codecs is blocked because you're using a 64-bit system, and that package only works with a 32-bit x86 mplayer (the parenthesis means that the use flag is masked).

mplayer can play most wmv/asf files via the internal ffmpeg codecs, but apparently not this one.

I just tried it here and got the same error, and this is the first wmv file I've come across that mplayer couldn't handle in a long time.

The possible solutions are to use the 32-bit mplayer-bin package (presuming you have a multilib install), or set up a 32-bit chroot.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Fri Nov 09, 2007 10:09 pm    Post subject: Reply with quote

Hopeless wrote:
The possible solutions are to use the 32-bit mplayer-bin package (presuming you have a multilib install), or set up a 32-bit chroot.


Maybe I'm not setup with multilib, which is why mplayer-bin also complains the same way win32codecs did.
Code:
# emerge mplayer-bin -pvt

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] media-video/mplayer-bin-1.0_rc1-r3  6,569 kB
[ebuild  N    ]  app-emulation/emul-linux-x86-medialibs-10.2  1,584 kB
[ebuild  N    ]  media-libs/win32codecs-20071007-r1  USE="quicktime real" 13,540 kB
[ebuild  N    ]   virtual/libstdc++-3.3  0 kB
[ebuild  N F  ]   media-video/realplayer-10.0.9  USE="X nsplugin" 6,490 kB
[ebuild  N    ]    app-emulation/emul-linux-x86-compat-1.0-r3  1,201 kB
[ebuild  N    ]    app-arch/rpm2targz-9.0-r6  0 kB
[ebuild  N    ]  app-emulation/emul-linux-x86-sdl-10.1  1,443 kB
[nomerge      ] virtual/libstdc++-3.3 
[ebuild  NS   ]  sys-devel/gcc-3.3.6-r1  USE="fortran gtk nls (-altivec) -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 23,534 kB
[blocks B     ] =sys-devel/gcc-3.3* (is blocking app-emulation/emul-linux-x86-compat-1.0-r3)

Total: 9 packages (8 new, 1 in new slot, 1 block), Size of downloads: 54,358 kB
Fetch Restriction: 1 package (1 unsatisfied)


But I built my system from scratch a month ago with the default profile (which has multilib support turned on).
How does one verify multilib / non-multilib support?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Nov 09, 2007 10:29 pm    Post subject: Reply with quote

I'm sorry, I didn't actually read the last problem you had closely enough.

The block is caused by virtual/libstdc++ tring to pull in gcc 3.3 by default, when sys-libs/libstdc++-v3-3.3 can be used instead and is not blocked by the emul package, read more about this issue here.

Just `emerge -1 sys-libs/libstdc++-v3` first, and then there shouldn't be any more blockage (and you won't need to compile gcc 3.3 either).
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Sat Nov 10, 2007 5:53 pm    Post subject: Reply with quote

Hopeless wrote:
emerge -1 sys-libs/libstdc++-v3`

Yes, that corrects the problem.

The wmv-file works with mplayer-bin.

I had to remove the real flag in my /etc/make.conf because realplayer requires you to fetch its sources manually (it's mentioned in `man emerge`)...and I didn't want to go through the trouble :) . But that shouldn't be much of a problem since mplayer has real support built in, as discussed in this thread: Mplayer and realmedia

Thank you for all your help Hopeless!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum