<!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 20.10.2024 20:59, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky5sUrJog1RCn-uOurCGwky_6vv1efiYbP5=m4m58wN3Qw@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">вс, 20 окт. 2024 г., 21:55
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 20.10.2024 18:53, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<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"
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 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 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> 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 noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">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>
</blockquote>
<br>
Yes, thanks - it is the same location this time, but it
still doesn't cleanup make<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/home/cinelerra/cinelerra-5.1
# <br>
<br>
# pkg-config --cflags libavformat<br>
-I/usr/include/ffmpeg<br>
Rendering to av1_qsv.mp4 worked<br>
# CFLAGS=-I/usr/include/ffmpeg<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">you probably need to set it by adding export
command before CFLAGS or add CFLAGS part on the same line
where you run configure <br>
</div>
</div>
</blockquote>
<br>
Yes, thanks for the help. I used <br>
<br>
#export CFLAGS=-I/usr/include/ffmpeg<br>
<br>
and then the rest worked fine.<br>
<br>
Enough for me today !<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky5sUrJog1RCn-uOurCGwky_6vv1efiYbP5=m4m58wN3Qw@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">back to chroot script I'm trying to write
without knowing enough about shell scripting .....</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>
# ./configure --with-single-user
--disable-static-build --without-thirdparty
--without-libdpx</font><br>
<br>
<font face="Courier New, Courier, monospace"><br>
# make<br>
<br>
.....snip ... it's fewer errors, but still the last
section output<br>
<br>
<br>
g++ `cat x86_64/c_flags` -DMSGQUAL=aboutprefs -c
aboutprefs.C -o x86_64/aboutprefs.o<br>
In file included from formattools.h:32,<br>
from file.h:37,<br>
from aboutprefs.C:24:<br>
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>
make[2]: *** [Makefile:597: x86_64/aboutprefs.o] Error
1<br>
make[2]: *** Waiting for unfinished jobs....<br>
In file included from
/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcsubwindow.h:26,<br>
from
/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcbar.h:26,<br>
from
/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/guicast.h:27,<br>
from binfolder.h:31,<br>
from edl.h:33,<br>
from aattachmentpoint.C:25:<br>
/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:222:22:
warning: ‘virtual void
BC_WindowBase::create_objects()’ was hidden
[-Woverloaded-virtual=]<br>
222 | virtual void create_objects() {
return; };<br>
| ^~~~~~~~~~~~~~<br>
In file included from
/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/guicast.h:62:<br>
/home/cinelerra/cinelerra-5.1/cinelerra/../guicast/errorbox.h:35:14:
note: by ‘void ErrorBox::create_objects(const
char*)’<br>
35 | void create_objects(const char *text);<br>
| ^~~~~~~~~~~~~~<br>
make[2]: Leaving directory
'/home/cinelerra/cinelerra-5.1/cinelerra'<br>
make[1]: *** [Makefile:592: all-recursive] Error 1<br>
make[1]: Leaving directory
'/home/cinelerra/cinelerra-5.1'<br>
make: *** [Makefile:539: all] Error 2<br>
</font><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>
<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>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>