05.26.10

webm support for fedora 13

Posted in Uncategorized at 11:29 pm by Pirate Praveen

It feels great to announce webm support for fedora 13 on the day of its release!

For the impatient download my repo file

First of all congratulations to Google for releasing VP8 codec as Free Software. VP8 and Vorbis in a customised Matroska container means webm and royalty-free multimedia on the web. Thanks to lardbucket for his step by step guide to building ffmpeg with webm/vp8 patches. Even though I was able to build x264, libvpx and ffmpeg easily, packaging it was not as easy as I imagined. x264 was pretty straight forward, I took spec file file from existing package. libvpx was tougher as it was not creating a shared library by default. But Tom “spot” Callaway had already worked on it and found a solution. Now the toughest was ffmpeg. It took quite a while to get all the patches to apply and fix incompatibilities between the patches Google provided and those accepted by ffmpeg. Finally I found out the secret sauce and you have the fedora 13 packages. If I’m correct this is the first GNU/Linux packages available for webm desktop support.

Once you have ffmpeg install

ffmpeg -i source .any target .webm
ffplay -f webm target .webm

Somehow ffplay is not able to recognise webm format without -f webm option. I have provided a sample webm created with this ffmpeg here. I converted a 12MB mp4 video to 7.7MB webm video. I thought running a browser with webm support would enable watching it directly. But both Chrome and Opera builds with webm support could not play it 🙁 Chrome offered to download it, which ffplay played, but Opera just showed the contents. Hopefully these will be ironed out by a stable release. I could not try firefox as they don’t provide a 64 bit version. If someone at Mozilla is listening, I would tell them to offer 64 bit downloads, because they might lose some of of their impatient users on 64 bit to Chrome or Opera.

Update: I had to move the repo from people.fedoraproject.org to j4v4m4n.in because of legal issues (fedora cannot host ffmpeg or x264). Thanks to Rex Dieter for bringing this to my notice. I want to say sorry to fedora admin folks to have caused this trouble.

7 Comments »

  1. Maxin B. John said,

    May 27, 2010 at 12:26 am

    Hi Praveen..

    Looks very interesting… Congrats 🙂

  2. Chrome OS Blog said,

    May 27, 2010 at 5:30 am

    […] Visit link: webm support for fedora 13 at Praveen Arimbrathodiyil blogs here […]

  3. Maxin B. John said,

    May 27, 2010 at 8:57 am

    Hi Praveen,

    Thanks for the post. After reading this one, I went ahead with mplayer compilation and got it right. So, now, mplayer in Ubuntu can play webm files.

    Updated the blog : http://www.maxinbjohn.info/2010/05/26/webm-support-for-mplayer-in-ubuntu/

    Best regards,
    Maxin B. John

  4. agusbohemio said,

    May 27, 2010 at 7:31 pm

    ffmpeg with webm compiled in DEB package
    http://www.megaupload.com/?d=YTSYPOE2

  5. Rahul Sundaram said,

    June 4, 2010 at 9:05 am

    WebM is now supported via the official repo.

    https://fedoraproject.org/wiki/Flash#YouTube_and_WebM_support

  6. Scott Dowdle said,

    June 5, 2010 at 3:15 am

    Hmm, I installed your ffmpeg and it doesn’t seem to know what a .webm file is nor does webm show as available with -format. What am I doing wrong?

    It did NOT bring any of your other packages in as deps. I do have the libvpx-0.9.0-5.fc13.x86_64 package from Fedora installed.

    I’m thinking that Fedora updates are newer than some of your packages and those met the deps for your ffmpeg… and I’ve got a broken ffmpeg as a result.

    Any ideas?


    Scott Dowdle – dowdle@montanalinux.org

  7. Isabella Williams said,

    August 12, 2010 at 11:13 pm

    i have tested chrome os both at home and at work, it does not seem to be better than ubuntu`;`

Leave a Comment