[FFmpeg-trac] #11003(undetermined:new): hw acceleration with Radeon wx5100 doesnt work

FFmpeg trac at avcodec.org
Tue May 7 11:43:29 EEST 2024


#11003: hw acceleration with Radeon wx5100 doesnt work
-------------------------------------+-------------------------------------
             Reporter:  Immo         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  hwaccel      |               Blocked By:
  vaapi                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11003>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list