[FFmpeg-trac] #9766(avcodec:new): h264_qsv decoder does not work with RTSP

FFmpeg trac at avcodec.org
Thu Oct 6 17:06:04 EEST 2022


#9766: h264_qsv decoder does not work with RTSP
---------------------------------------+-----------------------------------
             Reporter:  Steve Sampson  |                    Owner:  (none)
                 Type:  defect         |                   Status:  new
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:
             Keywords:  QSV RTSP       |               Blocked By:
             Blocking:                 |  Reproduced by developer:  0
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------
Comment (by Steve Sampson):

 The output when PS Enabled (when it succeeds - same command line)


 ffmpeg -hwaccel qsv -c:v h264_qsv -i rtsp://root:pass@10.255.200.235/axis-
 media/media.amp?streamprofile=rthd -f null -
 ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the
 FFmpeg developers
   built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 w32threads --disable-autodetect --enable-fontconfig --enable-iconv
 --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma
 --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
 --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray
 --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d
 --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e
 --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl
 --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-
 libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-
 liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-
 amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
 --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-
 libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-
 libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-
 libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora
 --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-
 libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex
 --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite
 --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-
 chromaprint
   libavutil      57. 28.100 / 57. 28.100
   libavcodec     59. 37.100 / 59. 37.100
   libavformat    59. 27.100 / 59. 27.100
   libavdevice    59.  7.100 / 59.  7.100
   libavfilter     8. 44.100 /  8. 44.100
   libswscale      6.  7.100 /  6.  7.100
   libswresample   4.  7.100 /  4.  7.100
   libpostproc    56.  6.100 / 56.  6.100
 WARNING: defaulting hwaccel_output_format to qsv for compatibility with
 old commandlines. This behaviour is DEPRECATED and will be removed in the
 future. Please explicitly set "-hwaccel_output_format qsv".
 Input #0, rtsp, from 'rtsp://root:pass@10.255.200.235/axis-
 media/media.amp?streamprofile=rthd':
   Metadata:
     title           : Session streamed with GStreamer
     comment         : rtsp-server
   Duration: N/A, start: 0.040022, bitrate: N/A
   Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive),
 1920x1080, 25 fps, 25 tbr, 90k tbn
 WARNING: defaulting child_device_type to AV_HWDEVICE_TYPE_DXVA2 for
 compatibility with old commandlines. This behaviour will be removed in the
 future. Please explicitly set device type via "-init_hw_device" option.
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (h264_qsv) -> wrapped_avframe (native))
 Press [q] to stop, [?] for help
 Output #0, null, to 'pipe:':
   Metadata:
     title           : Session streamed with GStreamer
     comment         : rtsp-server
     encoder         : Lavf59.27.100
   Stream #0:0: Video: wrapped_avframe, qsv(pc, bt709, progressive),
 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn
     Metadata:
       encoder         : Lavc59.37.100 wrapped_avframe
 frame=  200 fps= 29 q=-0.0 Lsize=N/A time=00:00:08.24 bitrate=N/A speed=
 1.2x
 video:92kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Exiting normally, received signal 2.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9766#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list