I would not run it that way, since you have a mjpeg URL this is where you should give the binding the url so that it does not try and create a mjpeg stream transcoded from your already mjpeg URL.
Correct it is the same unless you have a ONVIF camera and it can auto discover the snapshot URL via onvif methods. Since your not setting up as a ONVIF thing type, then you need to supply all the URLs or tell it to use ffmpeg.
I would probably change this to 8080 since your camera is doing everything on that port. Since you have not posted any of the trace logs I am acting blind and I think it would be safer to change this in case it uses port 80 instead of the 8080 you have specified in the other fields.
Its possible these are an issue when trying to create snapshots from a mjpeg input. These will be tested with a h264 input and they may need to be changed when you have a mjpeg stream. Try making this -r 1 -update 1
.
Try making this -f mjpeg -r 1
which will limit the binding to only processing 1 frame a second which you wont want snapshots any faster than that. Leaving off the -r 1 meant my arm based cpu could not reach realtime speeds with a 20fps input stream.
These options do not make sense when the input source is already mjpeg. They will waste a lot of CPU. Try -update 1
but if you give the binding the real URL to use as suggested above, then it wont try to re-encode a mjpeg stream which will only waste CPU. But I did run the test here and it is possible to do it if the -f mjpeg -r 1
suggestion above is used.
I did find a number of long standing bugs in the binding for generic cameras when I recently changed the binding over to use the new serving URLs. Since the tests I have just run are with the newer binding, I would recommend you upgrade to the newer version of the binding and then you will not have issues when the breaking change hits in 3.2 Stable which is due to be released next month. The breaking change is explained and also a jar that will work on older 3.x cores can be found in this post if you do not wish to change your core over to a milestone…