简体   繁体   English

WebM编码器样本-如何将一系列图像编码为WebM视频

[英]WebM encoder samples - How to encode a series of images into a WebM video

Are there any good examples on how to create a WebM video file suitable for streaming to a web browser using the open-source WebM encoding library? 关于如何使用开源WebM编码库创建适合于流式传输到Web浏览器的WebM视频文件,是否有任何好的示例? Where should I begin? 我应该从哪里开始? I am the owner of a small business, so I don't want to get into legal issues with FFMpeg, and I can't seem to figure out how the vpx_encoder.h is supposed to work. 我是一家小企业的所有者,所以我不想涉嫌与FFMpeg相关的法律问题,而且我似乎无法弄清楚vpx_encoder.h应该如何工作。 I am also interested in performing the reverse to create a video player in my application. 我还对执行反向操作感兴趣,以便在应用程序中创建视频播放器。 I realize my question is similar to this one , however, I found neither of the two answers satisfactory. 我意识到我的问题与类似,但是,我发现两个答案都不令人满意。

To be more specific; 更加具体; the images are coming from a GDI+ bitmap object. 图像来自GDI +位图对象。

Take a look at my code, I used DEVIL to handle image file and manually convert pixels from RGB to YV12. 看一下我的代码,我使用DEVIL处理图像文件并将像素从RGB手动转换为YV12。

http://code.google.com/p/ortholab/source/browse/WebMEnc/WebMEnc.cpp http://code.google.com/p/ortholab/source/browse/WebMEnc/WebMEnc.cpp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM