简体   繁体   中英

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? 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. 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.

Take a look at my code, I used DEVIL to handle image file and manually convert pixels from RGB to YV12.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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