PDA

View Full Version : Media: WMV


glennzo
3rd April 2011, 09:51 PM
Folks, what are we using to play WMV files under Fedora these days? I've been trying to make this work for a couple hours now but all I get is audio without the video. Multiple players, Totem, Mplayer, VLC, etc.

Maybe I need to be more precise.

[glenn@phenom14 n800]$ file admin_fs_sec.wmv
admin_fs_sec.wmv: Microsoft ASF

AndrewSerk
3rd April 2011, 10:23 PM
Hello Glennzo,
Have you installed the binary codecs for xine and Mplayer: http://www.mplayerhq.hu/MPlayer/releases/codecs/

su -c "mkdir -p /usr/lib/codecs"
su -c "tar -jxvf all-20100303.tar.bz2 --strip-components 1 -C /usr/lib/codecs/"

glennzo
3rd April 2011, 11:24 PM
Oh yeah. I've done all that. Been doing it for years. Thanks for the suggestion though. I've installed everything under the sun, believe me. I've Googled for hours too. Seems most of the links returned are old.

RahulSundaram
3rd April 2011, 11:35 PM
Hi

Hate to ask the obvious but have you tried another wmv file and checked whether audio is in fact working on your system with a mp3 or something

glennzo
4th April 2011, 12:06 AM
Hi Rahul. Thanks for your input. Actually, that's the only file I've tried :rolleyes: Audio works, I get no video. When I posted this I was running F15 Beta. Now I'm running F14 x86_64. Let's see if it works with it...


Nope. I even followed the codec instructions at Fedora Solved. Slightly different than the instructions at mjmwired. I've also tried three different files.

tox
4th April 2011, 12:13 AM
so when you go to youtube.com you get Audio from the song but no video is that right?

glennzo
4th April 2011, 12:21 AM
so when you go to youtube.com you get Audio from the song but no video is that right?

No. All that stuff works just fine. I can view videos on the Internet, DVD's play, I can listen to my MP3's, etc. In general, media works fine. It's just the instructional wmv files I'm having trouble with.

tox
4th April 2011, 12:24 AM
what program are you using to try an play .wmv files in?

glennzo
4th April 2011, 12:39 AM
what program are you using to try an play .wmv files in?

Just about all of them. Totem, Mplayer, Xine, Gnome Mplayer, Realplayer, VLC. Here's a shot of what happens when I try with the default, Totem. Of course search yields nothing.

tox
4th April 2011, 12:43 AM
yeah i know all bout Totem, it sucks hardcore. i thought RealPlayer was dead? what about if you try audacious you'll have to get the wmv codec from RPMFusion

glennzo
4th April 2011, 12:57 AM
sudo yum install audacious audacious-plugins audacious-plugins-freeworld*

Same thing with Audacious. Audio, no video.

Then .....
sudo yum install audacious-plugins* --exclude=*uade*

Same thing. What WMV codec are you speaking of?

tox
4th April 2011, 01:31 AM
ok im wrong bout that codec, i must be thinking of another one ,

marko
4th April 2011, 01:55 AM
I always use vlc but then I don't play wmv files much

