Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried playing a WMV file in VLC and it told me something along the lines of Unable to play WMV3 files. Unfortunately there is no way for you to fix this. When I try to open the same file in MPlayer, it tells me an Internal data stream error occurred. I finally got it to start playing in KPlayer, but it is really sketchy; it's black and white and there's a few random blue lines down the middle of the video.

So is there any support for WMV3 files?

P.S. the same WMV file plays fine on my PC.

A different WMV file plays on Ubuntu fine.

share|improve this question
    
So just to help eliminate issues were the w32/w64codecs installed. –  damien Sep 8 '12 at 14:58
    
Not entirely sure... –  Isaiah Bugarin Sep 8 '12 at 14:59
    
PC is not the same as Operating System. –  Aleksandar Sep 8 '12 at 19:12
    
I am Using wine to play Mplayer "The windows Version" to open WMV File ... It Works with a less of one second blank screen when forwarding , But in general it's very acceptable solution for me. –  user146596 Apr 3 '13 at 18:58
    
Your file probably, it's DRM protected. And in this case, you should remove drm protection first. –  Dan Jun 21 at 23:10

6 Answers 6

vlc doesnt use any external codecs as its self contained and comes with all codecs, it should play wmv fine as it does here on all my machines.

VLC can be installed from the Ubuntu Software Center : VLC Install VLC

enter image description here

share|improve this answer
4  
I have VLC installed, and it gives me an error. –  Isaiah Bugarin Sep 9 '12 at 13:06

If you have installed The Restricted Extras package sudo apt-get install ubuntu-restricted-extras and you have tried to play the WMV video with VLC with no luck (I am assuming you did both of this already) then you have a problem with the file itself. You can do the following to check if the file is actually BAD and try to recover the parts that are OK:

On the same folder where the file execute the following in the terminal:

ffmpeg -i YourVideoFile.wmv -vcodec copy -acodec copy NewVideoFile.wmv

or the new version:

avconv -i YourVideoFile.wmv -vcodec copy -acodec copy NewVideoFile.wmv

If it starts throwing errors you know it was corrupt. The new file created will be better and you can play it but the corrupt or missing parts will be gone.

Normally if VLC can't read the file is because of 2 things:

  1. Streaming format - Which means you need to be connected to the internet or the progression of the video got lost in several parts somehow.

  2. Corrupt file - Which VLC would offer a way to fix it temporarily so you can view it.

If you already have the Restricted Packages which give you many compatible formats to encode/decode and also VLC which uses it's own native codecs and has the best way to solve video problems then most probably the problem is the WMV file. You can test another WMV to make sure.

share|improve this answer

Do you have the ubuntu-restricted-extras package installed? That might help you. Restricted Extras Package This will install some proprietary codecs also you can also add this ppa and install other W32 or W64 codecs Medibuntu this I hope helps. Here is a link That might help Here is another Link Here

share|improve this answer
    
Didn't work for me. –  Isaiah Bugarin Sep 8 '12 at 15:17
    
The w32 codecs package in the medibuntu repository should do the trick –  rstreeter78 Sep 8 '12 at 15:36
2  
The medibuntu repository is already as updated as the one in 12.04. The medibuntu repository was only better before 11.10. After that, all codecs were the same that came with Ubuntu 11.10 and later. –  Luis Alvarado Sep 8 '12 at 15:58

If, as others have suggested, you have installed all the codecs and have ascertained that the file is not corrupt, the only unfortunate possibility left is that the file has some kind of DRM (Digital Rights Management) that makes it impossible to play on a Linux based system. As you note, it will play in Windows (presumably under Windows Media Player) as that is able to handle DRM. Also, as you note, other WMV files play fine on Ubuntu, so that may point to this particular file having some kind of DRM that limits the playing of the file.

This unfortunately may be the answer if installing, reinstalling the codecs and trying various media players fails to play the file properly.

share|improve this answer
    
I think it has something to do with the file not working is in Windows Media 9. The working WMV is in Windows Media 8. –  Isaiah Bugarin Sep 9 '12 at 20:09

In Windows even vlc n kmplayer is playing those .wmv files but in ubuntu none of the players work. and let me tell u, those files are some of cbtnuggets tutorials in ccna's icnd 1 and icnd 2. itd playing fine with any player in windows but not even a single player in ubuntu. is there any good video converter which i cud use coz many of d video converters also failed to convert them.please help, need them desperately...

share|improve this answer
    
Welcome to Ask Ubuntu. Please do not add questions or comments as answers to other peoples questions. If you like to ask a new Question use the Ask Question Button above. If you spend time on this site by answering questions or asking good questions, you can gain reputation and also comment on questions and answers from other people. –  mondjunge Nov 12 '13 at 16:39
    
sudo apt-get install ubuntu-restricted-extras –  mondjunge Nov 12 '13 at 16:41
    
tried everything already... didnt work. installed extras, other player n so on...didnt work –  user1419895 Nov 14 '13 at 6:54

I'm assuming that SMplayer can play your WMV files but totem and VLC can not. so here's the solution:

  1. look for libavcodec extra in synaptic package manager and mark it for remove. it shows you a list of to be removed softwares and packages. press ok and do apply then log out.
  2. log back in and remove ubuntu-restricted-extras in software center. log out again.
  3. log back in again and install ubuntu-restricted-extras again. you're able to play WMV files again. tested on my ubuntu 14.04LTS.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.