Quick Guide and Security Cameras

Hello,

I love the new m3u integration and have successfully added my security cameras. Thank you!

I'm running into one issue when using the Quick Guide with the Security Cameras. When I change the channel to a new camera using the Quick Guide, it frequently (not always, but ~90% of the time) will display the first camera I pulled up and will not change to the new channel/camera selected. If I leave the channel and select from the Channel Guide then it always pulls up the correct camera. Below is my M3U:
#EXTM3U
#EXTINF:-1 channel-id="Garage Camera" channel-number="1.1",Frontyard Camera
rtsp://192.168.1.1:7447/TXfcA8VqTykUHCXw
#EXTINF:-1 channel-id="Garage Camera" channel-number="1.2",Backyard Camera
rtsp://192.168.1.1:7447/jMOadf3EyrNpfADH
#EXTINF:-1 channel-id="Garage Camera" channel-number="1.3",Garage Camera
rtsp://192.168.1.90:8554/unicast

Also below is the log -- anytime it says "Sharing Existing Connection" is when it seems to be displaying the wrong camera as it doesn't seem to close the previous connection and open an new one with Quick Guide. I also tried different channel numbers without decimals with the same results.

2020/12/19 11:14:07.488992 [TNR] Opened connection to M3U-HomeCameras for ch1.1 Frontyard Camera
2020/12/19 11:14:12.841025 [HLS] ffmpeg: rtsp-Garage Camera: [rtsp @ 0x2a28f40] max delay reached. need to consume packet
2020/12/19 11:14:12.841079 [HLS] ffmpeg: rtsp-Garage Camera: [rtsp @ 0x2a28f40] RTP: missed 82 packets
2020/12/19 11:14:12.891966 [HLS] ffmpeg: rtsp-Garage Camera: [h264 @ 0x2a2fac0] error while decoding MB 13 49, bytestream -11
2020/12/19 11:14:19.717044 [ERR] Error during stream M3U-HomeCameras ch1.1 Frontyard Camera: read |0: file already closed
2020/12/19 11:14:19.717102 [TNR] Closed connection to M3U-HomeCameras for ch1.1 Frontyard Camera
2020/12/19 11:14:19.757226 [HLS] ffmpeg: rtsp-Garage Camera: av_interleaved_write_frame(): Broken pipe
2020/12/19 11:14:19.757272 [HLS] ffmpeg: rtsp-Garage Camera: Error writing trailer of pipe:: Broken pipe
2020/12/19 11:14:21.093314 [TNR] Opened connection to M3U-HomeCameras for ch1.2 Backyard Camera
2020/12/19 11:14:24.398400 [HLS] ffmpeg: rtsp-Garage Camera: [rtsp @ 0x30aaf40] max delay reached. need to consume packet
2020/12/19 11:14:24.398454 [HLS] ffmpeg: rtsp-Garage Camera: [rtsp @ 0x30aaf40] RTP: missed 40 packets
2020/12/19 11:14:24.455116 [HLS] ffmpeg: rtsp-Garage Camera: [h264 @ 0x30b1ac0] error while decoding MB 83 54, bytestream -29
2020/12/19 11:14:31.277057 [ERR] Error during stream M3U-HomeCameras ch1.2 Backyard Camera: read |0: file already closed
2020/12/19 11:14:31.277115 [TNR] Closed connection to M3U-HomeCameras for ch1.2 Backyard Camera
2020/12/19 11:14:31.319152 [HLS] ffmpeg: rtsp-Garage Camera: av_interleaved_write_frame(): Broken pipe
2020/12/19 11:14:31.319198 [HLS] ffmpeg: rtsp-Garage Camera: Error writing trailer of pipe:: Broken pipe
2020/12/19 11:14:33.415672 [TNR] Opened connection to M3U-HomeCameras for ch1.3 Garage Camera
2020/12/19 11:14:37.648870 [ERR] Error during stream M3U-HomeCameras ch1.3 Garage Camera: read |0: file already closed
2020/12/19 11:14:37.648927 [TNR] Closed connection to M3U-HomeCameras for ch1.3 Garage Camera
2020/12/19 11:14:37.689384 [HLS] ffmpeg: rtsp-Garage Camera: av_interleaved_write_frame(): Broken pipe
2020/12/19 11:14:37.689441 [HLS] ffmpeg: rtsp-Garage Camera: Error writing trailer of pipe:: Broken pipe
2020/12/19 11:14:39.660005 [TNR] Opened connection to M3U-HomeCameras for ch1.1 Frontyard Camera
2020/12/19 11:14:42.960022 [HLS] ffmpeg: rtsp-Garage Camera: [rtsp @ 0x3d9ff40] max delay reached. need to consume packet
2020/12/19 11:14:42.960082 [HLS] ffmpeg: rtsp-Garage Camera: [rtsp @ 0x3d9ff40] RTP: missed 72 packets
2020/12/19 11:14:43.015902 [HLS] ffmpeg: rtsp-Garage Camera: [h264 @ 0x3da6ac0] error while decoding MB 44 49, bytestream -43
2020/12/19 11:14:50.877439 [TNR] Sharing existing connection to M3U-HomeCameras for ch1.2 Backyard Camera (clients=2, len=0)
2020/12/19 11:14:58.880878 [ERR] Error during stream M3U-HomeCameras ch1.1 Frontyard Camera: read |0: file already closed
2020/12/19 11:14:58.880955 [TNR] Closed connection to M3U-HomeCameras for ch1.1 Frontyard Camera
2020/12/19 11:14:58.891313 [TNR] Opened connection to M3U-HomeCameras for ch1.3 Garage Camera
2020/12/19 11:14:58.917583 [HLS] ffmpeg: rtsp-Garage Camera: av_interleaved_write_frame(): Broken pipe
2020/12/19 11:14:58.917642 [HLS] ffmpeg: rtsp-Garage Camera: Error writing trailer of pipe:: Broken pipe
2020/12/19 11:15:06.075859 [TNR] Sharing existing connection to M3U-HomeCameras for ch1.2 Backyard Camera (clients=2, len=0)
2020/12/19 11:15:10.961689 [TNR] Sharing existing connection to M3U-HomeCameras for ch1.1 Frontyard Camera (clients=2, len=0)
2020/12/19 11:15:16.428508 [ERR] Error during stream M3U-HomeCameras ch1.3 Garage Camera: read |0: file already closed
2020/12/19 11:15:16.428579 [TNR] Closed connection to M3U-HomeCameras for ch1.3 Garage Camera
2020/12/19 11:15:16.469013 [HLS] ffmpeg: rtsp-Garage Camera: av_interleaved_write_frame(): Broken pipe
2020/12/19 11:15:16.469060 [HLS] ffmpeg: rtsp-Garage Camera: Error writing trailer of pipe:: Broken pipe

Any help you can provide is greatly appreciated!

Thanks!
Andrew

1 Like

You used the same channel-id twice so the dvr is confused and thinks they're the same.

Duh! Thank you!