Good evening,
I would like to stream live video from a Yi 4K to MATLAB running on a PC, but I still do not know how to view a stream without sending it to Facebook or YouTube.
I also saw on the MATLAB website it says "The URL must be for a Motion JPEG (mjpeg) HTTP or RTSP stream, so the URL must start with http", so this is also something else I will need to plan for.
I have connected to it as root via telnet, so I can modify files on the Yi 4k. I also have a Raspberry Pi I would like to use as a WiFi / Video stream relay in the future as well, and can also potentially use this to do some video stream conversions if necesarry.
I saw here...
https://dashcamtalk.com/forum/threads/using-xiaomi-yi-sports-camera-with-iphone-and-vlc.10436/page-2
and here...
https://dashcamtalk.com/forum/threads/yi-4k-action-camera-research.19928/
it said use...
So I am hoping I can use those tomorrow to setup the tsp server, and then relay it through the Wifi to the pi to Matlab on another computer.
Does anyone know in advance if this will work, or have suggestions for how I can make this work? I only have the camera part of the time as I am working in a group on a bigger project, and when I was working on it today I did not make a lot of progress.
I would like to stream live video from a Yi 4K to MATLAB running on a PC, but I still do not know how to view a stream without sending it to Facebook or YouTube.
I also saw on the MATLAB website it says "The URL must be for a Motion JPEG (mjpeg) HTTP or RTSP stream, so the URL must start with http", so this is also something else I will need to plan for.
I have connected to it as root via telnet, so I can modify files on the Yi 4k. I also have a Raspberry Pi I would like to use as a WiFi / Video stream relay in the future as well, and can also potentially use this to do some video stream conversions if necesarry.
I saw here...
https://dashcamtalk.com/forum/threads/using-xiaomi-yi-sports-camera-with-iphone-and-vlc.10436/page-2
and here...
https://dashcamtalk.com/forum/threads/yi-4k-action-camera-research.19928/
it said use...
{"msg_id":257,"token":0,"param":0}
on reply get "param" parameter is a token
Yi 4K
<< {"rval":0,"msg_id":257,"param":1,"model":"Z16","rtsp":"rtsp://192.168.42.1/live"}> {"msg_id":257,"param":0,"token":0,"heartbeat":1}
So I am hoping I can use those tomorrow to setup the tsp server, and then relay it through the Wifi to the pi to Matlab on another computer.
Does anyone know in advance if this will work, or have suggestions for how I can make this work? I only have the camera part of the time as I am working in a group on a bigger project, and when I was working on it today I did not make a lot of progress.