[FFmpeg-devel] ffmpeg doesn't accept named pipes?
quanxunzhen at gmail.com
Mon Mar 11 17:44:58 CET 2013
On Mon, Mar 11, 2013 at 8:27 PM, Ritu choudhary <ritu.itzme at gmail.com> wrote:
> Hi all,
> I am trying to provide input as named pipe to ffmpeg(version 1.1.3) but
> there seems some problem in pipe input in case of ffmpeg.
> I am using the following command:
> ffmpeg -f video4linux2 -i /dev/video0 -i record.ssa -scodec ass foo.mkv
> here, record.ssa is a named pipe (mkfifo record.ssa) and some other
> application is continuously writing to this named pipe.
> ffmpeg hangs till the application is writing to the pipe and until the
> application is not stopped ,ffmpeg doesn't resume.
The content might be cached by C library. You may want to call flush()
regularly to force clearing the cache, or shrink the size of writing cache.
> Please, correct me if I am wrong at the concept of pipes in ffmpeg but as
> i read in the documentation, ffmpeg can accept input in form of pipes also.
> Any suggestion , help will be useful.
GnuPG fingerprint: 6F1E DF9A D250 7505 63E2 345E 7570 8D3F 7C9A 1209
More information about the ffmpeg-devel