<!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 22:27, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:65b65267-208e-420c-a78d-44df74ee6d26@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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>
<br>
</blockquote>
<br>
This rebuild cingg to use ffmpeg 7.1 startup ok and testing DV
rendering to av1_qsv_nv12.mp4, av1_qsv_nv12.webm and also
av1_qsv_p010le.webm work.<br>
<br>
But the same rendering from hdv does not longer work, tried also
with BT.709 setting.<br>
<br>
The current av1_qsv profiles contents are as follows (tried to copy
them from previous ffmpeg 7.0.2 backup):<br>
<br>
<font face="Courier New, Courier, monospace">localhost:/home/cinelerra/cinelerra-5.1/bin/ffmpeg/video
# <br>
<br>
cat av1_qsv.dfl<br>
av1_qsv.webm<br>
<br>
cat av1_qsv.mp4<br>
mp4 av1_qsv<br>
# only usable with ext. ffmpeg<br>
cin_pix_fmt=nv12<br>
<br>
cat av1_qsv.webm<br>
webm av1_qsv<br>
# only usable with ext. ffmpeg<br>
cin_pix_fmt=nv12<br>
-<br>
As shown in the Cingg output below:<br>
[av1_qsv @ 0x7f4788de7200] Current picture structure is
unsupported<br>
[av1_qsv @ 0x7f4788de7200] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
<br>
<br>
Output format and profile from system ffmpeg 7.1 looks similar
like from previous 7.0.2<br>
<br>
ffmpeg -hide_banner -h encoder=av1_qsv | egrep
'Supported|profile|main'<br>
Supported hardware devices: qsv qsv qsv <br>
Supported pixel formats: nv12 p010le qsv<br>
-profile <int> E..V....... (from 0 to
INT_MAX) (default unknown)<br>
main 1 E..V.......<br>
<br>
Any idea what cause this hd(v) rendering errors now in the built
Cingg?<br>
<br>
<br>
# bin/cin<br>
Cinelerra Infinity - built: Oct 20 2024 21:21:06<br>
<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
[av1_qsv @ 0x7f4788de7200] Current picture structure is
unsupported<br>
[av1_qsv @ 0x7f4788de7200] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv_nv12.webm<br>
Render::render_single: Session finished.<br>
<br>
-----------------<br>
<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
[av1_qsv @ 0x7f47b0040840] Current picture structure is
unsupported<br>
[av1_qsv @ 0x7f47b0040840] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv_p010le.webm<br>
Render::render_single: Session finished.<br>
Total excess of backups: -50 <br>
Session time: 0:06:36<br>
Cpu time: user: 0:00:08.543 sys: 0:00:03.847<br>
unjoined tids / owner 2<br>
00007f47c5ffb6c0 / 00007f48377fe6c0 12RenderEngine<br>
00007f47c7fff6c0 / 00007f48377fe6c0 12RenderEngine<br>
<br>
<br>
<br>
<br>
</font><br>
</body>
</html>