My build error is: "../video/decode/vaapi.c:115:35: error: ‘FF_PROFILE_VP9_0’ undeclared here (not in a function)" I found the following in mpv's release note: "vaapi: add VP9 profile (requires VA-API 0.38.1 or newer)" ANd VA-API 0.38.1 was added in this commit http://cgit.freedesktop.org/libva/commit/?id=46ffebbf3c1ff123c47ef915ce49a59a5f6faf6e
What x11-libs/libva version do you have installed?
Please attach the output of `emerge --info mpv` and full build.log where this problem occurs (compress if needed).
Hi! I can confirm this bug with libva 1.6.2. Can you check if this VP9 profile is present in some release of libva (if I get it right)? Maybe we should bump it.
Created attachment 423388 [details] output of emerge --info mpv
Created attachment 423390 [details] build log
VP9 profile is hidden behind a guard in mpv sources. It seems for some reason it doesn't work as supposed to: https://github.com/mpv-player/mpv/blob/v0.15.0/video/decode/vaapi.c#L112
(In reply to Maxim Koltsov from comment #3) > Hi! > I can confirm this bug with libva 1.6.2. > Can you check if this VP9 profile is present in some release of libva (if I > get > it right)? Maybe we should bump it. Same version of libva here and this problem is not reproducible. I wonder if this profile gets included in libva via some option or smth.
(In reply to Coacher from comment #7) > (In reply to Maxim Koltsov from comment #3) > > Hi! > > I can confirm this bug with libva 1.6.2. > > Can you check if this VP9 profile is present in some release of libva (if I > > get > > it right)? Maybe we should bump it. > > Same version of libva here and this problem is not reproducible. I wonder if > this profile gets included in libva via some option or smth. Can this be related to ffmpeg/libav? I use libav.
(In reply to Maxim Koltsov from comment #8) > (In reply to Coacher from comment #7) > > (In reply to Maxim Koltsov from comment #3) > > > Hi! > > > I can confirm this bug with libva 1.6.2. > > > Can you check if this VP9 profile is present in some release of libva (if I > > > get > > > it right)? Maybe we should bump it. > > > > Same version of libva here and this problem is not reproducible. I wonder if > > this profile gets included in libva via some option or smth. > > Can this be related to ffmpeg/libav? I use libav. Don't know yet. I use ffmpeg-2.8.5. Will post back after looking closer at libva src.
(In reply to Maxim Koltsov from comment #3) > Can you check if this VP9 profile is present in some release of libva (if I > get > it right)? This profile is available in API in libva >= 1.6.0, vainfo learnt it in libva >= 1.6.1, VA API 0.38.1 is in libva-1.6.2. The error is about FF_PROFILE_VP9_0 symbol, which is available in ffmpeg >= 2.7 and libav master, but not yet even in libav-11.4.
Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do you have installed?
(In reply to Coacher from comment #11) > Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do > you have installed? libva 1.6.2 libav 11.3-r1 Do you know anything about libav release schedule? Maybe we should adjust dependecies to make this problem visible... By the way, I used to proxy maintain mpv with Nikoli, who now seems to be missing. If you need any help, I'll be happy to proxy maintain it with you.
(In reply to Coacher from comment #11) > Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do > you have installed? I'm with ffmpeg-2.6.3.
(In reply to Maxim Koltsov from comment #12) > (In reply to Coacher from comment #11) > > Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do > > you have installed? > > libva 1.6.2 > libav 11.3-r1 > > Do you know anything about libav release schedule? Maybe we should adjust > dependecies to make this problem visible... No, I don't know about libav schedule. I think this problem should be fixed in mpv upstream. Because their VP9 guard assumes everyone runs the very latest ffmpeg/libav, but their configure script states that ffmpeg-2.4/libav-11 should be enough. > By the way, I used to proxy maintain mpv with Nikoli, who now seems to be > missing. If you need any help, I'll be happy to proxy maintain it with you. Thank you for the suggestion. I've tried to reach you via email before without any luck. Glad to finally hear from you.
(In reply to Coacher from comment #14) > (In reply to Maxim Koltsov from comment #12) > > (In reply to Coacher from comment #11) > > > Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do > > > you have installed? > > > > libva 1.6.2 > > libav 11.3-r1 > > > > Do you know anything about libav release schedule? Maybe we should adjust > > dependecies to make this problem visible... > > No, I don't know about libav schedule. I think this problem should be fixed > in mpv upstream. Because their VP9 guard assumes everyone runs the very > latest ffmpeg/libav, but their configure script states that > ffmpeg-2.4/libav-11 should be enough. > > > By the way, I used to proxy maintain mpv with Nikoli, who now seems to be > > missing. If you need any help, I'll be happy to proxy maintain it with you. > > Thank you for the suggestion. I've tried to reach you via email before > without any luck. Glad to finally hear from you. I'm truly sorry for that! Had a little lack of time for Gentoo, so I missed your email. I'll read it and answer tomorrow.
(In reply to whgentoo from comment #13) > (In reply to Coacher from comment #11) > > Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do > > you have installed? > > I'm with ffmpeg-2.6.3. And what is your _libva_ (not libav) version?
(In reply to Coacher from comment #16) > (In reply to whgentoo from comment #13) > > (In reply to Coacher from comment #11) > > > Maxim Koltsov, whgentoo@gmail.com what libva and ffmpeg/libav versions do > > > you have installed? > > > > I'm with ffmpeg-2.6.3. > > And what is your _libva_ (not libav) version? libva=1.6.2, the stable version in tree.
commit 80298dc (HEAD, master) Merge: 89964fa 7b03d80 Author: Patrice Clement <monsieurp@gentoo.org> Date: Thu Jan 21 09:13:16 2016 +0000 Merge remote-tracking branch 'github/pr/696'. Gentoo-Bug: 572386 Pull-Request: https://github.com/gentoo/gentoo/pull/696