I have WMV files (among others) omxplayer won't play. What to do?
-
1You asked this only to answer it yourself without any delay? Sounds like a cheap shot at getting reputation...– René WolferinkMar 8, 2013 at 16:18
-
4@RenéWolferink Not at all; this is in the spirit of Encyclopedia Stack Exchange! Besides, is it cheap, really? It's information relevant to Pi users but not available on Raspberry Pi yet. If it's useful, people will upvote; can't see the harm in that. Also, there may well be other feasible solutions. (If I wanted to see high rep counts, I'd invest more time in my Computer Science activity. ;))– RaphaelMar 8, 2013 at 17:14
-
2Did not know that. But now I do. All the best to you for adding information. :)– René WolferinkMar 13, 2013 at 10:01
-
@ChetanBhargava Have you read my comment above, and the blog entry I link to?– RaphaelDec 12, 2014 at 7:49
-
@ChetanBhargava Yea, that would be below, in my answer. (The answer to my question is "no", apparently?)– RaphaelDec 12, 2014 at 9:55
1 Answer
There are a couple of codecs not shipped with Raspbian. You can do two things.
- Buy a license.
Get rid of incompatible files. For instance, use a more powerful computer and run
ffmpeg -i "some video.wmv" -qscale 0 "some video.mkv"
which will convert the video nicely. For Debian derivates (like Ubuntu),
ffmpeg
comes in a package of the same name.While you are at it, you may want to add subtitles (note: only SRT works with
omxplayer
at this time!) to the video; support for external subtitle files is only now coming toomxplayer
. Just give an additional-i "subtitles.srt"
toffmpeg
.