VP9 Video Codec

http://www.webmproject.org/vp9/

WebM Repositories

libvpx: VP8/VP9 Codec SDK

 
pull http://git.chromium.org/webm/libvpx.git
push ssh://gerrit.chromium.org:29418/webm/libvpx.git
browse http://git.chromium.org/gitweb/?p=webm/libvpx.git
browse (mirror) http://code.google.com/p/webm/source/browse/?repo=libvpx
API Reference http://www.webmproject.org/docs/vp8-sdk/

对于很多带有WEBM/WEBP文件容器的码流需要进行demux才能解码(但是上面的libvpx内嵌了demux video,能够直接支持WEBM/WEBP的解码,不再需要另外附加下面的demux。对于其它的codec可能需要下面的demux支持):

libwebm: WebM File Parser

 
pull http://git.chromium.org/webm/libwebm.git
push ssh://gerrit.chromium.org:29418/webm/libwebm.git
browse http://git.chromium.org/gitweb/?p=webm/libwebm.git
browse (mirror) http://code.google.com/p/webm/source/browse/?repo=libwebm
pull http://git.chromium.org/webm/libwebp.git
push ssh://gerrit.chromium.org:29418/webm/libwebp.git
browse http://git.chromium.org/gitweb/?p=webm/libwebp.git
browse (mirror) http://code.google.com/p/webm/source/browse/?repo=libwebp

编译过程中的2个大的issue:

1. 如果运行

git clone 的时候发生:

fatal: fsync error ...., fatal : index pack failed 错误,原因是因为这个git 的目录的权限被改写成了只读,需要手工改成可写。

2. 如果编译过程中test编译不过去,可以disable,在有些版本的libvpx中好像缺少了test相关的代码。

https://code.google.com/p/webm/issues/detail?id=498

3. VP9 High bitdepth debug版本的编译

目前还是处于试验版本阶段,需要在configure中enable:

./configure --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-vp8 --disable-mmx --as=nasm --disable-unit-tests --enable-debug-libs --enable-experimental --enable-vp9-high --enable-high-quant

编译成功后,vpxenc中会有bitdepth的选项:

VP9 Specific Options:

--cpu-used=            CPU Used (-16..16)

--auto-alt-ref=        Enable automatic alt reference frames

--noise-sensitivity=   Noise sensitivity (frames to blur)

--sharpness=           Filter sharpness (0-7)

--static-thresh=       Motion detection threshold

--tile-columns=        Number of tile columns to use, log2

--tile-rows=           Number of tile rows to use, log2

--arnr-maxframes=      AltRef Max Frames

--arnr-strength=       AltRef Strength

--arnr-type=           AltRef Type

--tune=                Material to favor

psnr, ssim

--cq-level=            Constant/Constrained Quality level

--max-intra-rate=      Max I-frame bitrate (pct)

--lossless=            Lossless mode

--frame-parallel=      Enable frame parallel decodability features

--aq-mode=             Adaptive quantization mode

off, variance, complexity, cyclic

--frame_boost=         Enable frame periodic boost (0: off (default), 1: on)

-b , --bit-depth=           Bit depth for codec (8 for version <=1, 10 or 12 for version 2)

8, 10, 12

--input-bit-depth=     Bit depth of input

可以用下面的命令来进行编码:

vpxenc -w 352 -h 288 --codec=vp9 --passes=2 --i420 --profile=2 -o out.vp9 test.yuv --experimental-bitstream -b 12 --input-bit-depth=12

使用了PASS2的编码:

Pass 1/2 frame   64/65      9880B    1235b/f   37050b/s  351611 us (182.02 fps)

Pass 2/2 frame   64/40     72759B   61930 ms 1.03 fps [ETA  0:00:34]     822F    275F   454F    259F    187F   3967F    304F    327F    473F    136F    127F    209F    225F    159F    172F    105F   3322F    139F    305F    229F    445F    379F Pass 2/2 frame   64/64     86083B   10760b/f  322811b/s  106387 ms (0.60 fps)

各种视频编码器的命令行格式(zz)

VP9 Video Codec Summary

Show Contents

Last modified 2013-08-08

VP9, the WebM Project’s next-generation open video codec, became available on June 17, 2013. This page summarizes post-release VP9 topics of interest to the WebM community.

