![]() IpCamera binding - Breaking changes and new features in 3.2 Milestone 3 and newer - Add-ons / Bindings - openHAB Community 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… ![]() 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. 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. But I did run the test here and it is possible to do it if the -f mjpeg -r 1 suggestion above is used. ![]() 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. These options do not make sense when the input source is already mjpeg. I tried setting snapshot url to both ffmpeg and empty, but there is no difference. 06:58:31.595 - Starting ffmpeg with this command now:-f mjpeg -hide_banner -loglevel warning -i -q:v 5 -r 2 -vf scale=640:-2 -update 1 Now when I try to open the stream, the log looks like this: 06:58:31.593 - Stream Server recieved request GET:/ipcamera.mjpeg ![]() Scale=-2:360:flags=lanczos,setpts=0.5*PTS,split palettegen fifo paletteuse hls_flags delete_segments -hls_time 2 -hls_list_size 4 ![]() HlsOutOptions: -strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy SnapshotOptions: -an -vsync vfr -q:v 2 -update 1 MjpegOptions: -q:v 5 -r 2 -vf scale=640:-2 -update 1 The code definition of it is: UID: ipcamera:generic:b566d3a34d I have added a thing definition again through GUI (so I am sure I have default settings correct). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |