[Libav-user] decoding_encoding.c example

Stefano Sabatini stefasab at gmail.com
Fri Jul 19 12:27:14 CEST 2013

On date Wednesday 2013-07-17 11:57:54 +0200, Francesco Damato encoded:
> Hi,
> I am an engineering student and i am writing a C program to encode
> to mpeg2 video read from file, send it to a stream and then decode
> it.
> I saw the example decoding_encoding.c that generates a video from
> dummy pictures... but how do I replace this part and read and encode
> my video?

So you need to read from a movie or something? In that case you can
use the code in demuxing.c. Also note that decoding_encoding.c is
useful only for the encoding/decoding API, you may need to do
muxing/demuxing as well.

More information about the Libav-user mailing list