Status Updates

Acquiring VP9 (libvpx)

As of 2013-06-17, V

时间: 2024-07-31 14:34:50

VP9 Video Codec的相关文章

Camtasia录制时出现video codec open failed错误的解决方法

今天在网上找了一段制作H5的背景音乐,因无法下载,想着可以用Camtasia录制下来再进行音频和视频分离. 立马行动,打开Camtasia9.0点击录制,选择好"只录制系统音频",当点击"rec"铵钮时,跳出一个对话框,提示 "Recorder中发生错误:video codec open failed" . 经过一番原因的查找终于解决,只须在官网下载三个decoder安装上就可以了.在此分享给遇到此类问题的小伙伴们. 官网:https://www

(分享)视频压缩Free Video Compressor 汉化版/中文版【全网唯一】

介绍:Free Video Compressor 是一个免费视频压缩软件,可以帮您有效的压缩视频.电影文件的体积大小,减小占用的磁盘空间,使之更容易放到手机中保存播放 Free Video Compressor软件特色:1.First of all, the most important option is "Desired Video Size". After software open a source video, it will read and show key video

Video Codecs by FOURCC 视频格式编码

FOURCC Name Summary 1978 A.M.Paredes predictor This is a LossLess video codec. >>> 2VUY 2VUY / BlackMagic >>> 3IV0 3ivx 3IV0 no longer used for this codec, however some files might be around. >>> 3IV1 3ivx MPEG4-based codec. Use

Video processing systems and methods

BACKGROUND The present invention relates to video processing systems. Advances in imaging technology have led to high resolution cameras for personal use as well as professional use. Personal uses include digital cameras and camcorders that can captu

h5中video的一些坑

最近我们的项目做了有关短视频的功能,当然视频的合成还是在客户端来完成,涉及到前端页面的部分就是要有一个H5的落地页,这个页面上要有对视频进行播放.起初我觉得这事儿还是挺简单的,不就是在页面上放一个<video>标签,然后用js控制播放暂停就ok了嘛.但是随着测试和上线的过程中我发现还是有好多问题值得去研究的,因此就有了这篇文章. 不就是一个<video>吗,有什么难的? 这就是我最初的想法,在W3C上找一下有关<video>的文档(http://www.w3school

【干货】国外程序员整理的 C++ 资源大全【转】

来自 https://github.com/fffaraz/awesome-cpp A curated list of awesome C/C++ frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff Standard Libraries C++ Standard Library - including STL Containers, STL Aglorithm, STL Functio

freeSWITCH 视频通话

一,freeSWITCH安装 本实验基于CentOS 6 源码编译安装FreeSWITCH,详细安装过程见下: http://990487026.blog.51cto.com/10133282/1921010 二,配置FreeSWITCH,加载H26x模块 1,FreeSWITCH先处于关闭状态. 2,修改配置文件: [[email protected] ~]# vim ~/freeswitch/etc/freeswitch/vars.xml 将:   <X-PRE-PROCESS cmd=&quo

Android Multimedia框架总结(二十三)MediaCodec补充及MediaMuxer引入(附案例)

请尊重分享成果,转载请注明出处,本文来自逆流的鱼yuiop,原文链接:http://blog.csdn.net/hejjunlin/article/details/53729575 前言:前面几章都是分析MediaCodec相关源码,有收到提问,说MediaCodec到底是硬解码还是软解码?看下今天的Agenda: MediaCodec到底是硬解码还是软解码 MediaMuxer初识 MediaMuxer与MediaExtractor进行剪辑视频 效果图 布局实现 逻辑实现 log输出过程 Me

FFmpeg工具使用总结

. 一. FFmpeg是什么? 简单说,FFmpeg就是一个很好的,免费的,开源的视频转换工具.详细说,FFmpeg是一个开源免费跨平台的视频和音频流方案,属于自由软件,采用LGPL或GPL许可证(依据你选择的组件).它提供了录制.转换以及流化音视频的完整解决方案.它包含了非常先进的音频/视频编解码库libavcodec,为了保证高可移植性和编解码质量,libavcodec里很多codec都是从头开发的. FFmpeg的官网是:http://ffmpeg.org/,下载地址:http://ffm