[FFmpeg-trac] #9645(avcodec:new): Can't enable hardware decoders for H.264/AVC and H.265/HEVC without enabling software decoders

FFmpeg trac at avcodec.org
Mon Feb 14 14:16:19 EET 2022


#9645: Can't enable hardware decoders for H.264/AVC and H.265/HEVC without
enabling software decoders
-------------------------------------+-----------------------------------
             Reporter:  Neal Gompa   |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Comment (by Neal Gompa):

 Replying to [comment:1 Balling]:
 > >codecs we can't ship (such as H264 (AVC) and
 >
 > Of course you can ship h264, you cannot ship libx264. NVDEC is not going
 to work without h264, just like the encoder. NEVER. And maybe cuvid
 decoders/encoders may allow this, but I doubt it and they are deprecated
 anyway.

 The hardware encoders work just fine with having the ffmpeg h264 and hevc
 software stuff disabled and stripped.

 {{{
 % ffmpeg -encoders | grep h264
 [...]
  V....D h264_amf             AMD AMF H.264 Encoder (codec h264)
  V....D h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
  V..... h264_qsv             H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
 (Intel Quick Sync Video acceleration) (codec h264)
  V..... h264_v4l2m2m         V4L2 mem2mem H.264 encoder wrapper (codec
 h264)
  V....D h264_vaapi           H.264/AVC (VAAPI) (codec h264)
 % ffmpeg -encoders | grep hevc
 [...]
  V....D hevc_amf             AMD AMF HEVC encoder (codec hevc)
  V....D hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
  V..... hevc_qsv             HEVC (Intel Quick Sync Video acceleration)
 (codec hevc)
  V..... hevc_v4l2m2m         V4L2 mem2mem HEVC encoder wrapper (codec
 hevc)
  V....D hevc_vaapi           H.265/HEVC (VAAPI) (codec hevc)
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9645#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list