I decided to separate a goal into to parts - transcoding mkv into ts on the server and streaming ts. The command for transcoding is: cvlc -vvv /home/vlc/formula.mkv --sout '#transcode{vcodec=h264,vb=300,fps=25,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100,width=704,height=576}:std{mux=ts,ac...