i use homebridge for reencode flux zoneminder to homekit
Since update from 1.32.3 to 1.33.9 ffmpeg can't open flux ...
directly on safari
http://10.0.0.1/zm/cgi-bin/nph-zms?mode ... lien&pass=@
is ok
Do you have a idea thanks a lot
Invalid data found when processing input
Code: Select all
[2019-6-13 3:38:22 PM] [Camera-ffmpeg] Start streaming video from Devant-cam with 1280x720@299kBit
ffmpeg -re -i http://10.0.0.1/zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&user=julien&pass=@ -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 8226354 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params uUOP4mMIgstpzcG9Hfx2PiJD71tlkZzhqdwvPIAK srtp://10.0.0.90:63915?rtcpport=63915&localrtcpport=63915&pkt_size=1316 -loglevel debug
ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Splitting the commandline.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument 'http://10.0.0.1/zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&user=julien&pass=220926Julon@'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '15'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-tune' ...
matched as AVOption 'tune' with argument 'zerolatency'.
Reading option '-vf' ...
matched as option 'vf' (set video filters) with argument 'scale=1280:720'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '299k'.
Reading option '-bufsize' ...
matched as AVOption 'bufsize' with argument '299k'.
Reading option '-maxrate' ...
matched as AVOption 'maxrate' with argument '299k'.
Reading option '-payload_type' ...
matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
matched as AVOption 'ssrc' with argument '8226354'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
matched as AVOption 'srtp_out_params' with argument 'uUOP4mMIgstpzcG9Hfx2PiJD71tlkZzhqdwvPIAK'.
Reading option 'srtp://10.0.0.90:63915?rtcpport=63915&localrtcpport=63915&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url http://10.0.0.1/zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&user=julien&pass=@.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: http://10.0.0.1/zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&user=julien&pass=@.
[http @ 0x17303a0] request: GET /zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&user=julien&pass=@ HTTP/1.1
User-Agent: Lavf/56.40.101
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.0.1
Icy-MetaData: 1
[AVIOContext @ 0x173a160] Statistics: 1069440 bytes read, 0 seeks
http://10.0.0.1/zm/cgi-bin/nph-zms?mode=jpeg&monitor=1&user=julien&pass=@: Invalid data found when processing input
[2019-6-13 3:38:22 PM] [Camera-ffmpeg] ERROR: FFmpeg exited with code 1
thanks for help