<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 11.11.2024 22:20, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky6OF1eWBGhZJt1p3jd_1+Z=RM3Dg6td60qOvFGyrEaiNw@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">пн, 11 нояб. 2024 г.,
23:43 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<div dir="ltr" class="gmail_attr"><br>
</div>
<div dir="ltr" class="gmail_attr">{snip}</div>
<div dir="ltr" class="gmail_attr"><br>
</div>
<div dir="ltr" class="gmail_attr"><br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote type="cite">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote type="cite">.<br>
</blockquote>
<br>
<br>
hevc_qsv.mp4 revised:<br>
pixel formats p010le and y210le
render again to yuv420p10le and
.yuv422p10le respectively<br>
Woops; only when these window
lines are commented out as written
in my previous post !<br>
<blockquote><font
face="Courier New, Courier, monospace"># profile=main</font><br>
<font
face="Courier New, Courier, monospace"> # cin_pix_fmt=nv12</font><br>
</blockquote>
Works both with and without <br>
export CIN_10BIT_ENC=1<br>
before cin/bin<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">we most likely will need
new profiles for 10bit everything anyway
...</div>
<div dir="auto"><br>
</div>
<div dir="auto">thanks for continued (and
very exhaustive!) testing <br>
</div>
</div>
</blockquote>
<br>
Also the preset's combination of pixel formats
and the right (ffmpeg) codec profiles would
need an overhaul. <br>
<br>
As mentioned already above:<br>
<br>
hevc_qsv.mp4 revised:<br>
pixel formats p010le and y210le render again
to yuv420p10le and .yuv422p10le respectively<br>
Woops; only when these window lines are
commented out as written in my previous post !<br>
<blockquote> <font
face="Courier New, Courier, monospace">#
profile=main</font><br>
<font face="Courier New, Courier, monospace">
# cin_pix_fmt=nv12</font><br>
</blockquote>
<br>
I experimented additional and got<br>
<br>
y210/profile=1 ==> yuv422p10le<br>
<br>
y210/ profile=main10/ profile=2/ profile=3
==> yuv420p10le<br>
<br>
I got similar results with my own dynamic
Cingg built with ffmpeg 7.1.<br>
<br>
--------------------------<br>
<br>
So a question beside:<br>
<br>
Yesterday I did a new (monthly) upgrade of
Tumbleweed-Slowroll, which replaced Packman
package libs and ffmpeg 7.1<br>
<br>
After that, the static Cingg with onevpl and
10bit patch would not render hevc_qsv.<br>
<br>
Today's upgrade with new Packman packages
up-to-date with the new Slowroll version, and
now Cingg worked as before:<br>
<br>
ffmpeg-7 ffmpeg-7-libavcodec-devel
ffmpeg-7-libavdevice-devel
ffmpeg-7-libavfilter-devel<br>
ffmpeg-7-libavformat-devel
ffmpeg-7-libavutil-devel
ffmpeg-7-libpostproc-devel
ffmpeg-7-libswresample-devel<br>
ffmpeg-7-libswscale-devel libavcodec61
libavdevice61 libavfilter10 libavformat61
libavutil59 libpostproc58<br>
libswresample5 libswscale8<br>
<br>
So even Cingg with onevpl is static built, it
looks like it is dependent of one or more
system packages/libs beside?<br>
Any idea what packages it can be ?<br>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>onevpl/vaapi/vdpau - they all linked
dynamically (not sure if static version of them
even possible)<br>
</div>
</div>
</div>
</blockquote>
<br>
Ah, I see.<br>
<br>
I tried to compare the two configure lines for my full
dynamic Cingg/ffmpeg7.1 built and static-dynamic
Cingg/ffmpeg7.0 respectively:<br>
<br>
./configure --with-single-user --disable-static-build
--without-thirdparty --without-libdpx<br>
./configure --with-single-user --with-onevpl<br>
<br>
As the first line didn't mention "vpl" I searched
backwards and got the understanding that the source code
was patched to use the system libvpl.<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">not exactly, in first case it just uses libav*
from system ffmpeg package... and this in your case uses
libvpl.</div>
<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> In the second case the build-system itself was
patched with onevpl (default off) to use the same system
libvpl, I assume?<br>
<br>
Is/will possibly the current or upcoming Cingg
appimage/rpm available with the onevpl patch, so it can
be switched on and tested on other available hardware?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I was about to ask if onevpl patch can be added
to git ...</div>
<div dir="auto"><br>
</div>
<div dir="auto">Dear Phyllis, can you add onevpl.patch so future
QSV testing will be easier (it defaults to off so should not
break anything ... by default).</div>
<div dir="auto"><br>
</div>
<div dir="auto">while there, Terje, can you pack your latest
profile work and send it separately? I think we use
codec_encoder_additional_params.container as format</div>
<div dir="auto"><br>
</div>
<div dir="auto">so 10bit 420 hevc qsv for mp4 will look like</div>
<div dir="auto"><br>
</div>
<div dir="auto">hevc_qsv_10bit.mp4</div>
<div dir="auto"><br>
</div>
<div dir="auto">with content you experimentally determinated.</div>
<div dir="auto"><br>
</div>
<div dir="auto">and y210 probably will be named</div>
<div dir="auto"><br>
</div>
<div dir="auto">hevc_qsv_y210.mp4</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<br>
What about <br>
<br>
hevc_qsv_10bit-420.mp4<br>
<br>
and<br>
<br>
hevc_qsv_10bit-422.mp4<br>
<br>
respectively?<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky6OF1eWBGhZJt1p3jd_1+Z=RM3Dg6td60qOvFGyrEaiNw@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<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>
<br>
<br>
<br>
. <br>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<br>
<br>
<blockquote type="cite"> <br>
<br>
<blockquote type="cite">
<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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<br>
<br>
<blockquote
type="cite">
<blockquote
type="cite">
<div dir="auto">
<div
dir="auto">(probably
made up
something in
GIMP 2.10,
save as
tiff/EXR,
import in
cingg, set
format to
rgba-float,
rendrer .....
hm, may be use
YUView to see
pixel values
independently
of cinelerra's
decoding
abilities? a
bit of
adventure, but
should provide
some proof
about
encoding)</div>
<div
dir="auto"><br>
</div>
<div
dir="auto">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<font
face="Courier New, Courier, monospace">ffprobe -hide_banner
cfhd01_hevc_vaapi_pix_p010le.mp4<br>
Input #0,
mov,mp4,m4a,3gp,3g2,mj2,
from
'cfhd01_hevc_vaapi_pix_p010le.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.20,
start:
0.000000,
bitrate: 11082
kb/s<br>
Stream
#0:0[0x1](und):
Video: hevc
(Main 10)
(hev1 /
0x31766568),
yuv420p10le(tv,
bt709/unknown/unknown, top coded first (swapped)), 1920x1080 [SAR 1:1
DAR 16:9],
11080 kb/s, 25
fps, 25 tbr,
12800 tbn
(default)<br>
Metadata:<br>
handler_name
: VideoHandler<br>
vendor_id
: [0][0][0][0]<br>
<br>
ffprobe
-hide_banner
cfhd01_hevc_vaapi_pix_y210.mp4<br>
Input #0,
mov,mp4,m4a,3gp,3g2,mj2,
from
'cfhd01_hevc_vaapi_pix_y210.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.20,
start:
0.000000,
bitrate: 11082
kb/s<br>
Stream
#0:0[0x1](und):
Video: hevc
(Main 10)
(hev1 /
0x31766568),
yuv420p10le(tv,
bt709/unknown/unknown, top coded first (swapped)), 1920x1080 [SAR 1:1
DAR 16:9],
11080 kb/s, 25
fps, 25 tbr,
12800 tbn
(default)<br>
Metadata:<br>
handler_name
: VideoHandler<br>
vendor_id
: [0][0][0][0]<br>
<br>
</font>
<blockquote
type="cite">
<div
dir="auto">
<div
dir="auto">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
-----<br>
<br>
No hevc_vaapi
10bit worked:<br>
<br>
<font
face="Courier New, Courier, monospace">localhost:/Cin/ffmpeg/video # cat
hevc_vaapi.mp4<br>
mp4 hevc_vaapi<br>
#
cin_hw_dev=vaapi</font><br>
<br>
I tested
hevc_vaapi.m4
and tried to
write p010
both in the
pixels field
and as
format=p010 in
the widget,<br>
but only 8bit
420p each
time.<br>
<br>
-------------------------------<br>
<br>
hevc_qsv 10
bit worked
with p010 and
with y210<br>
<br>
<font
face="Courier New, Courier, monospace">localhost:/Cin/ffmpeg/video # cat
hevc_qsv.mp4<br>
# only usable
with ext.
ffmpeg,
another pixfmt
is yuyv422<br>
mp4 hevc_qsv<br>
# profile=main<br>
#
cin_pix_fmt=nv12<br>
<br>
<br>
ffprobe
-hide_banner
cfhd01_hevc_qsv_pix_p010le.mp4<br>
Input #0,
mov,mp4,m4a,3gp,3g2,mj2,
from
'cfhd01_hevc_qsv_pix_p010le.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.20,
start:
0.000000,
bitrate: 28276
kb/s<br>
Stream
#0:0[0x1](und):
Video: hevc
(Main 10)
(hev1 /
0x31766568),
yuv420p10le(tv,
bt709/unknown/unknown, top coded first (swapped)), 1920x1080 [SAR 1:1
DAR 16:9],
28273 kb/s, 25
fps, 25 tbr,
12800 tbn
(default)<br>
Metadata:<br>
handler_name
: VideoHandler<br>
vendor_id
: [0][0][0][0]<br>
<br>
<br>
ffprobe
-hide_banner
cfhd01_hevc_qsv_pix_y210le.mp4<br>
Input #0,
mov,mp4,m4a,3gp,3g2,mj2,
from
'cfhd01_hevc_qsv_pix_y210le.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.20,
start:
0.000000,
bitrate: 32074
kb/s<br>
Stream
#0:0[0x1](und):
Video: hevc
(Rext) (hev1 /
0x31766568),
yuv422p10le(tv,
bt709/unknown/unknown, top coded first (swapped)), 1920x1080 [SAR 1:1
DAR 16:9],
32071 kb/s, 25
fps, 25 tbr,
12800 tbn
(default)<br>
Metadata:<br>
handler_name
: VideoHandler<br>
vendor_id
: [0][0][0][0]<br>
</font><br>
<blockquote
type="cite">
<div dir="ltr">
<div
dir="auto">
<div
dir="auto">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<blockquote
type="cite">
<div
dir="auto">
<div
dir="auto"><br>
</div>
<div
dir="auto">you
also can set
bin/ffmpeg/encode.opts
loglevel to
debug, but
render exactly
one frame so
log will be
smaller.</div>
</div>
</blockquote>
<br>
How to render
render exactly
one frame ?<br>
</div>
</blockquote>
<div><br>
</div>
<div>In
render dialog
window there
is selection
of render
range with 4
choices ... 1
frame mp4/webm
should be
perfectly
legal :) <br>
</div>
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<blockquote
type="cite">
<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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><font
face="Courier New, Courier, monospace"><br>
<br>
<br>
<br>
</font>
<blockquote
type="cite">
<div
dir="auto">
<div
dir="auto"><font
face="Courier New, Courier, monospace"><br>
</font></div>
<div
dir="auto">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font
face="Courier New, Courier, monospace"><br>
</font> <font
face="Courier New, Courier, monospace"><br>
"git log"
where?<br>
</font></div>
</blockquote>
</div>
</div>
<div
dir="auto"><font
face="Courier New, Courier, monospace"><br>
</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace"><br>
</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace">in cinelerra-5.1 directory, or
some down the
hierarchy ...</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace"><br>
</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace">this is command, part of git
suite of
commands.</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace"><br>
</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace">displays log of commits in git
repo. (for me
it uses
l"less" as
pager, so you
can scroll
around and
search)</font></div>
<div
dir="auto"><font
face="Courier New, Courier, monospace"><br>
</font></div>
<div
dir="auto"><br>
</div>
<div
dir="auto">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<blockquote
type="cite">
<div
dir="auto">
<div
dir="auto"><br>
</div>
<div
dir="auto"><br>
</div>
<div
dir="auto"><br>
</div>
<div
dir="auto"><br>
</div>
<div
dir="auto"><br>
</div>
<div
dir="auto">
<div
class="gmail_quote">
<blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>