RTSP stream from Nx server provides H263 frames even IP camera provides H.264 frames.
AnsweredHi.
A customer face the issue that RTSP stream from Nx server provides H.263 frames even the source IP camera provides H.264.
Could you support me and investigate the root cause?
Let me share result of ffprobe command with RTSP stream from Nx server and the IP camera as below.
<RTSP stream from Nx server>
admin@amnimo:~$ ffprobe rtsp://admin:xxx@localhost:7001/b79b23f1-d6ca-c524-1dfd-4bf0f36c6754
ffprobe version 3.4.11-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[rtsp @ 0x55ab283310] max delay reached. need to consume packet
[rtsp @ 0x55ab283310] RTP: missed 72 packets
[rtsp @ 0x55ab283310] max delay reached. need to consume packet
[rtsp @ 0x55ab283310] RTP: missed 10 packets
Input #0, rtsp, from 'rtsp://admin:xxx@localhost:7001/b79b23f1-d6ca-c524-1dfd-4bf0f36c6754':
Metadata:
title : AXISM5525E
Duration: N/A, start: 0.050000, bitrate: N/A
Stream #0:0: Video: h263, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 60 tbr, 90k tbn, 60 tbc
<RTSP from the IP camera that is source>
admin@amnimo:~$ ffprobe rtsp://xxx:xxx@192.168.0.13:554/axis-media/media.amp?streamprofile=hdwitnessPrimary
ffprobe version 3.4.11-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[rtsp @ 0x5560fd7310] max delay reached. need to consume packet
[rtsp @ 0x5560fd7310] RTP: missed 100 packets
[h264 @ 0x5560fda3a0] left block unavailable for requested intra mode
[h264 @ 0x5560fda3a0] error while decoding MB 0 19, bytestream 41037
[h264 @ 0x5560fda3a0] concealing 5929 DC, 5929 AC, 5929 MV errors in I frame
Input #0, rtsp, from 'rtsp://xxx:xxx@192.168.0.13:554/axis-media/media.amp?streamprofile=hdwitnessPrimary':
Metadata:
title : Session streamed with GStreamer
comment : rtsp-server
Duration: N/A, start: 0.066678, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 15 fps, 15 tbr, 90k tbn, 180k tbc
Kind regards
Makoto Ogata.
Please sign in to leave a comment.
Comments
6 comments