Opened 3 years ago

Last modified 18 months ago

#7775 new defect

[FFmpeg-vaapi][vp9] error message when play a vp9 stream

Reported by: Guo Yejun Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: vaapi
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ./ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -i /work/media/streams/vp9/park_joy_50fps_w3840h2160.ivf   -pix_fmt yuv420p -f sdl -
ffmpeg version 0ce759defdab23d35abd8751a0f837c6aaa6ad12

error message:
[vp9 @ 0x464c580] No support for codec vp9 profile 0.
[vp9 @ 0x464c580] Failed setup for format vaapi_vld: hwaccel initialisation returned error.

while the video on screen plays correctly.

If change the vp9 media file to a x264 file, no such error message.

Attachments (1)

Change History (5)

comment:1 by Jun Zhao, 3 years ago

Keywords: VA-API added

Can you upload the VP9 test clip for this issue? Thanks

comment:2 by Carl Eugen Hoyos, 3 years ago

Keywords: vaapi added; VA-API removed

comment:3 by tityron, 2 years ago

I have this issue with videos I watch on youtube (through mpv). For example:

$ youtube-dl 'https://www.youtube.com/watch?v=081aXoVJs7k'
$ ffmpeg -hwaccel vaapi -i *-081aXoVJs7k.mkv -f sdl -
...
[vp9 @ 0x558b20a12380] No support for codec vp9 profile 0.
[vp9 @ 0x558b20a12380] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
...

UPDATE: I don't know if youtube-dl will generate the same mkv on other platforms or at other times. I uploaded the five first seconds of the video, which has the same issue.

Last edited 2 years ago by tityron (previous) (diff)

comment:4 by Xu Guangxin, 18 months ago

could you try it using the latest code?

seems it's no problem on my side。

ffmpeg -hwaccel vaapi -i vp.mkv -f null -

ffmpeg version N-100459-ga7f9b3b954 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
configuration: --prefix=/myopt/yami/vaapi --disable-stripping --disable-optimizations --enable-debug=3 --enable-vaapi --enable-libmfx
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 94.100 / 7. 94.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100

Input #0, matroska,webm, from 'vp.mkv':

Metadata:

ENCODER : Lavf58.20.100

Duration: 00:00:05.39, start: 0.000000, bitrate: 1379 kb/s

Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709/unknown/unknown), 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
Metadata:

DURATION : 00:00:05,372000000

Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default)
Metadata:

DURATION : 00:00:05,387000000

Stream mapping:

Stream #0:0 -> #0:0 (vp9 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))

Press [q] to stop, ? for help
Output #0, null, to 'pipe:':ze=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A

Metadata:

encoder : Lavf58.65.100
Stream #0:0: Video: wrapped_avframe, nv12(tv, bt709/unknown/unknown, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn (default)
Metadata:

DURATION : 00:00:05,372000000
encoder : Lavc58.115.102 wrapped_avframe

Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s (default)
Metadata:

DURATION : 00:00:05,387000000
encoder : Lavc58.115.102 pcm_s16le

frame= 161 fps=0.0 q=-0.0 Lsize=N/A time=00:00:05.37 bitrate=N/A speed= 15x
video:84kB audio:928kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Note: See TracTickets for help on using tickets.