[Libav-user] Save frame to jpg with data from avcodec_decode_video2
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jun 26 10:15:06 CEST 2012
Misha Penkov <misha.penkov at ...> writes:
> > I don't want to use the ffmpeg command-line to save out
> > the frames because for some reason the frame counts are
> > not matching. Ffmpeg.exe saves more frame jpegs than
> > avcodec_decode_video2 seems to find.
(Command line and complete, uncut console output missing.)
-vsync 0 ?
> One thing you could do here would be to link with a JPEG
> library and use that to write your JPEGs.
FFmpeg does support encoding jpegs.
More information about the Libav-user