Weird ffmpeg restriction
Posted: Mon Jan 14, 2019 6:03 am
I recently swapped out a previous camera to a new one that is identical to the already-added two TP-Link NC450s. After a firmware upgrade, I found that the RTSP stream not requires the username, giving me a bit of a headache, but I got past that.
Now, however, I'm finding that ffmpeg doesn't seem to support more than two cameras: the first two that ZM tries to connect to are primed and capturing just fine, but the third one, whichever it happens to be, fails with the same repeating log message:
The reason I'm finding this exceedingly strange is that the third camera was created by cloning an already-working one, and all three cameras share the exact same configuration (one was made to work previously, its configuration was exported, then used to overwrite the other two).
Does anyone have any ideas as to what I might be doing wrong?
Now, however, I'm finding that ffmpeg doesn't seem to support more than two cameras: the first two that ZM tries to connect to are primed and capturing just fine, but the third one, whichever it happens to be, fails with the same repeating log message:
Code: Select all
01/14/19 05:53:47.567357 zmc_m7[2916].INF-zmc.cpp/223 [Starting Capture version 1.33.0]
01/14/19 05:53:47.578049 zmc_m7[2916].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:53:56.650223 zmc_m7[2916].ERR-zm_ffmpeg_camera.cpp/357 [Unable to open input rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp due to: Interrupted system call]
01/14/19 05:53:56.661153 zmc_m7[2916].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
01/14/19 05:54:36.630840 zmc_m7[2937].INF-zmc.cpp/223 [Starting Capture version 1.33.0]
01/14/19 05:54:38.497406 zmc_m7[2937].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:54:40.272797 zmc_m7[2937].WAR-zm_ffmpeg_camera.cpp/372 [Option threads not recognized by ffmpeg]
01/14/19 05:54:40.489438 zmc_m7[2937].INF-zm_ffmpeg_camera.cpp/378 [Stream open rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp, parsing streams...]
01/14/19 05:54:43.339033 zmc_m7[2937].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:54:43.580838 zmc_m7[2937].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
01/14/19 05:54:48.330732 zmc_m7[2945].INF-zmc.cpp/223 [Starting Capture version 1.33.0]
01/14/19 05:54:48.339879 zmc_m7[2945].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:54:48.847637 zmc_m7[2945].WAR-zm_ffmpeg_camera.cpp/372 [Option threads not recognized by ffmpeg]
01/14/19 05:54:48.869304 zmc_m7[2945].INF-zm_ffmpeg_camera.cpp/378 [Stream open rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp, parsing streams...]
01/14/19 05:54:51.892895 zmc_m7[2945].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:54:51.903210 zmc_m7[2945].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
01/14/19 05:55:03.374489 zmc_m7[2957].INF-zmc.cpp/223 [Starting Capture version 1.33.0]
01/14/19 05:55:03.393731 zmc_m7[2957].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:55:03.517524 zmc_m7[2957].WAR-zm_ffmpeg_camera.cpp/372 [Option threads not recognized by ffmpeg]
01/14/19 05:55:03.636896 zmc_m7[2957].INF-zm_ffmpeg_camera.cpp/378 [Stream open rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp, parsing streams...]
01/14/19 05:55:06.241464 zmc_m7[2957].INF-zm_ffmpeg.cpp/64 [DTS discontinuity in stream 0: packet 23 with DTS 207549, packet 24 with DTS 16500357599
]
01/14/19 05:55:06.552669 zmc_m7[2957].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:55:06.564464 zmc_m7[2957].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
01/14/19 05:55:16.572760 zmc_m7[2957].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:55:16.697744 zmc_m7[2957].WAR-zm_ffmpeg_camera.cpp/372 [Option threads not recognized by ffmpeg]
01/14/19 05:55:16.705774 zmc_m7[2957].INF-zm_ffmpeg_camera.cpp/378 [Stream open rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp, parsing streams...]
01/14/19 05:55:22.030561 zmc_m7[2957].ERR-zm_ffmpeg_camera.cpp/528 [Unable to open codec for video stream from rtsp://admin:xxxxxxxx@192.168.0.16:554/h264_hd.sdp]
01/14/19 05:55:22.039195 zmc_m7[2957].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
Does anyone have any ideas as to what I might be doing wrong?