On 9/23/16, Paul B Mahol <one...@gmail.com> wrote: > On 9/28/16, Priebe, Jason <jpri...@cbcnewmedia.com> wrote: > > > If there's a better way to decode these still images without using > > an intermediate temp file, please point me to it, and I'll make the > > change. > > Using avformat/avcodec calls to decode input from named pipe into AVFrame.
OK. I was able to synthesize the code from ff_load_image() and the code from this example: http://www.ffmpeg.org/doxygen/trunk/doc_2examples_2avio_reading_8c-example.html It took 130 lines of code to read an image from a memory buffer, and about 40 of those lines are essentially duplicated from ff_load_image(). It seems like a function like this should be in the lavfutils, not buried in a random filter. And maybe those 40 lines could be shared between this new function an dthe ff_load_image() function? Jason Priebe CBC New Media _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel