Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg[qsv] on linux #29489

Closed
chuckypt opened this issue Feb 7, 2023 · 6 comments · May be fixed by #29213
Closed

ffmpeg[qsv] on linux #29489

chuckypt opened this issue Feb 7, 2023 · 6 comments · May be fixed by #29213
Assignees
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist

Comments

@chuckypt
Copy link

chuckypt commented Feb 7, 2023

Host Environment

  • OS: linux centos stream 8
  • Compiler: x64-linux

To Reproduce

Steps to reproduce the behavior:

./vcpkg install ffmpeg[qsv]:x64-linux

Failure logs

mfx-dispatch[core]:x64-linux is only supported on '!linux & !uwp & !osx'

Additional context

Add any other context about the problem here, such as what you have already tried to resolve the issue.

hi ,i can't build ffmpeg with qsv on linux , it's a bug??

[root@localhost ffmpeg]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz

[root@localhost ffmpeg]# uname -ar
Linux localhost.localdomain 4.18.1 #3 SMP Fri May 20 14:42:13 CST 2022 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ffmpeg]# cat /etc/redhat-release
CentOS Stream release 8

[root@localhost ffmpeg]# vainfo
error: can't connect to X server!
libva info: VA-API version 1.13.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.13 (libva 2.5.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.1.1 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
[root@localhost ffmpeg]# vainfo

@chuckypt chuckypt added the category:port-bug The issue is with a library, which is something the port should already support label Feb 7, 2023
@FrankXie05 FrankXie05 added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Feb 7, 2023
@FrankXie05
Copy link
Contributor

@cnSchwarzer what you think? The official display supports linux. Why add it?

"supports": "!linux & !uwp & !osx",

@reitowo
Copy link
Contributor

reitowo commented Feb 7, 2023

@cnSchwarzer what you think? The official display supports linux. Why add it?

"supports": "!linux & !uwp & !osx",

Oops, I will add it now.

@reitowo
Copy link
Contributor

reitowo commented Feb 7, 2023

I reminded that I didn't ever test for linux, so I disabled linux support.

@chuckypt
Copy link
Author

chuckypt commented Feb 8, 2023

I reminded that I didn't ever test for linux, so I disabled linux support.

I build and install success Intel Media Driver and intel mediaSDK with out install mfx-dispatch ,
i think ,ffmpeg[qsv] don't need depend mfx-dispatch.
i guess mfx-dispath only need on windows?

@FrankXie05 FrankXie05 added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist and removed category:question This issue is a question labels Feb 8, 2023
@reitowo
Copy link
Contributor

reitowo commented Feb 9, 2023

Not sure, I added it anyway.

@chuckypt
Copy link
Author

i edit ffmpeg/vcpkg.json
before
"qsv": {
"description": "Intel QSV Codec",
"dependencies": [
"mfx-dispatch"
]
},
after:
"qsv": {
"description": "Intel QSV Codec"
},

finish build success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants