-
Notifications
You must be signed in to change notification settings - Fork 154
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
Support of RTSP anytime soon..? #92
Comments
RTSP pleaaaaaaaase |
@gojiii |
Would RTSP support without the Yi app compatibility be any easier? I know that there are a lot of people that would basically like a solution like fritz's that works with the new hardware. |
You can add a bounty on this feature: |
@kruschman |
Does somebody have an idea how to capture still images "ie : each X seconds via cron job" to put them on the FTP ? (seems to be the same kind of hardware : http://www.itread01.com/articles/1476576329.html) regards, |
I was able to achieve this on my 27US using one of the examples of the SDK. Obviously this will conflict with the cloud software, so it can only work if the original yi apps are killed. I'm attaching the binary in case you have a 27US and want to give it a try. To test it, just copy it to the sd card (you can use FTP for that), kill all the yi apps and start it with ./sample_venc 4 |
@uorriz |
If we have still images we could use them as the source for https://github.com/jacksonliam/mjpg-streamer/tree/master/mjpg-streamer-experimental/plugins/input_file. |
@uorriz how do we "kill all the yi apps"? |
@dvv I manually kill them using telnet.
|
I get
|
Two things come to mind:
|
The model should match. Any trick to check the model/sensor from telnet session? |
@uorriz I have
but the cam is 720p one. TIA, |
I am working on RTSP on 47US, i use rtsp2301 . I have this logwhen i connect to VLC.... GetSdpDescr,703===>psp.base64profileid=,psp.base64sps=,psp.base64pps= exit Rtsp_state_machine |
Hi I don't know what exactly rtsp2301 is under the hood, but I do own a D-Link 5222L B2 which is based on Hi3518C, and it has RTSP streaming based on the Live555 media server. There is also other apporach possible like in Edimax's cameras it uses spook as RTSP server (GPL code also provides source code for spook which interfaces with the raw stream directly). |
@pmarrapese can we look at protocol current documentation? |
What happened to @pmarrapese messages about his progress? |
He is afraid of infringing the ToS of Xiaomi. |
Initial version (and not stable) of RTSP server and H264 recorder for YHS-113-IR (27US): |
I have copied the yi-vencrtsp files from the SD directory onto a working SD that has shadow-1's firmware hack. My understanding is that the startup.sh will be run and call what it needs to from the yi-hack-v3 dir on the SD card. Do I need to telnet to the camera and manually start the processes? Is the url the same as previous ones rtsp://root:@IP_Address:554/ch0_0.h264? Edit: Never mind. Turns out the startup.sh wasn't running for some reason, so the init.sh in /home/app was never replaced with the Necromix version. Ran the cp manually. |
@DarthMadeHer so what happens after you cp manually, is rtsp working now? What is the url? Thankx |
I used this https://github.com/Necromix/yi-vencrtsp on this YHS-113-IR (27US) and it works using vencrtsp |
@jpenyc Can you explain how you make it working ? I try to follow the readme on my 27US cam, but i may do something wrong. Thank you ! |
Hello. For those who are in the same situation as me: waiting for RTSP on the 27US camera for a looooooooong time. Here are the steps (it worked for me on 2 different cameras). It's a bit tedious but it works: 1-Copy the files from the "SD" directory from necromix firmware (https://github.com/Necromix/yi-vencrtsp) to the root of your SD card; 2-Flash your camera using yi-hack-v3 and following the steps on the page : https://github.com/shadow-1/yi-hack-v3; 3-After the camera is flashed successfully, you should acess it with its IP in your web browser. For example , mine is 192.168.1.65. 4-Go to "system config" tab and enable telnet server, then apply. Your camera will reboot. 5-Connect to your camera with telnet using its IP, with putty for example. 6-Use the following commands: This script will replace some native properties of the original camera firmware. cp /tmp/sd/yi-hack-v3/yi_init.sh /home/app/init.sh 7-After camera reboot, you should be able now to use RTSP ! To launch RTSP service, connect to your camera with telnet (as seen before) and type this lines: cp /tmp/sd/ And voilà ! You can now access RTSP with VLC or another client using rtsp://root@CAMERAIP:554/ch0_1.h264. Mine is rtsp://[email protected]:554/ch0_1.h264 I noticed a bug when the ambient light is too low. The rtsp service show error "segmentation fault" and stops working. Enjoy ! |
@bobaxx would the original app still work after this mod?¿ |
RTSP seems working, but i have sometimes some segfaults on my 27US. |
Yep, finally i´ve turned back my camera, i was lookingfor full functional RTSP and the project has been without update for months i need rtsp for Home Assistant |
@bobaxx but just for my understanding, after starting the service with ./vencrtsp shall I have to leave open the SSH connection? Can I close terminal? It seems not... |
@bobaxx And, is there a way to run a command at startup to run automatically the ssh [email protected]. ./tmp/sd/vencrtsp or something similar? |
@bobaxx This guide worked perfectly for me so thank you! Has anybody had any luck using this with BlueIris? I can connect with VLC but can't get BlueIris to pull the stream in using the rtsp address |
That wouldn't work anymore it seems because the kernel modules are not compatible with newer firmware versions. I opened a bug report for it: Necromix/yi-vencrtsp#7 |
@fluidof: to start vencrtsp at startup. Edit the /tmp/sd/yi-hack-v3/yi_init.sh or /home/app/init.sh Add to line 58 (just before the exit) |
@jpawlowski We can try https://github.com/Necromix/yi-vencrtsp_v2 which uses all files from cam and extract video from /tmp/view. |
I have US47 Yi Home camera with yi-hack-v3 and yi-vencrtsp_v2 running, but I can't connect the camera to RTSP client ... what is the correct URL to connect to? |
That is the correct url. |
It's a bite late, but the correct adress is |
|
Hello, thanks for making this :) Just wanted to know if a version with RTSP support is incoming anytime soon? Let us know, thanks :)
The text was updated successfully, but these errors were encountered: