okay. thanks a lot. I will give it a try and revert back if I have any troubles.
Thanks and Regards, Boys21 On 11 June 2013 21:33, Sergey Fedorov <night.rain.whis...@gmail.com> wrote: > Yes. I think you can use avformat_open_input_file() on png image to obtain > a properly initialized AVCodecContext. It could simplify the decoding > process. > > Best wishes, > Sergey > > > 2013/6/11 Ramu Chakravadhanula <boys21cent...@gmail.com> > >> okay. >> >> 1. decode the png using ac_codec_id_png >> 2. give this raw information to encoder. is it like this? >> >> /Boys21 >> >> On 11 June 2013 09:10, Sergey Fedorov <night.rain.whis...@gmail.com>wrote: >> >>> Hi, >>> I think you should first decode raw image data from PNG file. There is >>> AV_CODEC_ID_PNG in libavcodec. >>> >>> >>> 2013/6/10 Ramu Chakravadhanula <boys21cent...@gmail.com> >>> >>>> Hi, >>>> >>>> I have a series of png files and would like to encode them to a video >>>> file. most of the examples cover encoding a raw video file. However, I >>>> couldnt find one that covers using existing still images (especially PNG). >>>> Attached is the sample code that i found. can someone help me ? >>>> >>>> Thanks and Regards, >>>> Boys21. >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Libav-user mailing list >>>> Libav-user@ffmpeg.org >>>> http://ffmpeg.org/mailman/listinfo/libav-user >>>> >>>> >>> >>> _______________________________________________ >>> Libav-user mailing list >>> Libav-user@ffmpeg.org >>> http://ffmpeg.org/mailman/listinfo/libav-user >>> >>> >> >> _______________________________________________ >> Libav-user mailing list >> Libav-user@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/libav-user >> >> > > _______________________________________________ > Libav-user mailing list > Libav-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user