[FFmpeg-trac] #10444(ffmpeg:new): Please implement VAAPI encoding enhancement for AMD / radeonsi (from MESA 22.3)

FFmpeg trac at avcodec.org
Sat Aug 12 20:18:41 EEST 2023


#10444: Please implement VAAPI encoding enhancement for AMD / radeonsi (from MESA
22.3)
-------------------------------------+-------------------------------------
             Reporter:  Robert       |                    Owner:  (none)
  Horstmann                          |
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  vaapi mesa   |               Blocked By:
  encoding quality                   |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Robert Horstmann):

 @haihao Thanks again !
 Unfortunately, it does not work ... -setting "-compression_level 16"
 causes garbled, defective video in the output mkv.

 My command line qith compression_level 16:
 /usr/local/bin/ffmpeg -vaapi_device /dev/dri/renderD128 -i "FILE0165.MOV"
 -vf format=nv12,hwupload -c:v hevc_vaapi -compression_level 16
 -global_quality 32 -c:a copy -threads 0 -y 32_16_hevc.mkv

 This command line provides proper output:
 /usr/local/bin/ffmpeg -vaapi_device /dev/dri/renderD128 -i "FILE0165.MOV"
 -vf format=nv12,hwupload -c:v hevc_vaapi -compression_level 32
 -global_quality 32  -c:a copy -threads 0 -y 32_32_hevc.mkv

 I could share more data if you would like to investigate / troubleshoot.

 KR,
 Robert
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10444#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list