[Cin] so, it looks like qsv integration a bit harder than just adding few lines ....
Andrew Randrianasulu
randrianasulu at gmail.com
Wed Sep 25 00:27:44 CEST 2024
try this git patch, do not forgot to make install again, or put profiles in
bin/ffmpeg/video folder manually.
ср, 25 сент. 2024 г., 01:02 Andrew Randrianasulu <randrianasulu at gmail.com>:
>
>
> ср, 25 сент. 2024 г., 00:55 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>>
>>
>> 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?
>>
>
>
> you can try to copy vaapi profiles under new name, then replace
> codec_vaapi for codec_qsv and see how it goes .... I just did the same for
> mediacodec, seems to work but unsure if you need additional patch I have in
> tree here ...
>
>>
>>
>> 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
>>
>>
>>
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240925/6451e2fa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Qsv-encoders-for-testing.patch
Type: text/x-diff
Size: 1624 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240925/6451e2fa/attachment.bin>
More information about the Cin
mailing list