[Cin] so, it looks like qsv integration a bit harder than just adding few lines ....

Terje J. Hanssen terjejhanssen at gmail.com
Tue Sep 24 23:55:54 CEST 2024



Den 24.09.2024 22:20, skrev Andrew Randrianasulu via Cin:
>
> got answer from ffmpeg devs
>
> https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/333906.html
>
>
>

But will it be hard to enable Cingg "presets" to utilize hwaccels like 
QSV decoding/encoding via the unbundled built via QSV-enabled system FFmpeg?


ffmpeg -hide_banner -codecs | grep qsv
  DEV.L. av1                  Alliance for Open Media AV1 (decoders: 
libdav1d libaom-av1 av1 av1_cuvid av1_qsv) (encoders: libaom-av1 
librav1e libsvtav1 av1_nvenc av1_qsv av1_amf av1_vaapi)
  DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 
(decoders: h264 h264_v4l2m2m h264_qsv libopenh264 h264_cuvid) (encoders: 
libx264 libx264rgb libopenh264 h264_amf h264_nvenc h264_qsv h264_v4l2m2m 
h264_vaapi)
  DEV.L. hevc                 H.265 / HEVC (High Efficiency Video 
Coding) (decoders: hevc hevc_qsv hevc_v4l2m2m hevc_cuvid) (encoders: 
libx265 hevc_amf hevc_nvenc hevc_qsv hevc_v4l2m2m hevc_vaapi)
  DEVIL. mjpeg                Motion JPEG (decoders: mjpeg mjpeg_cuvid 
mjpeg_qsv) (encoders: mjpeg mjpeg_qsv mjpeg_vaapi)
  DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video 
mpegvideo mpeg2_v4l2m2m mpeg2_qsv mpeg2_cuvid) (encoders: mpeg2video 
mpeg2_qsv mpeg2_vaapi)
  D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_qsv 
vc1_v4l2m2m vc1_cuvid)
  DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx 
vp8_cuvid vp8_qsv) (encoders: libvpx vp8_v4l2m2m vp8_vaapi)
  DEV.L. vp9                  Google VP9 (decoders: vp9 vp9_v4l2m2m 
libvpx-vp9 vp9_cuvid vp9_qsv) (encoders: libvpx-vp9 vp9_vaapi vp9_qsv)


Applied decoding benchmarks examples from
https://trac.ffmpeg.org/wiki/Hardware/QuickSync#Decode-only

ffmpeg -hide_banner -hwaccel_output_format qsv -c:v hevc_qsv -i 
h265_yuv420p+opus.mp4 -f null -
frame= 1781 fps=1745 q=-0.0 Lsize=N/A time=00:01:11.24 bitrate=N/A 
speed=69.8x

ffmpeg -hide_banner -hwaccel_output_format qsv -c:v hevc_qsv -i 
h265_yuv422p10le_SR.mp4 -f null -
frame= 1779 fps=1351 q=-0.0 Lsize=N/A time=00:01:11.16 bitrate=N/A 
speed=54.1x








More information about the Cin mailing list