<!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 12.11.2024 21:58, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:bc0d6d71-ea34-4d5c-8552-e17351cda4cb@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 12.11.2024 21:53, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:c2b5f796-f591-4665-a4f5-b764fe5fb09e@gmail.com">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 12.11.2024 16:42, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky6bnEK4tP4ojcGMxTpA3Wq9aVoS1LDncSRP+M4m4VUhkQ@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">вт, 12 нояб. 2024 г.,
18:32 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>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<br>
<div>Den 12.11.2024 09:59, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт, 12
нояб. 2024 г., 11:41 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">
<div> <br>
<br>
<br>
<div>Den 11.11.2024 22:34, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr"
class="gmail_attr">вт, 12
нояб. 2024 г., 00:31 Terje J.
Hanssen <<a
href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer"
target="_blank"
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">
<div> <br>
<br>
<br>
<div>Den 11.11.2024 22:20,
skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<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"
rel="noreferrer noreferrer noreferrer" target="_blank"
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? </div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
Do you mean to attach them with
filenames to a separate post here or?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yes.</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>
<blockquote type="cite">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">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>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">if those relative
long names fit their box - then ok
...</div>
</div>
</blockquote>
<br>
An alternative short(er) form and still
a relative unambiguous description<br>
<br>
hevc_qsv_10b420.mp4<br>
hevc_qsv_10b422.mp4<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">then make them so!</div>
</div>
</blockquote>
<br>
I have some questions:<br>
<br>
I know how to edit the content of the included
"generic" video preset <br>
<br>
<font face="Courier New, Courier, monospace">cat
/Cin/bin/ffmpeg/video/hevc_qsv.mp4<br>
</font>
<blockquote><font
face="Courier New, Courier, monospace">mp4
hevc_qsv</font><br>
<font face="Courier New, Courier, monospace">#
only usable with ext. ffmpeg, another pixfmt is
yuyv422</font><br>
<font face="Courier New, Courier, monospace">profile=main</font><br>
<font face="Courier New, Courier, monospace">cin_pix_fmt=nv12<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">to
create three additional, typical types:<br>
</font>
<blockquote><font
face="Courier New, Courier, monospace">hevc_qsv_8b420.mp4</font><br>
<font face="Courier New, Courier, monospace">hevc_qsv_10b420.mp4</font><br>
<font face="Courier New, Courier, monospace">hevc_qsv_10b422.mp4</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
I can load these compression types, but Cingg
won't render with other names than with the
hevc_qsv.mp4?<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">show content of those for all of us? ;)</div>
</div>
</blockquote>
<br>
<br>
Of course, we can clarify the questions this way.<br>
<br>
<font face="Courier New, Courier, monospace">cat
hevc_qsv_8b420.mp4<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">mp4
hevc_qsv_8b420</font><br>
<font face="Courier New, Courier, monospace"># usable with
Pixels: nv12</font><br>
<font face="Courier New, Courier, monospace">profile=main</font><br>
<font face="Courier New, Courier, monospace">#
global_quality=25</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
cat hevc_qsv_10b420.mp4<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">mp4
hevc_qsv_10b420</font><br>
<font face="Courier New, Courier, monospace"># usable with
Pixels: p010le</font><br>
<font face="Courier New, Courier, monospace">profile=main10</font><br>
<font face="Courier New, Courier, monospace">#
global_quality=25</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
cat hevc_qsv_10b422.mp4<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">mp4
hevc_qsv_10b422</font><br>
<font face="Courier New, Courier, monospace"># usable with
Pixels: y210le</font><br>
<font face="Courier New, Courier, monospace">profile=0</font><br>
<font face="Courier New, Courier, monospace">#
global_quality=25</font><br>
</blockquote>
<br>
</blockquote>
<br>
Attached the three presets<br>
<br>
<br>
<blockquote type="cite"
cite="mid:c2b5f796-f591-4665-a4f5-b764fe5fb09e@gmail.com"> If I
load these compression Preset types, two issues arise:<br>
<br>
1. The window content is correct, but the Pixel field is not: no
drop down menu, but preferably nv12, p010le or y210le should be
selected directly.<br>
(I have tested these work, but not all other options on the drop
down menu)<br>
<br>
2. Rendering won't run and the error output<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
cant find codec
hevc_qsv_8b420:/Videoklipp/Cineform/cfhd01_hevc_qsv_pix_nv12.mp4<br>
<br>
However, as mentioned, if I load the default hevc_qsv.mp4
instead and copy the content above in its window and select the
right Pixel format,<br>
rendering works fine.<br>
<br>
<font face="Courier New, Courier, monospace">ffprobe
-hide_banner cfhd01_hevc_qsv_pix_nv12.mp4<br>
Duration: 00:01:11.20, start: 0.000000, bitrate: 2245 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], 2242 kb/s, 25
fps, 25 tbr, 12800 tbn (default)</font><br>
<br>
and with the gobal_quality=25 flag enabled:<br>
<br>
<font face="Courier New, Courier, monospace">ffprobe
-hide_banner cfhd01_hevc_qsv_pix_nv12_gq25.mp4<br>
Duration: 00:01:11.20, start: 0.000000, bitrate: 4644 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], 4642 kb/s, 25
fps, 25 tbr, 12800 tbn (default)</font><br>
<br>
<br>
</blockquote>
</blockquote>
I think I solved it.<br>
The first line in all presets need to be identical with the original
preset to get the original drop down Pixel menu<br>
<blockquote>mp4 hevc_qsv<br>
</blockquote>
<br>
That is all three presets content and as attached edited:<br>
<br>
hevc_qsv_8b420.mp4<br>
<blockquote>mp4 hevc_qsv<br>
# usable with Pixels: nv12<br>
profile=main<br>
# global_quality=25<br>
</blockquote>
<br>
hevc_qsv_10b420.mp4<br>
<blockquote>mp4 hevc_qsv<br>
# usable with Pixels: p010le<br>
profile=main10<br>
# global_quality=25<br>
</blockquote>
<br>
hevc_qsv_10b422.mp4<br>
<blockquote>mp4 hevc_qsv<br>
# usable with Pixels: y210le<br>
profile=0<br>
# global_quality=25<br>
</blockquote>
<br>
<br>
<blockquote type="cite"
cite="mid:bc0d6d71-ea34-4d5c-8552-e17351cda4cb@gmail.com">
<blockquote type="cite"
cite="mid:c2b5f796-f591-4665-a4f5-b764fe5fb09e@gmail.com">
<blockquote type="cite"
cite="mid:CA+rFky6bnEK4tP4ojcGMxTpA3Wq9aVoS1LDncSRP+M4m4VUhkQ@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><font face="Courier New, Courier, monospace"> <br>
What decide what become available in the Video
Preset Pixel field, one single default or nv12 on
top of a drop down menu?<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">whatever individual encoder describes in
their pixfmt array .... (inside libavcodec)</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><font face="Courier New, Courier, monospace"> <br>
Testing with added <br>
<br>
global_quality=25<br>
<br>
works seemingly well and uses higher bit rate vs
without this flag (default):<br>
<br>
hdv input: 5938 kb/s vs 3090 kb/s<br>
cfhd input: 4644 kb/s vs 2245 kb/s<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">good.</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><font face="Courier New, Courier, monospace"> <br>
<br>
<br>
<br>
</font><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<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:0 0 0 .8ex;border-left:1px #ccc solid;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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<blockquote type="cite">
<div dir="auto">
<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>
</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>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>