[FFmpeg-user] How could I take a snapshot on a live stream with ffmpeg library?

seaguest tyhk1987 at gmail.com
Tue May 10 09:03:20 CEST 2016

Hello everyone,

Sorry to spam you, since I am new and I couldn't find any material on 
this topic on the Internet.

I need to take a snapshot for given live stream, how should I do with 
ffmpeg library?

I know the corresponding command line is:
ffmpeg -i -f image2 
-vframes 1 snapshot.jpg

but what should I do if I want to call the ffmpeg library code?

Is there any tutorial that shows the code entry corresponding to command 
line ?

best regards


More information about the ffmpeg-user mailing list