mux
Intercept and multiplex streams of input events. tldr-pages
On Linux
Linux
Create a new muxer with a specified name
mux -c muxer_name1 muxer_name2 ...IdentifySet the muxer's internal queue size (default is 100)
mux -s sizeIdentifyRead input from a named muxer (can be repeated in "switch mode")
mux -i input_muxer_nameIdentifyWrite output to a named muxer (can be repeated)
mux -o output_muxer_nameIdentify