Converting your videos to Ogg theora+vorbis for your HTML5 website

By now, I suppose everybody have heard that HTML5 supports the

The procedure is pretty straightforward; First you should install ffmpeg, and then you should convert your video:

sudo aptitude install ffmpeg2theora
ffmpeg2theora /path/to/your/video.avi -o /path/to/your/new/video.ogv

Now, upload your video, and embed it on your website like this:

<video src="" height="320" width="200" controls autobuffer>

And it's as easy as that!

Written by Jannich Brendle tor 26 november 2009 In How to

tags: howtoHTML5ogg theoraogg vorbisxubuntu

Related posts