[Cin] Build Cingg-with-system-FFmpeg won't startup after upgrade to ffmpeg-7-7.1

Andrew Randrianasulu randrianasulu at gmail.com
Sun Oct 20 18:53:45 CEST 2024


вс, 20 окт. 2024 г., 19:33 Terje J. Hanssen <terjejhanssen at gmail.com>:

>
>
>
> Den 19.10.2024 19:03, skrev Andrew Randrianasulu:
>
>
>
> сб, 19 окт. 2024 г., 19:53 Terje J. Hanssen <terjejhanssen at gmail.com>:
>
>> Continued from another thread:
>>
>> Re: [Cin] another set of test profiles
>> Den 18.10.2024 02:08, skrev Andrew Randrianasulu:
>>
>> чт, 17 окт. 2024 г., 15:06 Terje J. Hanssen <terjejhanssen at gmail.com>:
>>
>> 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.
>>
>> 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.
>>
>> 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.
>>
>>
>> Well, first:
>> 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.
>> Apparently Cingg also has to be rebuilt or upgraded to the new ffmpeg 7.1
>> family version, as it claims at startup attempt:
>>
>> /home/cinelerra/cinelerra-5.1 #
>>
>> # bin/cin
>> bin/cin: /lib64/libswscale.so.8: version `LIBSWSCALE_8.1_SUSE' not found
>> (required by bin/cin)
>> bin/cin: /lib64/libswresample.so.5: version `LIBSWRESAMPLE_5.1_SUSE' not
>> found (required by bin/cin)
>> bin/cin: /lib64/libavfilter.so.10: version `LIBAVFILTER_10.1_SUSE' not
>> found (required by bin/cin)
>> bin/cin: /lib64/libavcodec.so.61: version `LIBAVCODEC_61.3_SUSE' not
>> found (required by bin/cin)
>> bin/cin: /lib64/libavformat.so.61: version `LIBAVFORMAT_61.1_SUSE' not
>> found (required by bin/cin)
>> bin/cin: /lib64/libavutil.so.59: version `LIBAVUTIL_59.8_SUSE' not found
>> (required by bin/cin)
>>
>>
>> Verify the installed packages that now provide the missing lib files
>>
>> # 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
>> Loading repository data...
>> Reading installed packages...
>>
>>
>> S  | Name           |
>> Summary                                                      | Type
>>
>> ---+----------------+--------------------------------------------------------------+--------
>> i+ | libavcodec61   | FFmpeg codec
>> library                                         | package
>> i  | libavfilter10  | FFmpeg audio and video filtering
>> library                     | package
>> i+ | libavformat61  | FFmpeg's stream format
>> library                               | package
>> i+ | libavutil59    | FFmpeg's utility
>> library                                     | package
>> i+ | libswresample5 | FFmpeg software resampling
>> library                           | package
>> i  | libswscale8    | FFmpeg image scaling and colorspace/pixel
>> conversion library | package
>>
>>
>> and to verify the new versions:
>>
>> # zypper se -is libavcodec61 libavfilter10 libavformat61 libavutil59
>> libswresample5 libswscale8
>> Loading repository data...
>> Reading installed packages...
>>
>>
>> S  | Name                 | Type    | Version         | Arch   |
>> Repository
>>
>> ---+----------------------+---------+-----------------+--------+-----------
>> i+ | libavcodec61         | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i  | libavcodec61-32bit   | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i  | libavfilter10        | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i+ | libavformat61        | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i+ | libavutil59          | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i  | libavutil59-32bit    | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i+ | libswresample5       | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i  | libswresample5-32bit | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>> i  | libswscale8          | package | 7.1-1699.6.pm.1 | x86_64 | Packman
>>
>>
>> My question is which steps (back) to rebuild Cingg for the new ffmpeg 7.1
>> ?
>>
>
>
> yeah, fragility of system build.
>
> make sure you have working qsv/vaapi profiles in some safe dir away from
> cinelerra-5.1
>
> cd cinelerra-5.1
>
> as always, note configure parameters you used
>
> head config.log
>
> copy command line ( ./configure ... ) into some easy to open document
>
> make clean
>
> ./autogen.sh
>
> paste configure line you copied to easy to find document before.
>
>
> ./configure --with-single-user --disable-static-build --without-thirdparty
> --without-libdpx
>
>
> OR
>
> enter new configure line with all needed switches < they start with "--"
> >  (for example if you patched source with my libvpl.patch)
>
> make
>
>
> Unhappily I got several fatal errors like:
>
> ffmpeg.h:48:10: fatal error: libavformat/avformat.h: No such file or
> directory
>    48 | #include "libavformat/avformat.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
>
> During the testinstalls of ffmpeg 7.1 first from obs: and lastly from
> Packman, I had to deinstall several packages due to dependice errors.
> So I think there may be some missing packages. I tried to add ffmpeg
>

you can try to locate libavformat either by pkg-config

pkg-config --cflags libavformat


or find /usr -name avformat.h

then add CFLAGS=-I/path_to_dir_where_avformat dir_located/ and re-run
./configure and make.

last time it was something like /usr/include/ffmpeg


>
> Not sure what cause this errors?
> I have the following ffmpeg 7.1 packages (re)installed:
>
> # zypper se -is ffmpeg-7
> Loading repository data...
> Reading installed packages...
>
> S  | Name                         | Type    | Version         | Arch   |
> Repository
>
> ---+------------------------------+---------+-----------------+--------+-----------
> i+ | ffmpeg-7                     | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i  | ffmpeg-7-libavcodec-devel    | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i+ | ffmpeg-7-libavdevice-devel   | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i+ | ffmpeg-7-libavfilter-devel   | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i+ | ffmpeg-7-libavformat-devel   | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i  | ffmpeg-7-libavutil-devel     | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i+ | ffmpeg-7-libpostproc-devel   | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i  | ffmpeg-7-libswresample-devel | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
> i+ | ffmpeg-7-libswscale-devel    | package | 7.1-1699.6.pm.1 | x86_64 |
> Packman
>
>
>
>
> make install
>
> return profiles to bin/ffmpeg
>
> run
>
> bin/cin
>
> investigate appimage build ;)
>
> I am currently a bit stuck rebuilding Appimage's  runtime - developer's
> life .. you can use binary from github as per instruction.
>
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241020/e2172f5e/attachment-0001.htm>


More information about the Cin mailing list