<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<div class="moz-cite-prefix">Den 15.09.2024 04:23, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky7JXDzvQhysmseeM7OZwmDBfuTKQtKbNZfvbV+ocNeEkg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 14 сент. 2024 г.,
22:42 Terje J. Hanssen via Cin <<a
href="mailto:cin@lists.cinelerra-gg.org"
moz-do-not-send="true" class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> Two simple tests I got working Cinelerra Infinity -
built: Sep 8 2024 10:37:25 (rpm installation) <br>
on Leap 15.6 on i7-12700KF + Arc A750 gpu<br>
<br>
As seen below, quite fast rendering: <br>
<ul>
<li>207 fps for hdv.m2t (yuv420p) input ->
yuvj420p</li>
<li>125 fps for proreshq.mov (yuv422p10le) ->
yuvj420p (10-bit to 8-bit color depth)<br>
</li>
</ul>
<br>
<font face="Courier New, Courier, monospace">1) <br>
hdv.m2t <br>
<br>
Stream #0:0[0x810]: Video: mpeg2video (Main)
([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top
first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25
fps, 25 tbr, 90k tbn<br>
Side data:<br>
cpb: bitrate max/min/avg: 25000000/0/0 buffer
size: 7340032 vbv_delay: N/A<br>
Stream #0:1[0x814]: Audio: mp2 (mp3float)
([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384
kb/s<br>
<br>
-> hevc_vaapi.mp4<br>
<br>
** rendered 5972 frames in 28.721 secs, 207.931 fps<br>
audio0 pad 64 0 (64)<br>
<br>
tream #0:0[0x1](und): Video: hevc (Main) (hev1 /
0x31766568), yuvj420p(pc, bt709/unknown/unknown, top
coded first (swapped)), 1440x1080 [SAR 4:3 DAR 16:9],
11716 kb/s, 25 fps, 25 tbr, 12800 tbn (default)<br>
Metadata:<br>
handler_name : VideoHandler<br>
vendor_id : [0][0][0][0]<br>
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a /
0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s
(default)<br>
<br>
<br>
2)<br>
hd.mov<br>
Stream #0:0[0x1](eng): Video: prores (HQ) (apch /
0x68637061), yuv422p10le(bt709, top coded first
(swapped)), 1920x1080, 182130 kb/s, SAR 1:1 DAR 16:9,
25 fps, 25 tbr, 2500 tbn (default)<br>
Metadata:<br>
creation_time : 2016-02-23T23:49:21.000000Z<br>
handler_name : Apple Video Media Handler<br>
vendor_id : appl<br>
encoder : Apple ProRes 422 (HQ)<br>
Stream #0:1[0x2](eng): Audio: pcm_s24le (lpcm /
0x6D63706C), 48000 Hz, 16 channels, s32 (24 bit),
18432 kb/s (default)<br>
<br>
-> hevc_vaapi.mp4<br>
<br>
** rendered 1781 frames in 14.188 secs, 125.529 fps<br>
audio0 pad 128 0 (128)<br>
<br>
Stream #0:0[0x1](und): Video: hevc (Main) (hev1 /
0x31766568), yuvj420p(pc, bt709/unknown/unknown, top
coded first (swapped)), 1920x1080 [SAR 1:1 DAR 16:9],
11427 kb/s, 25 fps, 25 tbr, 12800 tbn (default)<br>
Metadata:<br>
handler_name : VideoHandler<br>
vendor_id : [0][0][0][0]<br>
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a /
0x6134706D), 48000 Hz, 16 channels, fltp, 378 kb/s
(default)<br>
<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I think due to some strangeness with full (pc,
jpeg) data levels currently under investigation you better to
retry with color range set to MPEG? <br>
</div>
</div>
</blockquote>
<br>
<br>
Yeah, thanks. I changed Settings>Prefs>Appearance Color Range
to MPEG, and the ffprobe output color range looks more in accordance
with the input: yuv420p(tv, bt709 ....)<br>
<br>
2) <br>
<font face="Courier New, Courier, monospace">ffprobe -hide_banner
hd01_hevc_vaapi.mp4<br>
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'hd01_hevc_vaapi.mp4':<br>
Metadata:<br>
major_brand : isom<br>
minor_version : 512<br>
compatible_brands: isomiso2mp41<br>
encoder : Lavf61.1.100<br>
Duration: 00:01:11.28, start: 0.000000, bitrate: 11603 kb/s<br>
Stream #0:0[0x1](und): Video: hevc (Main) (hev1 / 0x31766568),
yuv420p(tv, bt709/unknown/unknown, top coded first (swapped)),
1920x1080 [SAR 1:1 DAR 16:9], 11225 kb/s, 25 fps, 25 tbr, 12800
tbn (default)<br>
Metadata:<br>
handler_name : VideoHandler<br>
vendor_id : [0][0][0][0]<br>
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D),
48000 Hz, 16 channels, fltp, 378 kb/s (default)<br>
Metadata:<br>
handler_name : SoundHandler<br>
vendor_id : [0][0][0][0]</font><br>
<br>
<br>
But still yuv422p10le input is changed automatic to yuv420p
output. <br>
Actually in Cingg there is only one single preset "hevc_vaapi.mp4"
available to select.<br>
<br>
By showing information from the VA-API driver:<br>
<ul>
<li>VLD means the card is capable to decode this format</li>
<li>Enc means it can encode this format.</li>
</ul>
<font face="Courier New, Courier, monospace">vainfo<br>
Trying display: wayland<br>
Trying display: x11<br>
libva info: VA-API version 1.20.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_20<br>
libva info: va_openDriver() returns 0<br>
vainfo: VA-API version: 1.20 (libva 2.20.1)<br>
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics
- 24.1.3 ()<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>
<br>
</font>-----------------<br>
<br>
I also did a short attempt with the Cingg Appimage, but as I think
has been said before: HWA want work there.<br>
<br>
Cinelerra Infinity - built: Aug 25 2024 13:42:19<br>
<br>
[AVHWDeviceContext @ 0x7f3a982eebc0] libva:
/usr/lib64/dri/iHD_drv_video.so has no function __vaDriverInit_1_0<br>
[AVHWDeviceContext @ 0x7f3a982eebc0] libva:
/usr/lib64/dri/i965_drv_video.so has no function __vaDriverInit_1_0<br>
[AVHWDeviceContext @ 0x7f3a982eebc0] Failed to initialise VAAPI
connection: -1 (unknown libva error).<br>
Failed to create a HW device.<br>
err: Inn/ut-feil<br>
[hevc_vaapi @ 0x7f3a9859df00] A hardware frames reference is
required to associate the encoding device.<br>
FFMPEG::open_encoder err: Ugyldig argument<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
Åpne mislyktes
hevc_vaapi:/home/terje/Applications/hdv09_04_hevc_vaapi+aac.mp4<br>
Render::render_single: Session finished.<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky7JXDzvQhysmseeM7OZwmDBfuTKQtKbNZfvbV+ocNeEkg@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</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">
<div><br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">Cin@lists.cinelerra-gg.org</a><br>
<a
href="https://lists.cinelerra-gg.org/mailman/listinfo/cin"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>