[FFmpeg-user] tee pseudo muxer instance -> pipe to ncat

Dragan Randjelovic logicomyu at gmail.com
Mon Jul 23 11:23:11 EEST 2018


the following works with a note that piping takes precedence irregardless
of a named pipe position in the tee muxer command
in other words if there is a connection on port 9000 all 3 streams will be
delivered:

-f tee
"[f=mpegts]pipe:1|[f=mpegts]udp://ip_address:10000|[f=rtp_mpegts]rtp://ip_address:11000"
| nc64 -L -p 9000

interestingly, if  [f=mpegts:onfail=ignore]pipe:1| is used, doesn't change
the behavior. It is good if that is desired.

However, I am now thinking of intermediate tee:

something like -f tee
"[f=mpegts]pipe:1|[f=mpegts]udp://ip_address:10000|[f=rtp_mpegts]rtp://ip_address:11000"
| tee > (nc64 -L -p 9000 )

but I still have no test results, which I will report.

Regards.


On Sun, Jul 15, 2018 at 9:46 PM, Dragan Randjelovic <logicomyu at gmail.com>
wrote:

> Hi,
>
> I am trying to achieve the following under windows and I am wondering what
> would be the right syntax for it,
> while explicitly I do not want to invoke another ffmpeg process.
>
> -f tee "[onfail=ignore][f=mpegts] pipe:1>nc64 -L -p
> 1234|[f=mpegts]udp://IP:1234/"
>
> Regards.
>


More information about the ffmpeg-user mailing list