microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.33k stars 6.45k forks source link

[ffmpeg] vaapi support #40820

Open Hlongyu opened 2 months ago

Hlongyu commented 2 months ago

Is your feature request related to a problem? Please describe.

I need use vaapi to decode video in linux with intel cpu.

Proposed solution

add enable-vaapi in ffmpeg configure like cuda

if("nvcodec" IN_LIST FEATURES)
    #Note: the --enable-cuda option does not actually require the cuda sdk or toolset port dependency as ffmpeg uses runtime detection and dynamic loading
    set(OPTIONS "${OPTIONS} --enable-cuda --enable-nvenc --enable-nvdec --enable-cuvid --enable-ffnvcodec")
else()
    set(OPTIONS "${OPTIONS} --disable-cuda --disable-nvenc --disable-nvdec  --disable-cuvid --disable-ffnvcodec")
endif()

Describe alternatives you've considered

No response

Additional context

No response

FrankXie05 commented 2 months ago

@Hlongyu Sorry for the late reply, vcpkg does not support vappi at present. We need to wait for port vappi adding.

github-actions[bot] commented 4 days ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.