Page 1 of 1
decoding error on every keyframe
Posted: Thu Feb 11, 2016 8:30 pm
by ngauruhoe
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.
Re: decoding error on every keyframe
Posted: Fri Feb 12, 2016 1:45 am
by Tantamount
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....
Re: decoding error on every keyframe
Posted: Fri Feb 12, 2016 7:11 pm
by ngauruhoe
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?
Re: decoding error on every keyframe
Posted: Sat Feb 13, 2016 3:02 am
by SteveGilvarry
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.
Re: decoding error on every keyframe
Posted: Wed Feb 17, 2016 2:56 am
by jaxtell
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
Posted: Wed Feb 17, 2016 8:23 pm
by ngauruhoe
Just to be sure..... you specified uid/pw twice?
Re: decoding error on every keyframe
Posted: Thu Feb 18, 2016 3:34 am
by jaxtell
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
Posted: Fri Feb 19, 2016 5:41 pm
by ngauruhoe
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.
Re: decoding error on every keyframe
Posted: Sun Feb 21, 2016 2:44 pm
by legoman666
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.