PDA

View Full Version : [ubuntu] 9.04 won't play .wmv files-Please help diagnose



sofasurfer
July 11th, 2010, 05:05 AM
I have the "Multimedia How-To" installed on my Jaunty 9.04 pc. I can play all videos so far including streams. In fact, I was sure that I had played .wmv's before, but I could be wrong. I can't play .wmv's now.

I prefer using Kaffeine which has always been good to me. But under advice I have tried VLC and Movie Player. It appears that I connect with the site that has the .wmv video, and the black movie screen comes up, and the "play" button appears and I am able to toggle between "play" and "pause" but all I see is a black screen.

Since I just reinstalled Jaunty and reinstalled the "Multimedia How-To" I just verified that my other movie files work as does streaming. Only .wmv files are a problem.

Can someone please help me diagnose this?

Thanks.

jkid
July 11th, 2010, 05:12 AM
which browser are u using.

sofasurfer
July 11th, 2010, 06:00 AM
Using Firefox 3. I have always used Firefox. Now that you mention it though, I do not know how long I have been using v.3.

gandaran
July 11th, 2010, 11:49 AM
It appears that I connect with the site that has the .wmv video, and the black movie screen comes up, and the "play" button appears and I am able to toggle between "play" and "pause" but all I see is a black screen.
which player plugin do you have installed? just the default totem or any other?
check if gecko-mediaplayer is installed, if not install it, you can have these two plugins installed side by side (if you have more than these two I suggest you remove them), firefox knows how to use them but if you are not happy with the default firefox settings you can change the firefox setting to use one of them for a particular stream.
and the must have codecs are the ubuntu-restricted-extras package and the w32codecs package from the medibuntu repository.

sofasurfer
July 13th, 2010, 05:23 AM
I reinstalled Kaffeine. After installation the "installation check" stated, "WIN32 Codecs...
No WIN32 codecs found in /usr/lib/win32. You're not able to play Windows Media 9 files, newer Real Media files and some less common formats. Download the codecs here: http://www.mplayerhq.hu.

I am assumingthat this is the reason wmv files will not play. I tried to download the codecs at http://www.mplayerhq.hu but I got a message from Kaffeine that it "could not launch the browser" and that "it could not find the service 'kfmclient'.

Any help with this would be appreciated.

EDIT:: Any thoughts appreciated , but... I just connected with the site above. I guess it just can't be connected to from within Kaffeine. I will let you know what I find out.

sofasurfer
July 13th, 2010, 05:41 AM
I downloaded the binary codec packages from http://www.mplayerhq.hu/design7/dload.html. I unzipped them to /usr/local/lib/win32 like it said but nothing changed.

Ok, now I'm asking for help or ideas.

