Stream screen using rtsp by VLC

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jk2316
New Cone
New Cone
Posts: 4
Joined: 30 May 2014 04:38

Stream screen using rtsp by VLC

Postby jk2316 » 08 Jun 2014 20:37

Hey guys,

I am using VLC command line tool to stream my screen from my mac to another mac using rtsp. It is working, however, the delay is around 5 seconds. The command I used is:
VLC.app/Contents/MacOS/vlc -vvv -I dummy screen:// --sout-x264-preset fast --sout-x264-tune zerolatency --sout='#transcode{vcodec=h264, samplerate=44100, vb=96, fps=30, acodec=mp3, ab=64, height=240, width=320, scale=1}:rtp{mux=ts,dst=0.0.0.0,port=4444,sdp=rtsp://0.0.0.0:8080/test.sdp}'

Pls advise me on:
(1) how to setup the arguments, so that the latency can be greatly reduced (less than 1s ideally).
(2) the connection is created (client VLC needs 30 seconds to show the screen stream, i.e., the start time for client is 30 seconds) way too long. How to make it faster?
(3) what rtsp server does VLC use by default, LIVE555?
(4) In addition, how to get rid of the transcoding and encode the sequence of the captured screen images using x264 encoder? What is the original format of the screen image (RGB)? I want x264 encoder to code RGB or YUV image sequence into H.264 format directly.

Thank you in advance!

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests