roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
846 stars 112 forks source link

RTSP URL question #379

Closed hetzbh closed 3 years ago

hetzbh commented 3 years ago

I'm pretty new to the motion project (not the motion in the yi-hack) and I want to add a Yi Home RTSP stream to the motion project.

With VLC, I'm entering the RTSP stream URL that appears with this firmware, it asks me for user/pass and it shows the video. But what URL should I put in the motion app? where do I add the user/pass in the URL string? (any simple example would be very helpful)

hetzbh commented 3 years ago

Answering to myself: If you're using Motion or MotionEye, the correct URL is:

rtsp://user:password@CAM_IP:554/ch0_0.h264

Don't forget to replace user and password and CAM_IP with the real values.