gandaran
July 13th, 2010, 10:29 AM
/usr/local/lib/win32
I think this directory doesn't work for Ubuntu, maybe other linux OS.
you can install the same w32codecs from synaptic, you have to add the medibuntu (https://help.ubuntu.com/community/Medibuntu) repository to get them, then install but don't expect this is the fix, there are many wmv video formats and not all of them work in linux.

sofasurfer
July 13th, 2010, 06:03 PM
Here is one of the videos in question. Does it work for you?

http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%201.wmv

I tried to find the codecs in synaptic with no luck. I have medibuntu repos. Can you tell me how to find it?

gandaran
July 13th, 2010, 09:38 PM
Here is one of the videos in question. Does it work for you?

http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%201.wmv

I tried to find the codecs in synaptic with no luck. I have medibuntu repos. Can you tell me how to find it?
click the synaptic reload button first then type w32codecs in search box, if you have medibuntu then the codecs are there too.
about that video link it seems the page wont load here so cant check it out.

gandaran
July 13th, 2010, 09:48 PM
the video wouldn't load in chromium so this time I tried with firefox and the answer is yes it works very well, firefox using the gecko-mediaplayer (used to be mplayer plugin).

mildlyAmused
July 13th, 2010, 10:39 PM
You wouldn't happen to be using 64-bit linux would you?
64 bit apps can't load 32 bit libraries. And VLC doesn't necessarily work on every WMV file.

mc4man
July 13th, 2010, 10:42 PM
Never used jaunty so don't exactly know the state of it's capabilities.

The video is wmv3 with wma2 audio. The wma2 shouldn't be an issue, so
Can you play wmv3 at all? You could quickly download the vid and try in totem

wget http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%201.wmv

(will be in home folder

Do you have all the gstreamer plugins installed for decoding

sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad \
gstreamer0.10-plugins-ugly

There is another one for w32codecs in gstreamer - don't know if it matters (is of no real use in lucid, maverick, I don't use here

sudo apt-get install gstreamer0.10-pitfdll

What does this show (gstreamer-tools must be installed

gst-inspect |grep wmv

Ex. (without the pitfdll plugin which I don't need


doug@doug-desktop1:~$ gst-inspect |grep wmv
ffmpeg: ffdec_wmv3: FFmpeg Windows Media Video 9 decoder
ffmpeg: ffdec_wmv2: FFmpeg Windows Media Video 8 decoder
ffmpeg: ffdec_wmv1: FFmpeg Windows Media Video 7 decoder
ffmpeg: ffenc_wmv2: FFmpeg Windows Media Video 8 encoder
ffmpeg: ffenc_wmv1: FFmpeg Windows Media Video 7 encoder



Now with pitfdll installed

doug@doug-desktop1:~$ gst-inspect |grep wmv
pitfdll: dmodec_wmvdmodv3: DMO wmvdmod decoder version 3
pitfdll: dmodec_wmvdmodv2: DMO wmvdmod decoder version 2
pitfdll: dmodec_wmvdmodv1: DMO wmvdmod decoder version 1
pitfdll: dmodec_wmv9dmodv3: DMO wmv9dmod decoder version 3
ffmpeg: ffdec_wmv3: FFmpeg Windows Media Video 9 decoder
ffmpeg: ffdec_wmv2: FFmpeg Windows Media Video 8 decoder
ffmpeg: ffdec_wmv1: FFmpeg Windows Media Video 7 decoder
ffmpeg: ffenc_wmv2: FFmpeg Windows Media Video 8 encoder
ffmpeg: ffenc_wmv1: FFmpeg Windows Media Video 7 encoder



Otherwise as mentioned the gecko-mediaplayer should work (remove the totem-mozilla plugin and use the updated mplayer from medibuntu or from various ppa's

blueauthor
July 13th, 2010, 11:03 PM
I have a similar issue with some .wmv files not playing properly in (64-bit) lucid. I can get the audio, but no video (and the file properties from the system browser suggest there is no video); the files do work in (64-bit) Windows7 and Vista.


gst-inspect | grep wmv shows:



ffmpeg: ffenc_wmv1: FFmpeg Windows Media Video 7 encoder
ffmpeg: ffenc_wmv2: FFmpeg Windows Media Video 8 encoder
ffmpeg: ffdec_wmv1: FFmpeg Windows Media Video 7 decoder
ffmpeg: ffdec_wmv2: FFmpeg Windows Media Video 8 decoder
ffmpeg: ffdec_wmv3: FFmpeg Windows Media Video 9 decoder


I'm new to linux, and want particularly to play with some of the video options: do I need to find more codecs? Is the 32-bit version of the OS going to work better? (I thought the 64-bit had advantages for rendering video when editing.)

Thanks...

sofasurfer
July 13th, 2010, 11:14 PM
I will study you guyzes posts better later tonight.
I just installed gstreamer-tools.

To the question, "What does this show (gstreamer-tools must be installed
Code:
gst-inspect |grep wmv"

daryl@daryl-desktop:~$ gst-inspect |grep wmv
ffmpeg: ffdec_wmv3: FFMPEG Windows Media Video 9 decoder
ffmpeg: ffdec_wmv2: FFMPEG Windows Media Video 8 decoder
ffmpeg: ffdec_wmv1: FFMPEG Windows Media Video 7 decoder
ffmpeg: ffenc_wmv2: FFMPEG Windows Media Video 8 encoder
ffmpeg: ffenc_wmv1: FFMPEG Windows Media Video 7 encoder
typefindfunctions: video/x-ms-asf: wmv, wma, wm, asf

I am using Jaunty (9.04) 64bit. Would I be better off switching to 32 bit? Will I lose anything important in my installation?

mc4man
July 13th, 2010, 11:43 PM
am using Jaunty (9.04) 64bit. Would I be better off switching to 32 bit? Will I lose anything important in my installation?

To switch you'd need to re-install so yes...
See if you can play the file in a player (download it w/ wget

Otherwise try the gecko-mediaplayer plugin as suggested.

(maybe I'll load up a jaunty live cd later, should be one around here somewhere - tried jaunty for about 30 min. once and got rid of

mc4man
July 14th, 2010, 03:43 AM
From a live jaunty 64 bit cd - installed only those 3 gstreamer plugins I mentioned and your link played fine in firefox using the default totem-mozilla plugin.

Downloaded the video and it played fine in totem as expected.

So you don't need anything except those gstreamer plugins.

sofasurfer
July 14th, 2010, 04:31 AM
Ok guys, stay with me a while longer. I have Gstreamer installed. I ran wget http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%201.wmv in terminal. The result is this...


daryl@daryl-desktop:~$ wget http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%201.wmv
--2010-07-13 23:28:12-- http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%201.wmv
Resolving www.tangsoodoworld.com... 67.15.124.108
Connecting to www.tangsoodoworld.com|67.15.124.108|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-07-13 23:28:12 ERROR 404: Not Found.


It appears that I am connecting to the site but the file with the video is missing. This makes no sense because some of you saw the video.

EDIT:: I checked all the codec plugins that are list for gstreamer on the totem site and they are all installed.

sofasurfer
July 16th, 2010, 03:20 AM
Well, it looks like I have lost everyones interest.
In the post right above this one I showed that I tried to download the video, something that some of you guys have done. Why is it that, even though I am connecting to the website, I cannot grab the actual video for download.

This obviously is not a problem with my video player, correct?

Is this a possible answer...the actaul website is http://www.tangsoodoworld.com/reference/One Steps - Freestyle - Set 2.wmv ...which is not recognized by the terminal when I try to download it using "wget".

But when I just paste it into the terminal it comes out as wget http://www.tangsoodoworld.com/reference/One%20Steps%20-%20Freestyle%20-%20Set%205.wmv

mc4man
July 16th, 2010, 07:08 AM
This obviously is not a problem with my video player, correct?
Most likely isn't a player or codec issue..

the link for the site you gave doesn't work - more like here
http://www.tangsoodoworld.com/reference.htm

Now from that page what happens if you right click on a video - "save link as"

From here can play the vid's in browser or just do the r. click and save to hd, then play.

Are you using a firewall or proxy?

sofasurfer
July 16th, 2010, 09:08 AM
"Save link" copies the video to a file but when I click on it I get an error message stating the "stream contains no data".

mc4man
July 16th, 2010, 09:40 AM
Not sure what your issue is..
To try one last thing to see if you can play this format combo (wmv3 w/ wma2 audio, go here and do the right click save as deal on the b52crash2.wmv video (4.2 mb
Dl and try to play ( dl should be about 4.3 MB (4474687 bytes)

http://samples.mplayerhq.hu/V-codecs/WMV9/

sofasurfer
July 16th, 2010, 05:46 PM
b52crash2.wmv play when I click it. Right clicking allows my to save and then view it.
Halo2 required me to search for a plugin but none was found.

mc4man
July 16th, 2010, 06:22 PM
b52crash2.wmv play when I click it. Right clicking allows my to save and then view it.

Then codec wise you're fine, you have the expected support in gstreamer jaunty wise. (wmv3 and wma2


Halo2 required me to search for a plugin but none was found.

That has wma3(pro) audio, gstreamer in jaunty doesn't support though mplayer does.
You'd need a more recent mplayer build from a ppa or self built.

So your issue seems to be Internet based.
(maybe a new thread on that.
You didn't answer this from previous post


Are you using a firewall or proxy?

One quick last test of wget, this is from my ubuntuone account
Note ubuntuone is slightly whacked as far a vid files
So try this wget - if it dl's it must show 1.0M, if not delete the file and try again a couple of times.

HTTP request sent, awaiting response... 200 OK
Length: 1069824 (1.0M) [video/x-ms-wmv]
Saving to: `index.html'

If you can wget it there will be a file named index.html in home folder, change the extension to wmv (index.wmv ) and try to play - should playback


removed

(I'm not leaving this file up for too long...