<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">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 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" target="_blank" rel="noreferrer">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" 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 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>