[FFmpeg-user] feeding frames to ffmpeg manually?

Csillag Kristof csillag.kristof at gmail.com
Fri Jan 27 19:20:53 CET 2012


2012-01-27 19:11 keltezéssel, Donald McLachlan írta:
> I know ffmpeg will create jpeg images from videos with the -image2 
> output option.
> I've not checked; maybe -image2 can be used as an input option?
One can build a video file from a group of images, like this:

      ffmpeg -f image2 -i foo-%03d.jpeg -r 12 -s WxH foo.avi

... but that's now that I want!
I want to feed the data from my application directly to ffmpeg, without 
encoding it into JPEG, and writing it put to a file.

(The purpose of this is to get smaller latencies and better throughput.)

Thank you:

    Kristof



More information about the ffmpeg-user mailing list