3

I have WMV files (among others) omxplayer won't play. What to do?

5
  • 1
    You asked this only to answer it yourself without any delay? Sounds like a cheap shot at getting reputation... Mar 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. ;))
    – Raphael
    Mar 8, 2013 at 17:14
  • 2
    Did not know that. But now I do. All the best to you for adding information. :) Mar 13, 2013 at 10:01
  • @ChetanBhargava Have you read my comment above, and the blog entry I link to?
    – Raphael
    Dec 12, 2014 at 7:49
  • @ChetanBhargava Yea, that would be below, in my answer. (The answer to my question is "no", apparently?)
    – Raphael
    Dec 12, 2014 at 9:55

1 Answer 1

5

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 to omxplayer. Just give an additional -i "subtitles.srt" to ffmpeg.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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