2018-09-06, 02:35
Writing my first plugin, scanned the threads and did not see an answer to this question.
I'm trying to create a plugin (arloview) that displays my Arlo camera streams in Kodi. I have this working in straight python using this package. I am now trying to incorporate into a plugin. It appears Arlo (aka Netgear) uses rtsps: to stream the feed. It seems that Kodi does not recognize that protocol (even though I think it's basically rtsp) and fails to play the stream.
As a tactical solution, I've gotten around this by first calling ffmpeg to handle the stream, translate it to flv and re-stream to localhost via udp to the Kodi VideoPlayer
Is there any way to get Kodi to use its built-in ffmpeg to recognize and play these streams?
Logfile: https://paste.ubuntu.com/p/gDSzdt4WDH/
I'm trying to create a plugin (arloview) that displays my Arlo camera streams in Kodi. I have this working in straight python using this package. I am now trying to incorporate into a plugin. It appears Arlo (aka Netgear) uses rtsps: to stream the feed. It seems that Kodi does not recognize that protocol (even though I think it's basically rtsp) and fails to play the stream.
As a tactical solution, I've gotten around this by first calling ffmpeg to handle the stream, translate it to flv and re-stream to localhost via udp to the Kodi VideoPlayer
Quote:ffmpeg -re -i rstps://Arlo_url -t 30 -c:v libx264 -preset veryfast -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv udp://127.0.0.1:1234Works great on a windows machine, however, when trying to get it to work on my Pi's, it appears LibreElec has a streamlined version of ffmpeg that does not support this re-hosting of the stream.
Is there any way to get Kodi to use its built-in ffmpeg to recognize and play these streams?
Logfile: https://paste.ubuntu.com/p/gDSzdt4WDH/