[Libav-user] open images (jpg/png/etc) with ffmpeg and getting an AVPicture

Stefano Sabatini stefasab at gmail.com
Tue Nov 27 23:13:27 CET 2012


On date Tuesday 2012-11-27 17:26:47 -0200, Wagner Patriota encoded:
> Could somebody give me some direction?
> 
> I am trying to use all the latest ffmpeg commands...
> should I open it the same way I open a video? or there's some shortcut?

Check how I did it in libavfilter/lavfutils.c:ff_load_image()

I don't know if we should provide some generic utilities somewhere
(maybe libavformat?).


More information about the Libav-user mailing list