Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125572 - mplayer-bin-1.0..20060217 cannot play wmv9 files
Summary: mplayer-bin-1.0..20060217 cannot play wmv9 files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 125642 126201 127622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-09 01:10 UTC by Jan Jitse Venselaar
Modified: 2006-03-30 10:20 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Jitse Venselaar 2006-03-09 01:10:10 UTC
The old version (1.0_pre7-r3) did play them. It shows the following message:

MPlayer dev-CVS-060217-05:46-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; Sempron Palermo (Family: 15, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


91 audio & 206 video codecs
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing supermariobos.wmv.
ASF file format detected.
VIDEO:  [WMV3]  640x480  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name:
 author:
 copyright:
 comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Opening video filter: [scale]
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmv9dmod.dll, /usr/lib/win32/wmv9dmod.dll, /usr/local/lib/win32/wmv9dmod.dll
IMediaObject ERROR: 0x857f4ee  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmv9dmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://mplayerhq.hu/homepage/dload.html
VDecoder init failed :(
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmvdmod.dll, /usr/lib/win32/wmvdmod.dll, /usr/local/lib/win32/wmvdmod.dll
IMediaObject ERROR: 0x857f4ee  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmvdmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://mplayerhq.hu/homepage/dload.html
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x33564D57.
Read DOCS/HTML/en/codecs.html!
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   9.3 (09.3) of 81.0 (01:21.0)  0.3%
Exiting... (Quit)

The old version showed the following, playing the same file:

MPlayer 1.0pre7try2-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices  (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


85 audio & 196 video codecs
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing supermariobos.wmv.
ASF file format detected.
VIDEO:  [WMV3]  640x480  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name:
 author:
 copyright:
 comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Opening video filter: [scale]
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:921600  align:1
StreamCount r=0x0  1  1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU   ▒
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
VO: [xv] 640x480 => 640x480 Planar YV12  [fs]
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/6ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 6ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/6ch/s16le...
Starting playback...
A:  83.3 V:  83.3 A-V:  0.001 ct: -0.046 2023/2023  5%  1%  0.5% 0 0 0%

Exiting... (End of file)


emerge --info:

Portage 2.1_pre5-r4 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-suspend2-r8 x86_64)
=================================================================
System uname: 2.6.15-suspend2-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1, 2.16.91.0.5, 2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="en nl en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="amd64 16bit X a52 aac acpi akode alsa avi bash-completion bitmap-fonts browserplugin bzip2 cairo cdparanoia cdr crypt cscope dbus dlloader dri dts dv dvd dvdread dvi eds emboss encode exif ffmpeg firefox flac font-server foomaticdb gcj gif glitz glut gphoto2 gpm graphviz gstreamer hal idn imagemagick imlib java jikes joystick jpeg kde kdeenablefinal lcms live lm_sensors logitech-mouse lzo lzw lzw-tiff mad mmap mng mono motif mp3 mpeg mplayer musepack ncurses network nfs nls nntp nptl nptlonly nvidia ogg opengl oss pdf pdflib perl pic png profile python qt quicktime readline rtc sblive sdl source spell ssl subversion svg t1lib tcpd tetex tga theora tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales v4l2 vim-with-x visualization vorbis x264 xanim xine xml2 xpm xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_nl linguas_en_US userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2006-03-09 15:12:46 UTC
*** Bug 125642 has been marked as a duplicate of this bug. ***
Comment 2 Dmitrij D. Czarkoff 2006-03-12 22:35:34 UTC
The same stuff:

ddc@czarkerlaptop ~ $ mplayer-bin -ao null ~/some/file.wmv
MPlayer dev-CVS-060217-05:46-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Clawhammer; Athlon 64 X2 Toledo; Turion Newark,Lancaster (Family: 15, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


91 audio & 206 video codecs
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /home/ddc/some/file.wmv.
ASF file format detected.
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name:
 author:
 copyright:
 comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
==========================================================================
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmv9dmod.dll, /usr/lib/win32/wmv9dmod.dll, /usr/local/lib/win32/wmv9dmod.dll
IMediaObject ERROR: 0x857f4ee  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmv9dmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://mplayerhq.hu/homepage/dload.html
VDecoder init failed :(
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmvdmod.dll, /usr/lib/win32/wmvdmod.dll, /usr/local/lib/win32/wmvdmod.dll
IMediaObject ERROR: 0x857f4ee  could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wmvdmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://mplayerhq.hu/homepage/dload.html
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x33564D57.
Read DOCS/HTML/en/codecs.html!
==========================================================================
AO: [null] 32000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
Comment 3 Volker Hemmann 2006-03-13 11:24:37 UTC
Hi,

I had the same problem.

Reason: /usr/lib/win32 is not existant, and mplayer-bin does not look into /opt/mplayer-bin/lib/win32

A symlink from /opt/mplayer-bin/lib/win32 to /usr/lib/win32 solved the problem.
Comment 4 Herbie Hopkins (RETIRED) gentoo-dev 2006-03-14 04:28:17 UTC
dang: Are you aware of this problem? Looks like you compiled the binary with
win32codecs dir set to /usr/lib/win32 instead of /opt/mplayer-bin/lib/win32.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 11:41:49 UTC
*** Bug 126201 has been marked as a duplicate of this bug. ***
Comment 6 Gabriel San Roman 2006-03-14 12:54:05 UTC
Actually on AMD64 the files are located in /usr/lib32/win32, logical because these are 32-bit libs,  but mplayer-bin still links to /usr/lib/win32

at the end of the ebuild it says 

dosym /usr/$(get_libdir)/win32 /opt/mplayer-bin/lib/win32

these line should be different on AMD64 something like

dosym /usr/lib32/win32 /opt/mplayer-bin/lib/win32

Comment 7 Simon Stelling (RETIRED) gentoo-dev 2006-03-14 13:01:45 UTC
> these line should be different on AMD64 something like
> 
> dosym /usr/lib32/win32 /opt/mplayer-bin/lib/win32

that's what $(get_libdir) resolves to when ABI=x86 is set, which is the case, so that's surely not the problem
Comment 8 Danny van Dyk (RETIRED) gentoo-dev 2006-03-14 15:54:26 UTC
The problem is, that mplayer-bin is hardcoded to look into /usr/lib/win32
(and /usr/local/lib/win32).

Herbs: Can you create a new mplayer-bin version with this path problem fixed?
There is a configure option for this particular purpose.

--with-win32libdir=DIR   W*ndows DLL files in DIR <--
Comment 9 Herbie Hopkins (RETIRED) gentoo-dev 2006-03-15 01:51:17 UTC
(In reply to comment #8)
> Herbs: Can you create a new mplayer-bin version with this path problem fixed?
> There is a configure option for this particular purpose.

Dang usually maintains mplayer-bin, but if he's not able to for some reason then sure.
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-03-15 09:51:55 UTC
Odd.  I did compile it with --with-win32libdir=/opt/mplayer/lib/win32, and strings showed up before, but it's not there now.  (Apparently, I had a symlink lying around, so it works for me)  I must have pushed the wrong package or something.  I'll rebuild.
Comment 11 Dmitrij D. Czarkoff 2006-03-17 01:12:23 UTC
After "sudo ln -s /usr/lib32/win32 /usr/lib64/win32" wmv9 movies are played normally, so hardcoding Mplayer to look to /usr/lib/win32 seems to be the case.
Comment 12 Chad A. Simmons 2006-03-17 17:06:21 UTC
confirmed here adding symlink resolves issue

ln -sf /opt/mplayer-bin/lib/win32/ /usr/lib/win32 
Comment 13 Malcolm Lashley (RETIRED) gentoo-dev 2006-03-26 03:39:46 UTC
*** Bug 127622 has been marked as a duplicate of this bug. ***
Comment 14 Tommy McDaniel 2006-03-26 11:05:03 UTC
Is this going to get fixed any time soon?
Comment 15 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-03-30 10:20:33 UTC
Fixed by mplayer-bin-1.0.20060302.  SOrry for the delay.