_{link: http://diveintohtml5.info/video.html#what-works Dive Into HTML5}_ has a good overview of what you need to do.  The situation is even better if you're willing to require a "recent" web browser (2011+), in which case you can ignore Flash and Theora+Vorbis+Ogg and exclusively rely on H.264(baseline)+AAC(low complexity)+MP4 and WebM.
 
-_Dive Into HTML5_'s recommendations for creating the files should work, but are probably overkill.  If you've got a good ffmpeg install (Try /u/a/d/adesmet/bin/opt/ffmpeg/ffmpeg ) it can do the job.  {link: https://superuser.com/questions/424015/what-bunch-of-ffmpeg-scripts-do-i-need-to-get-html5-compatible-video-for-everyb the full details are a bit long}, but here is a summary:
+_Dive Into HTML5's_ recommendations for creating the files should work, but are probably overkill.  If you've got a good ffmpeg install (Try /u/a/d/adesmet/bin/opt/ffmpeg/ffmpeg ) it can do the job.  {link: https://superuser.com/questions/424015/what-bunch-of-ffmpeg-scripts-do-i-need-to-get-html5-compatible-video-for-everyb the full details are a bit long}, but here is a summary:
 
 {code}
 ffmpeg -i input.mp4 -c:v libvpx -qmax 42 -qmin 10 -b:v 1M -c:a libvorbis -q:a 4 -f webm out.webm