|
楼主 |
发表于 2018-1-28 13:27:25
|
显示全部楼层
通过配置可以正常连接上海康nvr 但是因为没有地方输入对应的解密密钥,
所以图像无法正常显示,调试日志也提示不正常:
sudo ffmpeg -rtsp_transport tcp -i rtsp://admin:*******@192.168.*.*/Streaming/Channels/101 -f null -
ffmpeg version 3.2.9-1~deb9u1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --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-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[h264 @ 0x22c7420] non-existing PPS 13 referenced
[h264 @ 0x22c7420] decode_slice_header error
[h264 @ 0x22c7420] non-existing PPS 6 referenced
Last message repeated 1 times
[h264 @ 0x22c7420] decode_slice_header error
[h264 @ 0x22c7420] no frame!
[h264 @ 0x22c7420] non-existing PPS 4 referenced
[h264 @ 0x22c7420] slice type 32 too large at 0
[h264 @ 0x22c7420] decode_slice_header error
[h264 @ 0x22c7420] no frame!
[h264 @ 0x22c7420] top block unavailable for requested intra mode -1
[h264 @ 0x22c7420] error while decoding MB 0 0, bytestream 16945
[h264 @ 0x22c7420] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x22c7420] number of reference frames (0+3) exceeds max (2; probably corrupt input), discarding one
[h264 @ 0x22c7420] non-existing PPS 2 referenced
|
|