Skip to content

ffmpeg能否支持调用显卡加速? #345

Open
@AKEBI-NUKUI

Description

@AKEBI-NUKUI

环境和ffmpeg已经支持调用核显加速

ffmpeg -codecs | grep qsv
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --arch=x86_64 --disable-yasm --enable-vaapi --enable-libmfx
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
 DEV.L. av1                  Alliance for Open Media AV1 (decoders: av1 av1_qsv) (encoders: av1_vaapi)
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_qsv) (encoders: h264_qsv h264_v4l2m2m h264_vaapi)
 DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_qsv hevc_v4l2m2m) (encoders: hevc_qsv hevc_v4l2m2m hevc_vaapi)
 DEVIL. mjpeg                Motion JPEG (decoders: mjpeg mjpeg_qsv) (encoders: mjpeg mjpeg_qsv mjpeg_vaapi)
 DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_qsv) (encoders: mpeg2video mpeg2_qsv mpeg2_vaapi)
 D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_qsv vc1_v4l2m2m)
 DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_v4l2m2m vp8_qsv) (encoders: vp8_v4l2m2m vp8_vaapi)
 DEV.L. vp9                  Google VP9 (decoders: vp9 vp9_v4l2m2m vp9_qsv) (encoders: vp9_vaapi vp9_qsv)
 D.V.L. vvc                  H.266 / VVC (Versatile Video Coding) (decoders: vvc vvc_qsv)

但经测试,插件中的文件封面生成实际使用时仍然会直接使用cpu进行计算

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions