Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What video formats are supported by the video element of html5

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the html5 video element support what video format related knowledge, content detailed and easy to understand, simple and fast operation, has a certain reference value, I believe everyone read this html5 video element support what video format article will have some harvest, let's take a look at it.

html5 video element supports three video formats: 1, MP4 format, is a set of compression coding standards for audio and video information;2, WebM format, is proposed by Google, is an open, free media file format;3, Ogg format.

Operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

HTML5 provides a standard for playing video files, which can be defined using tags, such as movie clips or other video streams.

Currently, elements support three video formats: MP4, WebM, and Ogg.

Format MIME-typeMP4video/mp4WebMvideo/webmOggvideo/ogg

MP4 = MPEG4 files using H264 video codec and AAC audio codec

MP4 is a set of compression coding standards for audio and video information, formulated by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC) under the "Moving Picture Experts Group"(MPEG), the first edition was adopted in October 1998, the second edition was adopted in December 1999. The MPEG-4 format is primarily used for streaming over the Internet, optical discs, voice transmission (video telephony), and television broadcasting.

WebM = WebM files use VP8 video codec and Vorbis audio codec

WebM is an open, free media file format developed by Google. WebM video format is actually a new container format developed based on Matroska (MKV) container format, which includes VP8 video tracks and Ogg Vorbis audio tracks, in which Google has its own VP8 video encoding technology with a similar BSD license open source, Ogg Vorbis is originally an open format. WebM standards for web video are more open source and HTML5-based, and WebM aims to develop high-quality, open video formats for the web that are open to everyone, with a focus on solving the core web user experience of video services. Google says the WebM format is fairly efficient and should work smoothly on netbooks, tablets, handheld devices, etc.

Ogg = Ogg files use Theora video codec and Vorbis audio codec

About "html5 video element supports what video format" The content of this article is introduced here, thank you for reading! I believe everyone has a certain understanding of the knowledge of "what video format does html5's video element support?" If you still want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report