Abstract
The “art” of encoding video for HTML5 is, in many respects, a “black art.” There are no standards other than file format and everything else from data rate to audio is left to your best judgment. The decisions you make in creating the MPEG4, WebM, and Ogg files are therefore “subjective” not “objective.” Before you can play the video and audio content in HTML5 you need to clearly understand how these files are created and the decisions you will need to make to ensure smooth playback. This process starts with a rather jarring revelation: video is not video. The extensions used to identify video and audio files are more like shoeboxes than anything else. The file formats—MPEG4, WebM, and Ogg—are the names on the boxes and inside the boxes are a video track and an audio track. The box with the file format label is called a “container.”
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Silvia Pfeiffer and Tom Green
About this chapter
Cite this chapter
Pfeiffer, S., Green, T. (2015). Encoding Video. In: Beginning HTML5 Media. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0460-3_1
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0460-3_1
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0461-0
Online ISBN: 978-1-4842-0460-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books