[FFmpeg-user] "Piping" to c#
kalleernst at googlemail.com
Thu Jun 28 03:34:23 CEST 2012
Can you give me a workflow and command line?
Am 28.06.2012 01:43, schrieb Michael Bradshaw:
> On Wed, Jun 27, 2012 at 2:31 PM, Marco Baumgärtner
> <kalleernst at googlemail.com> wrote:
>> I'd like to encode images I create in c# directly into a video using ffmpeg.
>> I thought about exporting jpgs in c# to feed ffmpeg with to have a buffer.
>> But simply assuming a number of images to be available would lead to ffmpeg
>> being faster than my code so ffmpeg may exit prematurely. So I am looking
>> for a command line to make ffmpeg encode images until a "stop signal" of
>> some kind comes for it to finalize the movie file. In other words(from
>> ffmpeg perspective): More and more files are piling up, like image0001.jpg,
>> image0002.jpg,... Starting now with encoding might make ffmpeg come to the
>> last currently output file while there are more to come. But at the time of
>> ffmpeg execution there were not any more. So the given files are being
>> processed, ffmpeg exits like a dog who wags its tail and waits for its
>> reward ;)
> I think, though I could be wrong, that what you're looking for is -f
> image2pipe. You should be able to then pipe the images into ffmpeg
> without ever having to write them to disk.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user