Same as viewtopic.php?f=32&t=23464&p=89440&hili ... ing#p89440.
The fix is to change to Ffmpeg. I'm happy to try, however I have no clue how to change the Remote Host path setting (192.168.1.249:554/user=user&password=password&channel=1&stream=0.sdp?real_stream) to the Ffmpeg Source Path and Options settings. I tried a couple but only blue screens as result.
Can someone tell me how to 'convert' these?
Thx very much.
decoding error on every keyframe
-
- Posts: 76
- Joined: Wed Feb 03, 2016 7:51 am
Re: decoding error on every keyframe
I had some trouble with this myself, but eventually googled and found the right thing to do.
The path should be the full url ... I.E. rtsp://192.168.1.249.....
note that some urls have the username and password before the host so:
rtsp://username:password@192.168.1.249....
The path should be the full url ... I.E. rtsp://192.168.1.249.....
note that some urls have the username and password before the host so:
rtsp://username:password@192.168.1.249....
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
Re: decoding error on every keyframe
Well... In the ZM GUI in the Monitor definitions, Under de General tab of the Monitor settings I changed 'Remote' to 'Ffmpeg' and under de Source tab I changed:
1) the 'Source Path' setting to '192.168.1.249:554/user=user&password=password&channel=1&stream=0.sdp?real_stream' and the left the 'Options' setting blank
Result: blue screen, no cam image shown
2) the 'Source Path' setting to '<user>:<password>@192.168.1.249:554/&channel=1&stream=0.sdp?real_stream' and the left the 'Options' setting blank
Result: blue screen, no cam image shown
I also tried to add 'rtsp://' as prefix (although I assume this should not be specified in the GUI field settings, I assume the gui will add the prefix itself if that is required) as you specified but it does not make any difference.
Other suggestions?
1) the 'Source Path' setting to '192.168.1.249:554/user=user&password=password&channel=1&stream=0.sdp?real_stream' and the left the 'Options' setting blank
Result: blue screen, no cam image shown
2) the 'Source Path' setting to '<user>:<password>@192.168.1.249:554/&channel=1&stream=0.sdp?real_stream' and the left the 'Options' setting blank
Result: blue screen, no cam image shown
I also tried to add 'rtsp://' as prefix (although I assume this should not be specified in the GUI field settings, I assume the gui will add the prefix itself if that is required) as you specified but it does not make any difference.
Other suggestions?
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: decoding error on every keyframe
Maybe some details about your camera and someone can point you to the correct url. Have a play in vlc or ffplay with the urls to be sure you have a working stream URL.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: decoding error on every keyframe
I had the same issue and came here hoping to find an answer. Eventually I tried enough combinations that I have one working for me. I'm just getting setup and am using a "ELP 1280*720p 1.0 Megapixel Mini IP Camera". Before I had source type = remote, remote method = "rtp/rtsp/http". That was working for me, but spamming the logs with errors every 28 frames and every 4 seconds. Now I've switched to source = ffmpeg, remote method = "rtp/rtsp" and a source path of "rtsp://myUser:myPassword@192.168.1.10:554/user=myUser&password=myPassword&channel=1&stream=0.sdp?". I saved those changes and that was it. I can view my camera feed and my logs aren't getting spammed with errors anymore.
Re: decoding error on every keyframe
Just to be sure..... you specified uid/pw twice?
Re: decoding error on every keyframe
Yes. I don't know if it was necessary to pass it before the ip and as parameters, but it worked for me. I stopped making changes once the errors went away. Another interesting note is that my camera only supports one rtsp stream. I had it open in VLC and that prevented it from working in a second VLC process or in zoneminder. It took me quite a while to figure that out. I verified the url above in VLC, then closed vlc and entered it in zoneminder.
Re: decoding error on every keyframe
Just tried it....... and it works!!! You saved my day, thx a bunch!
Parallel use may have been a problem source as well. Not sure, but I also first tried in VLC an had it working there as well at some stage. So, I may have tried it in parallel. Anyway, this works so this is what I'm gonna keep.
Thanks again.
Parallel use may have been a problem source as well. Not sure, but I also first tried in VLC an had it working there as well at some stage. So, I may have tried it in parallel. Anyway, this works so this is what I'm gonna keep.
Thanks again.
-
- Posts: 9
- Joined: Tue Dec 29, 2015 5:48 pm
Re: decoding error on every keyframe
FYI, there are little onvif utilities out there that you can run that will scan your network for cameras and list them all and provide a list of every rstp stream the camera supports. I've used one a couple times to find rstp streams for obscure Chinese cameras that had no documentation.
There are even ones for Android.
There are even ones for Android.