I would like to stream my desktop to some other devices like ps3, tablet or smartTV.
The simplest solution for this I thought was vlc streaming to a html5 page stored on a local server. I start vlc in my commandline with the following transcode settings:
:sout=#transcode{vcodec=h264,vb=100,scale=0,acodec=mpga,ab=96,channels=2,samplerate=44100}:standard{access=http,mux=ts{use-key-frames},dst=:8080}
The html code:
<video width="704" height="396" controls="controls" loop="loop" autoplay="autoplay">
<source src="http://####:8080/" type="video/mp4" />
Your browser does not support the video tag.
</video>
I can watch the stream into vlc on a different machine. According to this post:
Streaming mp4 with vlc to html browser
mux=mp4
won't create a working stream. Also reported in the vlc manual. Unless I am mistaken they define ts
as the right mux for h264.
So where is the clue?