HTML 5 Multimedia
Media files are stored encoded situation. When the multimedia files are required to play these files to decode and then the user hears. Both encoding and decoding is that done by the elements, it is decoded media file’s codec is known from this file extension (Example: .MP3, .AVI). Besides MIME type insert of the type attribute also can determine these media file’s codecs. The codec can be compressed in two ways. Namely: Lossy and lossless.
1. During the data compression and retrieval in lossy compression no data can not be destroyed or lost.
2. Some of the data is lost in lossless compression, but a very high compression can be achieved.
A video container is shown with the components of metadata, Video stream and Audio stream in below image.
1. It is a wrapper, so that the metadata, the video stream and audio stream are included.
II. The work of the metadata, the video stream and audio stream elements encapsulate as well as recurring so that the synchronization and Lag-free streaming support can be ensured.
3. Usually a video container is a video and an audio stream. However, several video and audio is possible to stream. Two video streams are used for 3D video streams.
4. Some of the popular Video container:
Metadata: The information is contained about the contents of the video container. Generally are contained production Date, resolution, artists name and description of the codec.
Video Stream: The image of the video file is contained.Commercial film of the popular common audio stream and a separate audio stream is used for each translated language.
HTML supported media formats – Audio formats:
It is a free and open container format made by Xiph.org Foundation, better than any lossy audio format.
A waveform audio file format created jointly by Microsoft and IBM. WAV files are much larger than other formats. So it’s convenient for the internet.
|AAC||.m4a, .m4b, .m4p, .m4b, .m4r, .3gp, .mp4, .aac|
Advanced Audio Coding (AAC) is a popular format like MP3. But its sound quality and bit rate are better than MP3. It is used in iPhone, iPad, Youtube, PlayStation3 etc.
Moving Pictures Expert Group (MPEG) developed the format MP3 (standard MPEG-1 or MPEG-2). This is the most popular format for audio file format on the Internet.
WebM Vorbis is an audio format for HTML5 audio. It has been made by Google Inc. and it is an extension of the Matroska format. It is an Open source, free, patent and royalty free format. It supports Mozilla Firefox, Google Chrome and Opera.
Opus Audio Codec Format has been developed by the Internet Engineering Task Force (IETF). Its purpose is real-time audio support on the Internet. It supports lossy audio compression.
Browser supported HTML audio format:
HTML supported media formats – video formats:
|Ogg Theora||.ogg, .ogv|
It is a complete free container format created by Xiph.Org Foundation. Its performance is comparable to H.264 / MPEG-4.
H.264 / MPEG-4 is the standard of its most popular video compressor. It is more used in encoded High Definition (HD) and BL.