How to encode series of images into VP8 using WebM VP8 Encoder API? (C/C++)
Asked Answered
M

2

6

How to transcode RGB images into VP8 frames (Keyframe + some dependent frames)?

So I created some images how to turn tham into VP8 now?

Manville answered 12/6, 2010 at 15:30 Comment(0)
S
4

First, you need a codec library for VP8:

http://www.webmproject.org/code/build-prerequisites/

Using libvpx API you can then encode your RGB frames into VP8 frames.

Selfeffacement answered 16/6, 2010 at 15:54 Comment(1)
ya but how exactly, where is the simplest possible example, found in examples/simple_encoder.c but its too complicated, how do I encode say 3 framesFarica
S
4

The easiest way to go is to use ffmpeg.

The latest release of ffmpeg (0.6) now supports the VP8 codec, and building it is now easy.

Then, ffmpeg makes it simple to gather individual frames into a movive. Here is a tutorial, but you can google for more results.

Subrogate answered 22/6, 2010 at 9:43 Comment(2)
but how do u do it from C++Farica
links are staleSwanskin

© 2022 - 2024 — McMap. All rights reserved.