katastrophal
4th April 2011, 11:41 AM
hm. I guess you have tried gstreamer-plugins-ugly (that's where I believe the asf decoder is in). Maybe also try gstreamer-ffmpeg?

glennzo
4th April 2011, 11:47 AM
Hi katastrophal. Here's what's install on this system with regard to gstreamer.
[glenn@f15beta ~]$ rpm -qa | grep gstreamer
gstreamer-0.10.32-4.fc15.x86_64
gstreamer-python-0.10.19-2.fc15.x86_64
gstreamer-plugins-bad-nonfree-0.10.21-1.fc15.x86_64
PackageKit-gstreamer-plugin-0.6.13-1.fc15.x86_64
gstreamer-tools-0.10.32-4.fc15.x86_64
gstreamer-plugins-good-0.10.27-3.fc15.x86_64
gstreamer-plugins-bad-0.10.21-2.fc15.x86_64
gstreamer-plugins-bad-free-extras-0.10.21-3.fc15.x86_64
gstreamer-plugins-base-0.10.32-1.fc15.x86_64
gstreamer-ffmpeg-0.10.11-1.fc14.x86_64
gstreamer-plugins-ugly-0.10.17-2.fc15.x86_64
gstreamer-rtsp-0.10.7-3.fc15.x86_64
gstreamer-plugins-bad-free-0.10.21-3.fc15.x86_64


Thank you for your interest.

pforsell
4th April 2011, 11:58 AM
That CBT Nugget seems to be a pay site. Have you asked their customer support, perhaps the videos are encoded with a modified or custom codec?

Does any WMV play on your system? Can you play this?
mms://media1.smithsonian.museum/nasm/2008/2008_03_27_General_Electric_Lecture.wmv

On my laptop both Totem and Mplayer play this video without extra codecs besides the regular RPMFusion stuff.

Cheers,
Peter

bonedome
4th April 2011, 12:09 PM
Hello
could you play the vid with mplayer from the command line and post the result.
I have found that mplayer codec pack not as good as ffmpeg's with later wmvs, so mv /usr/lib/codecs to somewhere else so mplayer falls back on ffmpeg, of course you will need ffmpeg.
Also, I'll check later but I think gstreamer-plugins-bad-free-extras can cause some problems

Dangermouse
4th April 2011, 02:26 PM
All wmv works fine for me f15, i have done nothing special other than i used fedoraplus to install my codecs, so either the file you have is dodgy, or your missing something try fedoraplus, if it doesnt play after that then at least you know that you have the right rpms installed??????

Ps dont use dropbox or vbox options as there isnt f15 repo's for them yet...

glennzo
4th April 2011, 02:53 PM
That CBT Nugget seems to be a pay site. Have you asked their customer support, perhaps the videos are encoded with a modified or custom codec?

Does any WMV play on your system? Can you play this?
mms://media1.smithsonian.museum/nasm/2008/2008_03_27_General_Electric_Lecture.wmv

On my laptop both Totem and Mplayer play this video without extra codecs besides the regular RPMFusion stuff.

Cheers,
Peter

I can play all the CBT videos if I'm running Windows. The whole CBT package is browser based.

Can't check your sample file until this evening as I'm currently at work.

bepaald
4th April 2011, 10:11 PM
Could you post the terminal output you get when you try to play the file with mplayer? Before I downloaded the binary codecs, I too only got audio and mplayer said this (among other things) when playing a CBT wmv file:
Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wms10dmod.dll, /usr/lib/codecs/wms10dmod.dll
IMediaObject ERROR: 0x874b221 could not open DMO DLL (0x0 : 0)
Failed to create DMO filter
ERROR: Could not open required DirectShow codec wms10dmod.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x3253534D.
As you can see, it tells me it needs the wms10dmod.dll library, and sure enough, when extracting this codec package (http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2) (which contains that codec) to my home folder and running:
mplayer -codecpath ~/all-20110131/ /path/to/video.wmv
The file plays fine. So, since you already installed the binary codecs, I'm guessing your video requires another one, but can you tell me which one?

bepaald

glennzo
4th April 2011, 10:42 PM
@bepaald
[glenn@f15beta Documents]$ mplayer admin_fs_sec.wmv
MPlayer SVN-r32975-4.6.0 (C) 2000-2011 MPlayer Team
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 admin_fs_sec.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [MSS2] 640x480 24bpp 1000.000 fps 8.9 kbps ( 1.1 kbyte/s)
Clip info:
title: CBT Nuggets Training Videos
author: CBT Nuggets, Inc
copyright: 1999-2004 CBT Nuggets
comments: IT Certification Training Videos - www.cbtnuggets.com
Load subtitles in ./
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
================================================== ========================
Requested video codec family [wmsdmod] (vfm=dmo) not available.
Enable it at compilation.
Requested video codec family [wms10dmod] (vfm=dmo) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x3253534D.
================================================== ========================
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 1 ch, floatle, 16.0 kbit/3.12% (ratio: 2000->64000)
Selected audio codec: [ffwmavoice] afm: ffmpeg (WMA Voice audio (FFmpeg))
================================================== ========================
AO: [pulse] 16000Hz 1ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A: 5.0 (05.0) of 1999.2 (33:19.1) ??,?%
[wmavoice @ 0x3ea5d264e0]WMAPro-in-WMAVoice support not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.

bonedome
4th April 2011, 10:43 PM
Interesting, with ffmpeg installed I get Opening video decoder: [dmo] DMO video codecs
Win32 LoadLibrary failed to load: wmvdmod.dll, /usr/lib/codecs/wmvdmod.dll
IMediaObject ERROR: 0x874b221 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://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
and that wmv posted above plays fine, also if I use mplayer -codecpath /usr/local/lib/codecs/ mms://media1.smithsonian.museum/nasm/2008/2008_03_27_General_Electric_Lecture.wmvI get Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)and again it plays fine, I have found 720p video plays much better using the first method (ffmpeg's libavcodec) on my old laptop, the audio begins to go out of sync quite quickly using the mplayer codec package
oops posts overlaped there, do you have the codec package in /usr/lib it doesn't get found if it's in local you'll have to use the -codecpath command

glennzo
4th April 2011, 11:56 PM
@ bonedome. I can play the GE lecture file without issue.

Time to say "uncle" to me being able to play this file under Linux. I've tried, many have offered helpful suggestions and I appreciate it but it's not important enough to make me want to spend hours trying. Thanks to everyone for the help.

Dangermouse
5th April 2011, 10:07 AM
Glenn, send me, or give me a link to download the file you cant play..

Danshui Travel Photos - Al Jahra Travel Photos - Jatoba Travel Photos