<<

HTML5 Video and File Formats

 Video – compression/decompression program that transforms streams of data into video that can be played back  objective is to maintain high quality video while reducing file size VideoCodec File Formats  ◦ open source, www.xiph.org ◦ ogg is the container format ◦ theora the the name of the codec algorithm ◦ popular for gaming  mp4 (h.264) ◦ Developed by Motion Picture Expert Group (www.mpeg.com) ◦ patented and proprietary ◦ used by YouTube  ◦ project of www.webmproject.org ◦ Supported by , , Adobe, ◦ high quality, royalty-free, open video format ◦ compressed with VP8 coding ◦ Google acquired rights to VP8 ◦ VP8 used with WebM container Video Formats and Browser Support

Check out

https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_autoplay Browser Support for Audio and Video Formats

Encoding Your Video File

 Converter programs (some examples) ◦ Video Converter  www.mirovideoconverter.com  desktop application  converts to theora ogg, mp4, webm  runs on Windows and Mac ◦ Media Converter  www.mediaconverter.org  online application  converts to mp4, Flash flv and theora ogg ◦ Handbrake  http://handbrake.fr  open source  converts to mp4 and theora ogg  runs on Windows, Mac and The Challenge of Video

 Before video inclusion was complex  The

 Example: Video Player

The