[FFmpeg-user] redirect to 2 fifo files

Moritz Barsnick barsnick at gmx.net
Tue Jan 29 02:27:54 EET 2019


On Mon, Jan 28, 2019 at 20:38:48 +0100, Zoltan Kerenyi Nagy wrote:
> Anyhow your solution only creates files, not named pipes (fifo).

You can tell ffmpeg to "overwrite" them by using "-y". It should just
reuse them, not actually delete them and replace them with files.
(Works for me.)

> I'd like to create 2 fifos with the same data coming from the analog input.
> The documentation says that I need to utilize pipe:1 which means output.
> I just cant figure out how can I write to 2 fifos at the same time

In theory, you should be able to do
$ ... -f wav pipe:3 -f wav pipe:4 3>fifo1 4>fifo2

but I didn't get this to work.

Moritz


More information about the ffmpeg-user mailing list