How to play WMV files?
Solution 1
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:
Streaming format - Which means you need to be connected to the internet or the progression of the video got lost in several parts somehow.
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.
Solution 2
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
Solution 3
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
Solution 4
You could also move on from WMV files altogether.
sudo apt-get install libav-tools
Then just use:
avconv -v quiet -i input-filename.wmv ouput-filename.mkv
Solution 5
I'm assuming that SMplayer can play your WMV files but totem and VLC can not. so here's the solution:
- 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.
- log back in and remove ubuntu-restricted-extras in software center. log out again.
- log back in again and install ubuntu-restricted-extras again. you will be able to play WMV files. tested on my ubuntu 14.04LTS.
Related videos on Youtube
Isaiah Bugarin
Updated on September 18, 2022Comments
-
Isaiah Bugarin almost 2 years
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 anInternal 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.
-
damien almost 12 yearsSo just to help eliminate issues were the w32/w64codecs installed.
-
Isaiah Bugarin almost 12 yearsNot entirely sure...
-
Aleksandar almost 12 yearsPC is not the same as Operating System.
-
Admin about 11 yearsI 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.
-
Admin about 10 yearsYour file probably, it's DRM protected. And in this case, you should remove drm protection first.
-
thorstorm over 9 yearspossible duplicate of How to play wmv3 videos
-
thorstorm over 9 yearsTry this
-
-
Isaiah Bugarin almost 12 yearsDidn't work for me.
-
Luis Alvarado almost 12 yearsThe 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.
-
Isaiah Bugarin almost 12 yearsI have VLC installed, and it gives me an error.
-
Isaiah Bugarin almost 12 yearsI think it has something to do with the file not working is in Windows Media 9. The working WMV is in Windows Media 8.