一、video容器

     你可能经常看到.avi或.mp4的视频文件,实际上avi或者mp4只是一种视频容器。打个比方,ZIP的压缩文件可以包含各种各样的文件,同理,视频容器也定义用来怎么存放各种视频流,而不是指具体的某种视频流。

当然,不是所有的视频流都兼容所有的视频容器。

  1. MPEG 4  :

  2. Ogg
    • 扩展名为: .ogv,是一种开源的,没有专利负担的视频容器,可以在mac上使用quicktime或者windows上的directshow上播放,也可以在跨平台的VLC里播放,ogg的视频格式是“Theora”,音频格式是“Vorbis”。  
  3. Flash Video
    • 扩展名为:.flv,在Adobe Flash使用,最新的版本也开源使用MPEG 4容器。  
  4. WebM
    • 扩展名为:  .webm,免版税,开源友好的视频压缩设计,利用VP8 video codec 和 Vorbis audio codec。
  5. ASF
    • 扩展名为:.asf,微软发明的视频容器格式,需要购买license。
  6. Audio Video Interleave
    • 扩展名为:.avi,微软发明的,有流行的解码器MEncoder

二、视频编码解码

视频编解码器有很多,下面几种比较常用:

  1. H264
  2. Theora
  3. VP8

Video

Extension Codec Library
mp4 H264 libx264
webm VP9 libvpx-vp9

Audio

Extension Codec Library
mp4 aac aac
webm vorbis libvorbis
  opus libopus
Format Bitrate
Blu-ray 20Mbs
DVD 6 Mbs
Desktop web video 2 Mbs
4G mobile video 0.7 Mbs
3G mobile video 0.35 Mbs
2G mobile video Depends on network type.

  • EDGE: 0.4 Mbs
  • GPRS: 0.04Mbs
Abbreviation Dimensions
2160p 3840x2160
1440p 2560x1440
1080p 1920x1080
720p 1280x720
480p 854x480
360p 640x360
240p 426x240

http://diveintohtml5.info/video.html

https://en.wikipedia.org/wiki/HTML5_video

video on web的更多相关文章

  1. Video.js web视频播放器

    免费视频播放器videojs中文教程 Video.js是一款web视频播放器,支持html5和flash两种播放方式.更多关于video.js的介绍,可以访问官方网站介绍,我之前也写过一篇关于vide ...

  2. RESTful Web Services: A Tutorial--reference

    As REST has become the default for most Web and mobile apps, it's imperative to have the basics at y ...

  3. CaptureManagerSDK

    Simple SDK for capturing, recording and streaming video and audio from web-cams on Windows OS by Win ...

  4. A Study of WebRTC Security

    转自:http://webrtc-security.github.io/ A Study of WebRTC Security Abstract Web Real-Time Communication ...

  5. Weex中文文档

    这里整理当前已译出的Weex中文文档,如需查阅完整Weex文档,请访问http://alibaba.github.io/weex/doc/ . 同时也欢迎大家参与Weex中文文档翻译 [Guide] ...

  6. 使用resumable.js上传大文件(视频)兵转换flv格式

    前台代码 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Video.asp ...

  7. Frontend Development

    原文链接: https://github.com/dypsilon/frontend-dev-bookmarks Frontend Development Looking for something ...

  8. HSV颜色识别demo

    HSV(Hue, Saturation, Value)色彩空间是一种区别与RGB的表示形式.其模型可视为一个倒立的棱锥或圆锥. 其中H为色调,用角度度量,取值范围为0°-360°,从红色开始按逆时针方 ...

  9. Akamai在内容分发网络中的算法研究(翻译总结)

    作者 | 钱坤 钱坤,腾讯后台开发工程师,从事领域为流媒体CDN相关,参与腾讯TVideo平台开发维护. 原文是<Algorithmic Nuggets in Content Delivery& ...

随机推荐

  1. SpringBoot学习15:springboot异常处理方式5(通过实现HandlerExceptionResolver类)

    修改异常处理方式4中的全局异常处理controller package com.bjsxt.exception; import org.springframework.context.annotati ...

  2. deprecate (声明不赞成)

    deprecate (声明不赞成)  只是不赞成,不影响使用,或者你升级包 解决:update to 高版本 npm update [-g] [<pkg>...]

  3. C++调用WMI类查询获取操作系统名

    #define _WIN32_DCOM #include <iostream> #include <comdef.h> #include <Wbemidl.h> u ...

  4. 在C++中如何实现文件的读写

    一.ASCII 输出为了使用下面的方法, 你必须包含头文件<fstream.h>(译者注:在标准C++中,已经使用<fstream>取代< fstream.h>,所 ...

  5. Win10家庭版卸载Mysql 8.0.13实录

    因为重度嫌弃Mysql 8.0.xxx的各种妖魔鬼怪,所以想卸载了.但是,百度了很多文章,日期也是近几个月,但是却并不适用.所以特写此文记录一下. 按照百度万金油通用第一步,就是要停止MySQL的服务 ...

  6. sublime text 3 配置terminal 启动npm

    前期工作.安装node.js 配置全家变量 1:ctrl + shift + p 打开 输入intall package 回车 2:安装node.js 插件 3:再安装terminal 4:Prefe ...

  7. Configuration Alias

    第一个里程碑 ---- 查看系统别名 [root@xilong ~]# alias alias cp='cp -i' alias egrep='egrep --color=auto' alias fg ...

  8. SVN 命令整理

    1.将文件checkout到本地目录 svn checkout path(path是服务器上的目录) 例如:svn checkout svn://192.168.1.35/pro/domain 如果开 ...

  9. TP3.2.3 接入阿里sms 短信接口

    阿里云短信接口 配置文件 config.php //阿里大鱼 'Ali_SMS' =>array( 'sms_temp' =>'短信模板', 'sms_sign' =>'签名', ' ...

  10. python应用:爬虫实例(静态网页)

    爬取起点中文网某本小说实例: # -*-coding:utf8-*- import requests import urllib import urllib2 from bs4 import Beau ...