<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 24 окт. 2024 г., 19:29 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"><u></u>
<div>
<br>
<br>
<br>
<div>Den 24.10.2024 15:37, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">чт, 24 окт. 2024 г., 12:40
Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer 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> <br>
<br>
<br>
<div>Den 23.10.2024 22: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">ср, 23 окт.
2024 г., 23:44 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer 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> <br>
<br>
<br>
<div>Den 23.10.2024 21:25, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"> <br>
<br>
<br>
<div>Den 18.10.2024 20:56, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">пт,
18 окт. 2024 г., 21:45 Terje J.
Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer 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> <br>
<br>
<br>
<div>Den 18.10.2024 18:37,
skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">пт,
18 окт. 2024 г.,
19:30 Terje J.
Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer 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> <br>
<br>
<br>
<div>Den
18.10.2024
09:08, skrev
Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">Can
you try
attached
patch?
<div dir="auto"><br>
</div>
<div dir="auto">default
to off, so
should be
safe?</div>
</div>
</blockquote>
<br>
Can you detail the
basic steps to do
it?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">as always</div>
<div dir="auto"><br>
</div>
<div dir="auto">backup
what you think is
important (qsv/vaapi
profiles, notably)</div>
</div>
</blockquote>
<br>
Will my custom built Cingg
using my system ffmpeg be
overwritten?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yes, so</div>
<div dir="auto"><br>
</div>
<div dir="auto">1) put this bin folder
away somewhere</div>
<div dir="auto"><br>
</div>
<div dir="auto">2) may be try to use
appimage tool for making your own
appimage out of it.</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">make clean</div>
<div dir="auto"><br>
</div>
<div dir="auto">git am
patch</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
Does this comprise just the onevpl.patch
or also other patches on the current list?<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin
# ls -1 *.patch<br>
0001-Add-nv12-as-def.-pixformat-for-qsv-profiles-clarify-.patch<br>
0001-Fix-build-in-makeappimage-for-boost-1.85.patch<br>
0001-Qsv-encoders-for-testing.patch<br>
0001-Update-README-build-instructions.patch<br>
0002-Add-BUGS.patch<br>
0002-Modify-remaining-_qsv-orofiles-to-use-nv12-fix-typo-.patch<br>
0002-makeappimage-tool-add-algorithm-incl-into-core.cpp.patch<br>
0003-Add-DESCRIPTION.patch<br>
alt_shortcuts.patch<br>
onevpl.patch<br>
</font><br>
<br>
</blockquote>
I applied <br>
<br>
<font face="Courier New, Courier, monospace">git
am onevpl.patch</font><br>
<br>
first, before "make clean", and a second
time after "make clean" in case this order
was necessary.<br>
Then I got this output:<br>
<font face="Courier New, Courier, monospace"><br>
localhost:/Cin # git am onevpl.patch<br>
Applying: Add onevpl support to build
system<br>
error: patch failed: cinelerra-5.1/<a href="http://configure.ac:86" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">configure.ac:86</a><br>
error: cinelerra-5.1/<a href="http://configure.ac" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">configure.ac</a>:
patch does not apply<br>
error: patch failed:
cinelerra-5.1/thirdparty/Makefile:136<br>
error: cinelerra-5.1/thirdparty/Makefile:
patch does not apply<br>
Patch failed at 0001 Add onevpl support to
build system<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"</font><br>
<br>
Is this message due to the second attempt,
and is safe to continue from here with the
next steps below?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yeah, you only need to apply patch
once.</div>
</div>
</blockquote>
<br>
Should I apply more than than the onevpl.patch?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I think no? At least I was testing it standalone</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">if you have "gitk" installed you can
run that and observe content of top patch or any
patch in tree in tcl/tk gui.</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">
<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>
<blockquote type="cite">
<div dir="auto"><br>
<div dir="auto">./autogen.sh</div>
<div dir="auto"><br>
</div>
<div dir="auto">./configure
--with-single-user
--with-onevpl<br>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
What's broken here, lvpl no - onevpl error?<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/Cin
# ./configure --with-single-user --with-onevpl<br>
configure: loading site script
/usr/share/site/x86_64-pc-linux-gnu<br>
checking for a BSD-compatible install...
/usr/bin/install -c<br>
checking whether sleep supports fractional seconds...
yes<br>
checking filesystem timestamp resolution... 0.01<br>
checking whether build environment is sane... yes<br>
.........snip<br>
checking for vaGetDisplayDRM in -lva-drm... yes<br>
checking for MFXCreateSession in -lvpl... no<br>
configure: error: requires onevpl support.</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">hm, do you have -devel package from onevpl
installed?</div>
</div>
</blockquote>
<br>
<font face="Courier New, Courier, monospace">No, at least not
currently<br>
<br>
# zypper se libvpl<br>
Loading repository data...<br>
Reading installed packages...<br>
<br>
S | Name |
Summary
| Type<br>
---+---------------------+---------------------------------------------------------------------------+-----------<br>
| libvpl | oneAPI Video Processing Library
(oneVPL) dispatcher, tools, and examples | package<br>
| libvpl-devel | Development files for oneAPI Video
Processing Library (oneVPL) dispatcher | package<br>
| libvpl-tools | Intel Video Processing Library (Intel
VPL) Tools | srcpackage<br>
i+ | libvpl-tools | Intel Video Processing Library (Intel
VPL) Tools | package<br>
| libvpl-tools-devel | Development files for
libvpl-tools | package<br>
i | libvpl2 | oneAPI Video Processing Library
(oneVPL) dispatcher | package<br>
| libvpl_wayland1_0_0 | Runtime library for
libvpl-tools | package<br>
<br>
<br>
<br>
Not sure about libvpl vs libvpl2, but add-installed the rest of
not available libvpl- packages<br>
<br>
# zypper in libvpl libvpl-devel libvpl-tools-devel
libvpl_wayland1_0_0<br>
<br>
<br>
<br>
</font>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">what "pkg-config --libs vpl" /"pkg-config
--cflags vpl" say?</div>
</div>
</blockquote>
<br>
Then <br>
<br>
<font face="Courier New, Courier, monospace"># pkg-config --libs vpl<br>
-L/usr/lib64/pkgconfig/../ -lvpl -ldl -lstdc++<br>
<br>
# pkg-config --cflags vpl<br>
-I/usr/lib64/pkgconfig/../../include
-I/usr/lib64/pkgconfig/../../include/vpl<br>
<br>
<br>
Reconfigure<br>
<br>
localhost:/Cin # ./configure --with-single-user --with-onevpl
2>&1 | tee configure_onevpl_support.log<br>
<br>
No errors found in the log file<br>
<br>
<br>
localhost:/Cin # make 2>&1 | tee make_onevpl_support.log<br>
<br>
No errors found in the log file<br>
<br>
<br>
localhost:/Cin # make install 2>&1 | tee
make_install_onevpl_support.log<br>
<br>
-----------------<br>
<br>
> return qsv profiles you saved before to bin/ffmpeg/video<br>
<br>
localhost:/Cin/bin/ffmpeg/video # cp
/Cin/bin_use_system_ffmpeg-71/ffmpeg/video/*qsv* .<br>
<br>
<br>
-----------------------<br>
<br>
localhost:/Cin # bin/cin<br>
Cinelerra Infinity - built: Oct 24 2024 16:26:16<br>
<br>
Tested with similar results as my previous ffmpeg_71 build:<br>
<br>
SD-DV to av1_qsv, hevc_qsv and h264_qsv nv12 works<br>
HDV to hevc_qsv works with nv12, p010le and yuv422 works<br>
HDV to av1_qsv and to h264_qsv don't work<br></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">does av1_vaapi work for HDV case?</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"></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">can you add auto-scale filter to HDV cases so it will be full HD and not 1440*1080 ? or another similar rescaling ....</div><div dir="auto"><br></div><div dir="auto">again, thanks for testing.</div><div dir="auto"><br></div><div dir="auto">But as with any experimentation we get some new questions instead of pure answers ....</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><font face="Courier New, Courier, monospace">
<br>
<br>
===================================<br>
<br>
In separate posts:<br>
Can you possibly setup guideline detail procedure on how to build
an appimage and a rpm package of this build,<br>
to possible install and test it on my legacy Skylake and Kabylake
platforms?<br>
<br>
===================================<br></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think basic procedure at</div><div dir="auto"><br></div><div dir="auto"><a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/Build_CinGG_AppImage_from_s.html" rel="noreferrer noreferrer" target="_blank">https://cinelerra-gg.org/download/CinelerraGG_Manual/Build_CinGG_AppImage_from_s.html</a><br></div><div dir="auto"><br></div><div dir="auto">starting from</div><div dir="auto"><br></div><div dir="auto">2- The script bld_appimage.sh uses a platform specific version of appimagetool so that it can create appimages for x86_64, i686, aarch64, or armv7l architecture. We need to add appimagetool-(platform).AppImage to the /{path to cinelerra- 5.1}/tools directory, or somewhere in your path. You can download the tool for your system (e.g. appimagetool-x86_64.AppImage) from git: <small><kbd><a href="https://github.com/AppImage/AppImageKit/releases" target="_blank" rel="noreferrer">https://github.com/AppImage/AppImageKit/releases</a></kbd></small><br></div><div dir="auto"><small><br></small></div><div dir="auto"><small><br></small></div><div dir="auto"><small>for rpm build I think we need to wait for this patch to land in git and then become part of monthly src tarball.</small></div><div dir="auto"><small><br></small></div><div dir="auto"><small>Then you can edit .spec file with soecifix date-based filename to fetch and run</small></div><div dir="auto"><small><br></small></div><div dir="auto"><small><span style="font-size:15px">rpmbuild -bb ("build binary") our_spec_file.spec</span><br></small></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>
</font>
<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>
<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>
<blockquote type="cite">
<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>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"> </div>
<div dir="auto"><br>
</div>
<div dir="auto">make</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
and here?<br>
<font face="Courier New, Courier, monospace"><br>
# make<br>
make: *** No targets specified and no makefile found.
Stop.</font><br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<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>
<br>
<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>
<blockquote type="cite">
<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>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">make
install</div>
<div dir="auto"><br>
</div>
<div dir="auto">return qsv
profiles you saved
before to
bin/ffmpeg/video</div>
<div dir="auto"><br>
</div>
<div dir="auto">bin/cin</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>
My system is <br>
<font face="Courier New, Courier, monospace"><br>
/home/cinelerra/cinelerra-5.1 # ls bin<br>
COPYING applications doc expanders.txt info
lv2
models
pixmaps
tips
zmpeg3ifochk<br>
Cinelerra_factory bdwrite <a href="http://expanders.es" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">expanders.es</a> ffmpeg
ladspa
lv2_blacklist.txt
mplexlo
plugins
zmpeg3cat
zmpeg3show<br>
README cin <a href="http://expanders.fr" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">expanders.fr</a> hveg2enc
locale
lv2ui
msg
shuttlerc
zmpeg3cc2txt
zmpeg3toc<br>
</font><br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>