2020-04-02, 08:05 PM
So the other post about IP camera got me to playing around and I found the wiki on extras. Between the two and your ffmpeg code, I muddled my way thru and got it sorta working in linux with my crappy little COOAU 720P camera.
The problem is it displays video for about 10-15 seconds, the screen flashes black and then the image goes static, no more live video. If it matters, this is viewing it as a livetv channel in Kodi. The url "rtsp://[username]:[password]@192.168.1.181:554/11" plays fine in VLC. Watching the process in htop between the 2 doesn't seem to vary so I'm thinking it probably has something to do with the ffmpeg arguments.
Google has failed me so far so I'm hoping you can shed some light on where I might be going wrong or point me in the right direction?
The problem is it displays video for about 10-15 seconds, the screen flashes black and then the image goes static, no more live video. If it matters, this is viewing it as a livetv channel in Kodi. The url "rtsp://[username]:[password]@192.168.1.181:554/11" plays fine in VLC. Watching the process in htop between the 2 doesn't seem to vary so I'm thinking it probably has something to do with the ffmpeg arguments.
Google has failed me so far so I'm hoping you can shed some light on where I might be going wrong or point me in the right direction?
Code:
<extras>
<channel name="Front_Yard">
<command>ffmpeg</command>
<args>-re -v panic -f lavfi -i anullsrc=r=48000 -rtsp_transport tcp -i "rtsp://[username]:[password]@192.168.1.181:554/11" -vcodec copy -acodec aac -f mpegts -</a$
</channel>
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2