<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 20 окт. 2024 г., 19:33 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"><u></u>
<div>
<br>
<br>
<br>
<div>Den 19.10.2024 19:03, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 19 окт. 2024 г., 19:53
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> Continued from another thread:<br>
<br>
Re: [Cin] another set of test profiles<br>
Den 18.10.2024 02:08, skrev Andrew Randrianasulu:<br>
<blockquote type="cite">чт, 17 окт. 2024 г., 15:06 Terje
J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:</blockquote>
<blockquote type="cite">
<blockquote type="cite">If we get available a packaged
Cingg test build (rpm/Leap for me), it would be more
useful to do this test. Then I have available three
gen. Intel, legacy Skylake/Kabylake iGPUs and
current DG2/Arc GPU. I also have/had a Nvidia GPU on
Skylake, but it looks like it past away.</blockquote>
</blockquote>
<blockquote type="cite">
<div dir="auto">I think you can build rpm yourself,
but for this we need to update spec file, so it will
point at new source and add openvpl as requirements.</div>
<div dir="auto"><br>
</div>
<div dir="auto">In meantime you can just make your
own appimage from just build
cingg-with-system-ffmpeg, so it hopefully will not
be lost after few system updates.</div>
<div dir="auto"><br>
</div>
</blockquote>
<br>
Well, first:<br>
After my ffmpeg upgrade from v. 7.0.2 to the awaited v.
7.1 on Slowroll yesterday, my "just build "
cingg-with-system-ffmpeg won't startup. <br>
Apparently Cingg also has to be rebuilt or upgraded to
the new ffmpeg 7.1 family version, as it claims at
startup attempt:<br>
<br>
<font face="Courier New, Courier, monospace">/home/cinelerra/cinelerra-5.1
#<br>
<br>
# bin/cin<br>
bin/cin: /lib64/libswscale.so.8: version
`LIBSWSCALE_8.1_SUSE' not found (required by bin/cin)<br>
bin/cin: /lib64/libswresample.so.5: version
`LIBSWRESAMPLE_5.1_SUSE' not found (required by
bin/cin)<br>
bin/cin: /lib64/libavfilter.so.10: version
`LIBAVFILTER_10.1_SUSE' not found (required by
bin/cin)<br>
bin/cin: /lib64/libavcodec.so.61: version
`LIBAVCODEC_61.3_SUSE' not found (required by bin/cin)<br>
bin/cin: /lib64/libavformat.so.61: version
`LIBAVFORMAT_61.1_SUSE' not found (required by
bin/cin)<br>
bin/cin: /lib64/libavutil.so.59: version
`LIBAVUTIL_59.8_SUSE' not found (required by bin/cin)<br>
<br>
<br>
Verify the installed packages that now provide the
missing lib files<br>
<br>
# zypper se -f /lib64/libswscale.so.8
/lib64/libswresample.so.5 /lib64/libavfilter.so.10
/lib64/libavcodec.so.61 /lib64/libavformat.so.61
/lib64/libavutil.so.59<br>
Loading repository data...<br>
Reading installed packages...<br>
<br>
<br>
S | Name |
Summary
| Type<br>
---+----------------+--------------------------------------------------------------+--------<br>
i+ | libavcodec61 | FFmpeg codec
library |
package<br>
i | libavfilter10 | FFmpeg audio and video filtering
library | package<br>
i+ | libavformat61 | FFmpeg's stream format
library | package<br>
i+ | libavutil59 | FFmpeg's utility
library | package<br>
i+ | libswresample5 | FFmpeg software resampling
library | package<br>
i | libswscale8 | FFmpeg image scaling and
colorspace/pixel conversion library | package<br>
<br>
<br>
and to verify the new versions:<br>
<br>
# zypper se -is libavcodec61 libavfilter10
libavformat61 libavutil59 libswresample5 libswscale8<br>
Loading repository data...<br>
Reading installed packages...<br>
<br>
<br>
S | Name | Type | Version
| Arch | Repository<br>
---+----------------------+---------+-----------------+--------+-----------<br>
i+ | libavcodec61 | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i | libavcodec61-32bit | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i | libavfilter10 | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i+ | libavformat61 | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i+ | libavutil59 | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i | libavutil59-32bit | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i+ | libswresample5 | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i | libswresample5-32bit | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
i | libswscale8 | package | 7.1-1699.6.pm.1
| x86_64 | Packman<br>
</font><br>
<br>
My question is which steps (back) to rebuild Cingg for
the new ffmpeg 7.1 ?</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yeah, fragility of system build.</div>
<div dir="auto"><br>
</div>
<div dir="auto">make sure you have working qsv/vaapi profiles in
some safe dir away from cinelerra-5.1</div>
<div dir="auto"><br>
</div>
<div dir="auto">cd cinelerra-5.1</div>
<div dir="auto"><br>
</div>
<div dir="auto">as always, note configure parameters you used</div>
<div dir="auto"><br>
</div>
<div dir="auto">head config.log</div>
<div dir="auto"><br>
</div>
<div dir="auto">copy command line ( ./configure ... ) into some
easy to open document</div>
<div dir="auto"><br>
</div>
<div dir="auto">make clean</div>
<div dir="auto"><br>
</div>
<div dir="auto">./autogen.sh</div>
<div dir="auto"><br>
</div>
<div dir="auto">paste configure line you copied to easy to find
document before.</div>
</div>
</blockquote>
<br>
./configure --with-single-user --disable-static-build
--without-thirdparty --without-libdpx<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">OR </div>
<div dir="auto"><br>
</div>
<div dir="auto">enter new configure line with all needed
switches < they start with "--" > (for example if you
patched source with my libvpl.patch)</div>
<div dir="auto"><br>
</div>
<div dir="auto">make</div>
</div>
</blockquote>
<br>
Unhappily I got several fatal errors like:<br>
<blockquote>ffmpeg.h:48:10: fatal error: libavformat/avformat.h: No
such file or directory<br>
48 | #include "libavformat/avformat.h"<br>
| ^~~~~~~~~~~~~~~~~~~~~~~~<br>
compilation terminated.<br>
</blockquote>
<br>
During the testinstalls of ffmpeg 7.1 first from obs: and lastly
from Packman, I had to deinstall several packages due to dependice
errors.<br>
So I think there may be some missing packages. I tried to add
ffmpeg </div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">you can try to locate libavformat either by pkg-config</div><div dir="auto"><br></div><div dir="auto">pkg-config --cflags libavformat</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">or find /usr -name avformat.h</div><div dir="auto"><br></div><div dir="auto">then add CFLAGS=-I/path_to_dir_where_avformat dir_located/ and re-run ./configure and make.</div><div dir="auto"><br></div><div dir="auto">last time it was something like /usr/include/ffmpeg</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>
Not sure what cause this errors? <br>
I have the following ffmpeg 7.1 packages (re)installed:<br>
<br>
<font face="Courier New, Courier, monospace"># zypper se -is
ffmpeg-7<br>
Loading repository data...<br>
Reading installed packages...<br>
<br>
S | Name | Type | Version |
Arch | Repository<br>
---+------------------------------+---------+-----------------+--------+-----------<br>
i+ | ffmpeg-7 | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i | ffmpeg-7-libavcodec-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i+ | ffmpeg-7-libavdevice-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i+ | ffmpeg-7-libavfilter-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i+ | ffmpeg-7-libavformat-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i | ffmpeg-7-libavutil-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i+ | ffmpeg-7-libpostproc-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i | ffmpeg-7-libswresample-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
i+ | ffmpeg-7-libswscale-devel | package | 7.1-1699.6.pm.1 |
x86_64 | Packman<br>
</font><br>
<br>
<br>
<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 profiles to bin/ffmpeg</div>
<div dir="auto"><br>
</div>
<div dir="auto">run</div>
<div dir="auto"><br>
</div>
<div dir="auto">bin/cin</div>
<div dir="auto"><br>
</div>
<div dir="auto">investigate appimage build ;)</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am currently a bit stuck rebuilding
Appimage's runtime - developer's life .. you can use binary
from github as per instruction.</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>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>