<!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 17:25, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:b64a9fd2-447b-4ea4-8063-77cbe868e10b@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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>
<br>
Notice, in case this matters:<br>
<br>
This is on Arc 750 GPU and i915 driver<br>
<br>
<font face="Courier New, Courier, monospace"># inxi -GSz<br>
System:<br>
Kernel: 6.6.52-1-longterm arch: x86_64 bits: 64<br>
Console: pty pts/0 Distro: openSUSE Tumbleweed-Slowroll 20240901<br>
Graphics:<br>
Device-1: Intel DG2 [Arc A750] driver: i915 v: kernel<br>
Device-2: Microdia Camera driver: snd-usb-audio,uvcvideo type:
USB<br>
Display: unspecified server: X.org v: 1.21.1.12 with: Xwayland
v: 24.1.2<br>
driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris
gpu: i915<br>
resolution: 2560x1440~60Hz<br>
API: OpenGL v: 4.6 vendor: intel mesa v: 24.1.3 renderer: Mesa
Intel Arc<br>
A750 Graphics (DG2)<br>
API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib<br>
API: EGL Message: EGL data requires eglinfo. Check --recommends.<br>
<br>
<br>
# vainfo<br>
Trying display: wayland<br>
Trying display: x11<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>
vainfo: VA-API version: 1.22 (libva 2.22.0)<br>
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics
- 24.1.5 ()<br>
vainfo: Supported profile and entrypoints<br>
VAProfileNone : VAEntrypointVideoProc<br>
VAProfileNone : VAEntrypointStats<br>
VAProfileMPEG2Simple : VAEntrypointVLD<br>
VAProfileMPEG2Main : VAEntrypointVLD<br>
VAProfileH264Main : VAEntrypointVLD<br>
VAProfileH264Main : VAEntrypointEncSliceLP<br>
VAProfileH264High : VAEntrypointVLD<br>
VAProfileH264High : VAEntrypointEncSliceLP<br>
VAProfileJPEGBaseline : VAEntrypointVLD<br>
VAProfileJPEGBaseline : VAEntrypointEncPicture<br>
VAProfileH264ConstrainedBaseline: VAEntrypointVLD<br>
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP<br>
VAProfileHEVCMain : VAEntrypointVLD<br>
VAProfileHEVCMain : VAEntrypointEncSliceLP<br>
VAProfileHEVCMain10 : VAEntrypointVLD<br>
VAProfileHEVCMain10 : VAEntrypointEncSliceLP<br>
VAProfileVP9Profile0 : VAEntrypointVLD<br>
VAProfileVP9Profile0 : VAEntrypointEncSliceLP<br>
VAProfileVP9Profile1 : VAEntrypointVLD<br>
VAProfileVP9Profile1 : VAEntrypointEncSliceLP<br>
VAProfileVP9Profile2 : VAEntrypointVLD<br>
VAProfileVP9Profile2 : VAEntrypointEncSliceLP<br>
VAProfileVP9Profile3 : VAEntrypointVLD<br>
VAProfileVP9Profile3 : VAEntrypointEncSliceLP<br>
VAProfileHEVCMain12 : VAEntrypointVLD<br>
VAProfileHEVCMain422_10 : VAEntrypointVLD<br>
VAProfileHEVCMain422_10 : VAEntrypointEncSliceLP<br>
VAProfileHEVCMain422_12 : VAEntrypointVLD<br>
VAProfileHEVCMain444 : VAEntrypointVLD<br>
VAProfileHEVCMain444 : VAEntrypointEncSliceLP<br>
VAProfileHEVCMain444_10 : VAEntrypointVLD<br>
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP<br>
VAProfileHEVCMain444_12 : VAEntrypointVLD<br>
VAProfileHEVCSccMain : VAEntrypointVLD<br>
VAProfileHEVCSccMain : VAEntrypointEncSliceLP<br>
VAProfileHEVCSccMain10 : VAEntrypointVLD<br>
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP<br>
VAProfileHEVCSccMain444 : VAEntrypointVLD<br>
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP<br>
VAProfileAV1Profile0 : VAEntrypointVLD<br>
VAProfileAV1Profile0 : VAEntrypointEncSliceLP<br>
VAProfileHEVCSccMain444_10 : VAEntrypointVLD<br>
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP<br>
</font><br>
</body>
</html>