H264 Stream Failure in ZoneMinder, Works in VLC
Posted: Mon May 13, 2024 11:44 am
Hello ZoneMinder Community,
I'm facing an issue with an H264 stream in ZoneMinder that functions correctly when accessed via VLC. The stream URL is as follows:
'rtsp://xx.xx.xxx.xx:xxx/axis-media/media.amp?videocodec=h264&resolution=1920x1080
While trying to use this stream, I encounter the following error messages in the ZoneMinder logs:
Error Message 1:
Component: zmc_m2
PID: 539042
Level: ERR
Message: "Failed to prime capture of initial monitor"
File: zmc.cpp
Line: 263
Warning Message:
Component: zmc_m2
PID: 539042
Level: WAR
Message: "No width and height in video stream. Trying again"
File: zm_ffmpeg_camera.cpp
Line: 397
Additional details:
Source Type: Ffmpeg
Changing videocodec=jpeg in the URL resolves the issue, but I need to use H264.
Has anyone experienced a similar issue or have any suggestions on how to troubleshoot this? I am completely new to zoneminder. Any help would be greatly appreciated!
Thank you in advance for your assistance!
I'm facing an issue with an H264 stream in ZoneMinder that functions correctly when accessed via VLC. The stream URL is as follows:
'rtsp://xx.xx.xxx.xx:xxx/axis-media/media.amp?videocodec=h264&resolution=1920x1080
While trying to use this stream, I encounter the following error messages in the ZoneMinder logs:
Error Message 1:
Component: zmc_m2
PID: 539042
Level: ERR
Message: "Failed to prime capture of initial monitor"
File: zmc.cpp
Line: 263
Warning Message:
Component: zmc_m2
PID: 539042
Level: WAR
Message: "No width and height in video stream. Trying again"
File: zm_ffmpeg_camera.cpp
Line: 397
Additional details:
Source Type: Ffmpeg
Changing videocodec=jpeg in the URL resolves the issue, but I need to use H264.
Has anyone experienced a similar issue or have any suggestions on how to troubleshoot this? I am completely new to zoneminder. Any help would be greatly appreciated!
Thank you in advance for your assistance!