Streaming desktop to RTSP...
Posted: 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.
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.