hn / reolink-camera

Reolink RLC-410-5MP IP camera reverse engineered technical details
148 stars 10 forks source link

rtsp stream smearing #6

Open xenoxaos opened 4 years ago

xenoxaos commented 4 years ago

I dumped my reolink camera into my project bin because of the smearing issue on the rtsp stream. Did you ever find anything out regarding the cause of the smearing?

ristomatti commented 4 years ago

I'd also be curious to know, although my two camerasa are not exactly the same (RLC-420 5MP).

For an long time by best workaround was using frequently pulled snapshots but recently I learned the RTMP stream does not suffer from the issue. None of my phone apps support it but some of the NVR software do support it.

hn commented 4 years ago

The camera uses the LIVE555 Media Server for RTSP streaming. The smearing issue might be related to an old/outdated version and/or wrong/special settings during compile time. As there is no v4l video device present, I assume the manufacturer wrote a proprietary input plugin for the 555-server (which 'magically' reads the stream from the eCos-OS).

Someone needs to figure out how the video stream is transferred from eCos to linux. Then you can compile an own server for RTSP/RTMP/whatever-streams. I suggest to inspect /mnt/app/rtsp with your favorite disassembler/decompiler.

The RTMP stream does not suffer from smearing. This is an indication that the origin video source produces video data without errors and the smearing problem is created during the RTSP encoding process.

spoilerhead commented 3 years ago

Better late than never:

Playing around, I found our that using a patched version of live555ProxyServer on the client side is enough to stop the dreaded smearing, please see my post on reddit for details.

For now this is just a hacky workaround, but it works(tm)