okay thx. One question.
The MJPEG stream picture is very small, is there a possibility to get it a little bit bigger?
i tried it with the HLS Stream but i got this error message:
==> /var/log/openhab2/openhab.log <==
2020-07-16 13:26:36.377 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Guessed Channel Layout for Input Stream #0.1 : mono
2020-07-16 13:26:36.383 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [aac @ 0x23851e0] Too many bits 8832.000000 > 6144 per frame requested, clamping to max
2020-07-16 13:26:36.387 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [rtsp @ 0x2369370] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
2020-07-16 13:26:36.389 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [hls @ 0x2386520] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2020-07-16 13:26:36.408 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [hls @ 0x2386520] pkt->duration = 0, maybe the hls segment duration will not precise
==> /var/log/openhab2/openhab.log <==
2020-07-16 13:26:45.443 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Last message repeated 199 times
2020-07-16 13:26:45.445 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [hls @ 0x2386520] Cannot use rename on non file protocol, this may lead to races and temporary partial files
2020-07-16 13:26:45.447 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [hls @ 0x2386520] pkt->duration = 0, maybe the hls segment duration will not precise
My Thing configuration:
Thing ipcamera:INSTAR:XXXXXX “KBSQ-Kamera-Kinderzimmer-LAN”
[
IPADDRESS=“192.168.XXX.XX”,
PASSWORD=“XXXX”,
USERNAME=“admin”,
POLL_CAMERA_MS=1000,
SERVER_PORT=54323,
FFMPEG_OUTPUT="/usr/share/openhab2/cameratmpfs/camera3/",
PTZ_CONTINUOUS=false,
PORT=80,
ONVIF_PORT=8080,
STREAM_URL_OVERRIDE=“http://192.168.XXX.XX/cgi-bin/hi3510/mjpegstream.cgi?-chn=12&-usr=admin&-pwd=XXXXXXX”,
GIF_PREROLL=5,
FFMPEG_HLS_OUT_ARGUMENTS="-strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy -hls_flags delete_segments -hls_time 10 -hls_list_size 4",
GIF_POSTROLL=10
]