WebAssembly相关

git搜索:https://github.com/search?q=WebAssembly

相关demo:https://github.com/jpmorganchase/perspective

webassembly中文网 :http://webassembly.org.cn/

Binaryen 项目进展,以及一些关于WebAssembly的特点:https://segmentfault.com/a/1190000004167684?utm_source=tuicool&utm_medium=referral

webassembly的现状与实战:https://www.ibm.com/developerworks/cn/web/wa-lo-webassembly-status-and-reality/index.html

Unity 教程中的一个游戏导出成webassembly的游戏:https://unity3d.com/cn/learn/tutorials/s/tanks-tutorial

牛逼的教程:https://github.com/liyincheng/ffmpeg-wasm-video-to-picture

牛逼的教程:https://www.yinchengli.com/2018/07/28/wasm-ffmpeg-get-video-frame/

emcc编译ffmpeg:https://zhuanlan.zhihu.com/p/27910351

===============================================

以一个mp4文件为例,mp4是一种容器格式,

首先使用libavformat的API把mp4进行多路解复用,得到音视频在这个文件存放的位置等信息,

视频一般是使用h264等进行编码的,所以需要再使用libavcodec进行解码得到图像的yuv格式,

最后再借助libswscale转成rgb格式。

原文地址:https://www.cnblogs.com/wainiwann/p/9549407.html