Opened 7 months ago
#11003 new defect
hw acceleration with Radeon wx5100 doesnt work
Reported by: | Immo | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | hwaccel vaapi |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: I get
[h265_vaapi @ 0x7f93c5816040] [Eval @ 0x7f93be805e20] Undefined constant or missing '(' in 'high'
[h265_vaapi @ 0x7f93c5816040] Unable to parse option value "high"
[h265_vaapi @ 0x7f93c5816040] Error setting option profile to value high.
[vost#0:0/hevc_vaapi @ 0x55c6bae6af00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x55c6baf6cb00] Error sending frames to consumers: Invalid argument
[vf#0:0 @ 0x55c6baf6cb00] Task finished with error code: -22 (Invalid argument)
[vf#0:0 @ 0x55c6baf6cb00] Terminating thread with return code -22 (Invalid argument)
[vost#0:0/hevc_vaapi @ 0x55c6bae6af00] Could not open encoder before EOF
[vost#0:0/hevc_vaapi @ 0x55c6bae6af00] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_vaapi @ 0x55c6bae6af00] Terminating thread with return code -22 (Invalid argument)
[out#0/matroska @ 0x55c6bb01cac0] Nothing was written into output file, because at least one of its streams received no packets.
How to reproduce:
sudo /home/immo/.local/bin/ffmpeg -report -init_hw_device vaapi=foo:/dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device foo -i Preis\ der\ Freiheit\ -\ 1x03\ -\ Teil\ 3.mp4 -vf 'format=nv12|vaapi,hwupload' -c:v hevc_vaapi -profile:v high -crf 26 -preset fast -c:a copy Preis\ der\ Freiheit\ -\ 1x03\ -\ Teil\ 3.mkv ffmpeg started on 2024-05-07 at 10:34:41 Report written to "ffmpeg-20240507-103441.log" Log level: 48 Command line: /home/immo/.local/bin/ffmpeg -report -init_hw_device "vaapi=foo:/dev/dri/renderD128" -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device foo -i "Prei s der Freiheit - 1x03 - Teil 3.mp4" -vf "format=nv12|vaapi,hwupload" -c:v hevc_vaapi -profile:v high -crf 26 -preset fast -c:a copy "Preis der Freiheit - 1x0 3 - Teil 3.mkv" ffmpeg version v1.51-2-ge1128a1 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
logfile