[FFmpeg-user] ffmpeg video to image sequence while video file is being written

Andrew Blake andrewfblake at gmail.com
Thu Oct 15 04:37:40 CEST 2015


Hi ffmpeg user Group :-)

Hope you can help, i'm currently using ffmpeg using the below command and
its working great, but i can only run this when the video file input is
fully written to.

ffmpeg -i "input.mpeg" -vf - fps=fps=2 -f image2 -qscale 1 -s 1026x768
"output%6d.jpg"

What i'm trying to do is use ffmpeg to read the video as the video being
written to disk (its an mpeg being written to in realtime - like a video
capture)... I dont have the option to use a input stream only a networked
drive...

Can i tell ffmpeg to unpack to images at the rate of the video (so it never
gets to the end of the file before the file is written) ..or can i tell
ffmpeg to slow down and wait while the file is being written if it gets to
the end?

Thank you!!!


More information about the ffmpeg-user mailing list