Page 1 of 1

What does the "mux" option mean?

Posted: 29 Aug 2018 21:03
by jjulianf
When I use VLC to stream a video file with the command line, I have to tell, what kind of "mux" I prefer:

Code: Select all

vlc --network-caching=1000 -vvv <file> --sout '#http{mux=ts,dst=:8080}'
What does mux mean? What is done by muxing?

I am not having any trouble with it, I just want to understand what it is doing.

Re: What does the "mux" option mean?

Posted: 30 Aug 2018 02:01
by RĂ©mi Denis-Courmont
Short for multiplex(er), a.k.a. file format.

Re: What does the "mux" option mean?

Posted: 30 Aug 2018 11:29
by jjulianf
Short for multiplex(er), a.k.a. file format.
Thanks for your answer!

The video file I am streaming has an H264(AVC) video stream and an AAC audio codec. It is saved in the .mp4 container format.

What is the multiplexer doing with it? Is it just changing the container format?