<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 25.09.2024 00:27, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky6pfgfY5agmuHoMF3cvcFVHXoBcD7rHLaUr1MMFe36R_A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">try this git patch, do not forgot to make install
again, or put profiles in bin/ffmpeg/video folder manually.</div>
</blockquote>
<br>
# cd /home/cinelerra/cinelerra-5.1<br>
# mv /home/terje/0001-Qsv-encoders-for-testing.patch .<br>
<br>
# git am 0001-Qsv-encoders-for-testing.patch<br>
Applying: Qsv encoders for testing<br>
<br>
<br>
make install > make_install.log 2&1<br>
[1] 21180<br>
1: command not found<br>
localhost:/home/cinelerra/cinelerra-5.1 # make: *** No rule to make
target '2'. Stop.<br>
^C<br>
[1]+ Exit 2 make install 2 > make_install.log<br>
<br>
attach make_install.log with an email.<br>
<br>
<br>
Qsv test 1:<br>
-----------------<br>
<br>
localhost:/home/cinelerra/cinelerra-5.1 # bin/cin<br>
Cinelerra Infinity - built: Sep 23 2024 10:31:07<br>
<br>
Loaded hdv09_04.m2t<br>
Render: <br>
Output to file: /Videoklipp/QSV/hdv09_04_h264_qsv.mp4<br>
File format: FFMPEG-mp4<br>
Compression: h264_qsv.mp4<br>
Pixels: qsv<br>
<br>
Cingg render error:<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_21<br>
libva info: va_openDriver() returns 0<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_21<br>
libva info: va_openDriver() returns 0<br>
FFMPEG::open_encoder err: Internal bug, should not have happened<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv.mp4<br>
Render::render_single: Session finished.<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky6pfgfY5agmuHoMF3cvcFVHXoBcD7rHLaUr1MMFe36R_A@mail.gmail.com"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ср, 25 сент. 2024 г., 01:02
Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com" moz-do-not-send="true"
class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ср, 25 сент. 2024 г.,
00:55 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
target="_blank" rel="noreferrer"
moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Den 24.09.2024 22:20, skrev Andrew Randrianasulu via
Cin:<br>
><br>
> got answer from ffmpeg devs<br>
><br>
> <a
href="https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/333906.html"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/333906.html</a><br>
><br>
><br>
><br>
<br>
But will it be hard to enable Cingg "presets" to
utilize hwaccels like <br>
QSV decoding/encoding via the unbundled built via
QSV-enabled system FFmpeg?<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">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 ...</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
ffmpeg -hide_banner -codecs | grep qsv<br>
DEV.L. av1 Alliance for Open Media
AV1 (decoders: <br>
libdav1d libaom-av1 av1 av1_cuvid av1_qsv) (encoders:
libaom-av1 <br>
librav1e libsvtav1 av1_nvenc av1_qsv av1_amf
av1_vaapi)<br>
<a href="http://DEV.LS"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true">DEV.LS</a>
h264 H.264 / AVC / MPEG-4 AVC / MPEG-4
part 10 <br>
(decoders: h264 h264_v4l2m2m h264_qsv libopenh264
h264_cuvid) (encoders: <br>
libx264 libx264rgb libopenh264 h264_amf h264_nvenc
h264_qsv h264_v4l2m2m <br>
h264_vaapi)<br>
DEV.L. hevc H.265 / HEVC (High
Efficiency Video <br>
Coding) (decoders: hevc hevc_qsv hevc_v4l2m2m
hevc_cuvid) (encoders: <br>
libx265 hevc_amf hevc_nvenc hevc_qsv hevc_v4l2m2m
hevc_vaapi)<br>
DEVIL. mjpeg Motion JPEG (decoders:
mjpeg mjpeg_cuvid <br>
mjpeg_qsv) (encoders: mjpeg mjpeg_qsv mjpeg_vaapi)<br>
DEV.L. mpeg2video MPEG-2 video (decoders:
mpeg2video <br>
mpegvideo mpeg2_v4l2m2m mpeg2_qsv mpeg2_cuvid)
(encoders: mpeg2video <br>
mpeg2_qsv mpeg2_vaapi)<br>
D.V.L. vc1 SMPTE VC-1 (decoders:
vc1 vc1_qsv <br>
vc1_v4l2m2m vc1_cuvid)<br>
DEV.L. vp8 On2 VP8 (decoders: vp8
vp8_v4l2m2m libvpx <br>
vp8_cuvid vp8_qsv) (encoders: libvpx vp8_v4l2m2m
vp8_vaapi)<br>
DEV.L. vp9 Google VP9 (decoders:
vp9 vp9_v4l2m2m <br>
libvpx-vp9 vp9_cuvid vp9_qsv) (encoders: libvpx-vp9
vp9_vaapi vp9_qsv)<br>
<br>
<br>
Applied decoding benchmarks examples from<br>
<a
href="https://trac.ffmpeg.org/wiki/Hardware/QuickSync#Decode-only"
rel="noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://trac.ffmpeg.org/wiki/Hardware/QuickSync#Decode-only</a><br>
<br>
ffmpeg -hide_banner -hwaccel_output_format qsv -c:v
hevc_qsv -i <br>
h265_yuv420p+opus.mp4 -f null -<br>
frame= 1781 fps=1745 q=-0.0 Lsize=N/A time=00:01:11.24
bitrate=N/A <br>
speed=69.8x<br>
<br>
ffmpeg -hide_banner -hwaccel_output_format qsv -c:v
hevc_qsv -i <br>
h265_yuv422p10le_SR.mp4 -f null -<br>
frame= 1779 fps=1351 q=-0.0 Lsize=N/A time=00:01:11.16
bitrate=N/A <br>
speed=54.1x<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>