[Libav-user] decoding_encoding.c example

Anshul er.anshul.maheshwari at gmail.com
Wed Jul 17 12:32:30 CEST 2013

On 07/17/2013 03:27 PM, Francesco Damato wrote:
> 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?
> Can you help me, there are other examples or books available?
> Thanks!!!
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
hi Francesco Damato

Please look avformat_open_input api
and avformat_find_stream_info
u may need to comment out auto generate video part from that code.

Anshul Maheshwari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130717/f892f6ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 43 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130717/f892f6ef/attachment.gif>

More information about the Libav-user mailing list