<div dir="ltr"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 6 нояб. 2024 г., 23:56 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<br>
<br>
<div>Den 06.11.2024 19:11, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ср, 6 нояб. 2024 г., 20:37
Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer" target="_blank">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 06.11.2024 15:17, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ср, 6 нояб.
2024 г., 17:13 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer" target="_blank">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 06.11.2024 14:41, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">ср,
6 нояб. 2024 г., 15:18 Terje J.
Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">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 05.11.2024 16:19, skrev
Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт,
5 нояб. 2024 г., 18:16
Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">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> Continued and
extracted from
previous threads_<br>
<a href="https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008967.html" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008967.html</a><br>
<br>
Den 27.10.2024
21:11, skrev Terje
J. Hanssen:<br>
<blockquote type="cite">........snip<br>
<br>
For me it looks
like nothing has
changed:<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin # git am
0001-Experimental-try-10bit-vaapi-encoding.patch<br>
fatal: previous
rebase directory
.git/rebase-apply still exists but mbox given.<br>
</font>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">remove
it again?</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>
By the
way,testing<br>
<br>
bin/cin<br>
compression:
hevc_vaapi.mp4<br>
Pixels: vaapi
(no other
options)<br>
cin_hw_dev=vaapi<br>
<br>
Renders<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">Color
space
: YUV</font><br>
<font face="Courier New, Courier, monospace">Chroma
subsampling
: 4:2:0</font><br>
<font face="Courier New, Courier, monospace">Bit
depth
: 8 bits</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
The same with
<br>
CIN_10BIT_ENC=1 bin/cin</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yeah,
it does not
exist in normal
cin, only after
you add patch.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">may
be just take a
break from all
this, I do not
think we will
solve this
problem in few
remaining days
until end of
October. So ...
do not rush</div>
<br>
Ok for me.<br>
<br>
</blockquote>
<br>
Den 04.11.2024
21:49, skrev Andrew
Randrianasulu:<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote"><br>
<div>Terje, I
think if you
are ok with
this idea we
can return to
testing
10bit-vaapi
patch ...</div>
<div>Hopefully
in its final
form it will
just allow
same format=
string in
encoding
profiles as
supported by
per-file
decoding opts
files now ,,,</div>
<div><br>
</div>
</div>
</div>
</blockquote>
I'm not sure I
understood the last
line yet, but I
should be ready to
continue
vaapi-testing
to-morrow.<br>
<br>
====================<br>
<br>
Yeah, here we are.<br>
The problem as I
understood lastly,
was to apply the
10bit-vaapi-encoding.patch?<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">basically
git's internal help
messages usually helpful,
so try to follow them?</div>
</div>
</blockquote>
<br>
<br>
I thougt we just tried to do
that by recapping the steps
before:<br>
<br>
<blockquote type="cite">Sorry,
but now I get<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin # rm -r
../.git/rebase-apply<br>
<br>
localhost:/Cin # git am
10bit.diff<br>
Patch format detection
failed.<br>
<br>
I was wondering if the patch
needs .patch at the end like
the previous patches?<br>
</font>
<div><br>
</div>
<div>sorry, it was git diff,
not git add/git commit/git
format-patch.</div>
<div><br>
</div>
<div>may be apply it with just
cat | patch -p1 or something</div>
<div><br>
</div>
<div>or try attached</div>
<br>
Hm?<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin # git am
0001-Experimental-try-10bit-vaapi-encoding.patch<br>
Applying: Experimental: try
10bit vaapi encoding<br>
error:
cinelerra-5.1/cinelerra/ffmpeg.C:
does not match index<br>
Patch failed at 0001
Experimental: try 10bit
vaapi encoding<br>
hint: Use 'git am
--show-current-patch=diff'
to see the failed patch<br>
hint: When you have resolved
this problem, run "git am
--continue".<br>
hint: If you prefer to skip
this patch, run "git am
--skip" instead.<br>
hint: To restore the
original branch and stop
patching, run "git am
--abort".<br>
hint: Disable this message
with "git config
advice.mergeConflict false"<br>
</font>
<div dir="auto"><br>
</div>
<div dir="auto">you probably
have previous patch applied</div>
<div dir="auto"><br>
</div>
<div dir="auto">try git reset
--hard before git am.</div>
<br>
localhost:/Cin # git reset
--hard <br>
HEAD is now at e5a5a6da Add
onevpl support to build system<br>
<br>
The "onevpl.patch" was
applied, yes.<br>
Should I apply it again,
before
"0001-Experimental-try-10bit-vaapi-encoding.patch"
again?<br>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">no</div>
<div dir="auto"><br>
</div>
</blockquote>
<br>
So if I don't get a patch
applied, I can't see I have
something more to test (?)<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">sorry, I mean you of
course should try to git am <span style="font-family:"Courier New",Courier,monospace">0001-Experimental-try-10bit-</span><span style="font-family:"Courier New",Courier,monospace">vaapi-encoding.patch</span></div>
<div dir="auto"><span style="font-family:"Courier New",Courier,monospace"><br>
</span></div>
<div dir="auto"><span style="font-family:"Courier New",Courier,monospace">again,
hopefully this time it will not
complain about index?</span></div>
<div dir="auto"><span style="font-family:"Courier New",Courier,monospace"><br>
</span></div>
<div dir="auto"><span style="font-family:"Courier New",Courier,monospace">new git
log hopefully should list it after
application as newest, topmost
patch.</span></div>
</div>
</blockquote>
<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/
# cd /Cin<br>
localhost:/Cin # ls -l /Cin<br>
lrwxrwxrwx 1 root root 29 Oct 22 20:23
/Cin -> /home/cinelerra/cinelerra-5.1<br>
</font><br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin
# git reset --hard<br>
HEAD is now at e5a5a6da Add onevpl support
to build system<br>
<br>
localhost:/Cin # git am
0001-Experimental-try-10bit-vaapi-encoding.patch<br>
fatal: previous rebase directory
.git/rebase-apply still exists but mbox
given.<br>
<br>
localhost:/Cin # git am
0001-Experimental-try-10bit-vaapi-encoding.patch<br>
fatal: previous rebase directory
.git/rebase-apply still exists but mbox
given.<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">remove </div>
<div dir="auto"><br>
</div>
<div dir="auto">.<span style="font-family:"courier new",courier,monospace">git/rebase-apply</span></div>
</div>
</blockquote>
<br>
Oh, I forgot and missed that step.<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/home
# find . -name "rebase-apply"<br>
./cinelerra/.git/rebase-apply<br>
localhost:/home # rm -r ./cinelerra/.git/rebase-apply</font><br>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">as instructed ?</div>
</div>
</blockquote>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin
# git reset --hard<br>
HEAD is now at e5a5a6da Add onevpl support to build
system<br>
<br>
localhost:/Cin # git am
0001-Experimental-try-10bit-vaapi-encoding.patch<br>
Applying: Experimental: try 10bit vaapi encoding<br>
<br>
Looks better ......?<br>
<br>
<br>
localhost:/Cin # git log | more<br>
commit 68eb98be2183738684f1f4da2729d1ff9989ad16<br>
Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
Date: Sun Oct 27 19:43:06 2024 +0300<br>
<br>
Experimental: try 10bit vaapi encoding<br>
<br>
commit e5a5a6da907dbcd40d8612bdbfeea1a2a0ae6cc8<br>
Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
Date: Fri Oct 18 10:07:33 2024 +0300<br>
<br>
Add onevpl support to build system<br>
<br>
commit 8681d13675f32e870ab3632eaf89105415fb3961<br>
Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
Date: Wed Oct 23 16:36:19 2024 +0300<br>
<br>
Add DESCRIPTION<br>
<br>
commit 90138debee46e0b91adeb5d8a400158b131b0d61<br>
Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
Date: Wed Oct 23 16:29:58 2024 +0300<br>
<br>
Add BUGS<br>
<br>
commit 318c884532617e32904d6f4ec05a2b73832f418e<br>
Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
Date: Wed Oct 23 16:22:58 2024 +0300<br>
<br>
Update README build instructions<br>
<br>
commit 16ef7f3d7af3edb454b19288f084f86b02631c86<br>
Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
Date: Fri Sep 27 13:56:15 2024 +0300<br>
<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">so, now rebuild it ...</div>
</div>
</blockquote>
<br>
<br>
I have to get confirmed and possibly modified the steps below to use
this time.<br>
<br>
A couple a weeks ago when I rebuilt Cingg-with-system-FFmpeg 7.1 I
used the following steps:<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin # <br>
</font><br>
<font face="Courier New, Courier, monospace"># export
CFLAGS=-I/usr/include/ffmpeg<br>
<br>
# ./configure --with-single-user --disable-static-build
--without-thirdparty --without-libdpx<br>
</font><br>
But when I now check with<br>
<br>
<font face="Courier New, Courier, monospace"># head config.log</font><br>
<blockquote>This file contains any messages produced by compilers
while<br>
running configure, to aid debugging if configure makes a mistake.<br>
<br>
It was created by cinelerra configure 5.1, which was<br>
generated by GNU Autoconf 2.72. Invocation command line was<br>
<br>
$ ./configure --with-single-user --with-onevpl<br>
</blockquote>
I don't know if this current config.log --with-onevpl was added by
the later/recent onevpl patch?<br>
And should --with-onevpl be added to the long configure line above
for the upcoming rebuilt?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think this time we try to make build with internal ffmpeg 7.0 because 7.1 introduced some changes ...</div><div dir="auto"><br></div><div dir="auto">so, please keep short ./configure line as currently in config.log</div><div dir="auto"><br></div><div>looking at your another email: yeah, default static build does not do svt-av1 by default, but we can put this aside for now ...<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>
<font face="Courier New, Courier, monospace"># make<br>
<br>
# make install<br>
<br>
# cp -R bin_use_system_ffmpeg-702/ffmpeg/video/* bin/ffmpeg/video<br>
</font><br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">and retry with newly-added env. variable set to
1 before launching bin/cin</div>
</div>
</blockquote>
<br>
Syntax, please?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">export CIN_10BIT_ENC bin/cin</div><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: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">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: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><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:0 0 0 .8ex;border-left:1px #ccc solid;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: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"><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>
</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>