[FFmpeg-user] multiple outputs to different processes

Dragan Randjelovic logicomyu at gmail.com
Tue Jul 24 17:41:41 EEST 2018


 Answering to myself, here is a very handy end of your ffmpeg command:

-f tee -use_fifo 1 -fifo_options
drop_pkts_on_overflow=true:attempt_recovery=1:recover_any_error=1:restart_with_keyframe=1
"[f=rtp_mpegts:onfail=ignore]rtp://ip_address:port|[f=mpegts:onfail=ignore]pipe:1"
| nc64 -L -p 1234

Untill next time,


On Sat, Jul 21, 2018 at 12:35 AM, Dragan Randjelovic <logicomyu at gmail.com>
wrote:

> I am using ffmpeg on Windows, [ffmpeg version N-91217-g2bd24d4a37]
>
> 1. How can I pipe output of ffmpeg without saving it to a file to three
> different processes?
>
> 2. Is it possible to use encoded stream with different muxers ex. -f
> mpegts > udp and -f rtp_mpegts > rtp
>    and pipe first stram to process one, and seccond stream to process two ?
>
> I would hereby ask for help with the syntax please.
>
> I found similar article here:
> https://unix.stackexchange.com/questions/162870/how-to-
> pipe-a-command-output-to-multiple-programs
>
> Kind Regards.
>


More information about the ffmpeg-user mailing list