[FFmpeg-user] redirect to 2 fifo files
Zoltan Kerenyi Nagy
kerenyi.nagy.zoltan at gmail.com
Mon Jan 28 20:20:37 EET 2019
If this tiny mistake is the root of the problem, than Ill buy you a beer
:-) Im checking this out as soon as I got home
On 2019. Jan 28., Mon at 19:11, Moritz Barsnick <barsnick at gmx.net> wrote:
> On Mon, Jan 28, 2019 at 16:18:12 +0100, Zoltan Kerenyi Nagy wrote:
> > This is how I create the 2 fifos:
> >
> > #!/bin/bash
> >
> > mkfifo fifo2 2>/dev/null
> > mkfifo fifo2 2>/dev/null
>
> You're creating the same fifo twice, by the way
>
> > ffmpeg -f alsa -i hw:0,0 -f wav pipe:1 > fifo1 -f wav pipe:1 > fifo2
>
> This should give some sort of syntax error from bash. You can't use the
> redirect operator ">" twice per command.
>
> You want to write directly to the fifos:
>
> $ ffmpeg -f alsa -i hw:0,0 -f wav fifo1 -f wav fifo2
>
> Cheers,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list