On Mon, Feb 19, 2018 at 8:58 AM, Pedro Pereira <[email protected]> wrote:
> However I am only interested in loading an image (or a frame of a video) > and apply the scaling operation. > I searched for a way to load an image to an AVFrame, apply the sws_scale > and then write the resulting AVFrame to a file so I can verify the result. > If you want to create a single frame and pass it to sws_scale, take a look at the scaling_video.c example. You can ignore the code that opens the file and writes out frames. https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/scaling_video.c
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
