Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtsp-server for Yi home CN17 / 720p #1

Closed
Arkady23 opened this issue Mar 5, 2021 · 4 comments
Closed

rtsp-server for Yi home CN17 / 720p #1

Arkady23 opened this issue Mar 5, 2021 · 4 comments

Comments

@Arkady23
Copy link

Arkady23 commented Mar 5, 2021

Hi Andy! Can you tell me where to get an rtsp server for the Yi home CN17 /720p camera? To date, here on Githab.com the vencrtsp_v2 module is laid out. It works periodically, but not always, and the rtsp URL is not known. There is a module fritz-smh_yi-hack (rtspsvrM, but it does not start on this camera.

@Arkady23
Copy link
Author

Arkady23 commented Mar 7, 2021

I checked here, all the RTPS servers that are available... Everyone has the same problem — poor connection, quality, instability. And all in order to show an operational picture.... There is still a significant delay.... Many people just need RSTP, no matter what the delay is, even for a minute. Can I ask you to build an RTSP server with a video source on ready-made mp4 files?! I'm not talking about tmp.mp4.... god be with him, there will be difficulties. The algorithm is as follows... Keep 2 mp4 files ready. First, take the last mp4 and start broadcasting, while the broadcast is going on, watch for the appearance of a new file and prepare the place of gluing in advance, so that the broadcast is continuous. Many people just need RTSP to keep an archive somewhere on the local network with any equipment that usually requires the RTSP protocol.

@Arkady23
Copy link
Author

Arkady23 commented Mar 7, 2021

And yet.... there is such a file "view", which you use as a video source. But the result is extremely unstable. This is because you are looking for an image with offset=0. And at the beginning of the view there is no video signal, there are numbers-most likely it is at the beginning of this file that offsetes are recorded, information about what is placed next. This is a common practice in any data files. At the beginning of the view, there are clearly blocks of numbers. In my 720p camera, this initial block is 19272 in size, and the total file size is 781120. In 1080p cameras, the initial data block is 38472 in size, and the total file size is 1586752.
Can you make a second version of your RTSP2303? And also an alternative one with a source on ready-made files?

@Arkady23
Copy link
Author

Arkady23 commented Mar 10, 2021

https://github.com/GStreamer/gst-rtsp-server
This server allows you to broadcast from an mp4 file. You also need to solve the problem of gluing mp4 and you can get rtsp for any camera.

@Arkady23
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant