[libav-api] Converting an Image to a Movie

Chris Share cpsmusic at yahoo.com
Mon Feb 4 13:33:02 CET 2013


Hi,

I'm new to libav. I'd like to write a simple test application that converts a .png image to a movie. I'm basing my code on the "output-example.c" example. The .png image data is stored in an array of chars as RGBA values.

Am I right in thinking that I need to substitute the code in "fill_yuv_image" with code that writes the array of chars to the AVFrame?

Is there an example of how to do this anywhere?

Cheers,

Chris


More information about the libav-api mailing list