Streaming desktop to RTSP...

About encoding, codec settings, muxers and filter usage
dlarbale
New Cone
New Cone
Posts: 1
Joined: 05 Jul 2018 09:00

Streaming desktop to RTSP...

Postby dlarbale » 05 Jul 2018 09:53

Hey all,

New here so sorry if this is in the wrong section.

I've had some success streaming screen to RTSP but it's showing quite a few errors and there is considerable lag. Wondering if anyone else has tried this and managed to find the best parameters to fine tune the encoder?

The command I use is:
VLC -I dummy screen:// :screen-fps=10 :screen-caching 100 --sout=#transcode{vcodec=h264,vb=5000,fps=10}:duplicate{dst=rtp{sdp=rtsp://192.168.1.200:8080/},dst=display}

The errors being shown are:

[0000000002bb49d0] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[h264 @ 00000000047737e0] co located POCs unavailable
[h264 @ 0000000004770e60] mmco: unref short failure
[h264 @ 00000000047712c0] co located POCs unavailable

Ideally I'd like a higher fps but I reduced this to see if that would reduce the errors (it didn't).

Thanks in advance.

D.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Streaming desktop to RTSP...

Postby unidan » 09 Jul 2018 14:53

Hi,

For the sake of testing, does it works without the duplicate module after waiting a little ? Something like this :

Code: Select all

vlc -I dummy screen:// :screen-fps=10 :screen-caching 100 --sout="#transcode{vcodec=h264,vb=5000,fps=10}:rtp{sdp=rtsp://127.0.0.1:8081/}"


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 33 guests