вс, 27 авг. 2023 г., 21:53 Andrea paz <gamberucci.and...@gmail.com>:
> Everything is working well now. Thank you. > Your vaapi patch seems to work; I have no errors and the vaapi > hardware is active with an mp4/h264 file. > I have warnings that I don't understand and am reporting, but I don't > think they have anything to do with vaapi: > > Libav version: Lavc60.23.100 > > Cinelerra is free software, covered by the GNU General Public License, > and you are welcome to change it and/or distribute copies of it under > certain conditions. There is absolutely no warranty for Cinelerra. > > MainUndo::update_undo_before 92 "": must be on an after entry to do > this. size=493 > UndoStack::dump > k 0 0x561173945e90 load 4566 ffffffff * > 1 0x561173945df0 load 905 ffffffff > k 2 0x561173945d70 out point 6217 0010 > 3 0x561173a3e930 out point 1240 0010 > 4 0x561173a3e810 perpetual load 112 ffffffff > 5 0x561173a3e6f0 perpetual load 112 ffffffff > 6 0x561173a3e5d0 perpetual load 112 ffffffff > 7 0x561173a1cc40 perpetual load 112 ffffffff > 8 0x561173a1cb20 asset to size 112 ffffffff > 9 0x561173a1ca00 asset to size 112 ffffffff > 10 0x561173a1c8e0 projector 112 ffffffff > 11 0x561173a1c840 projector 114 ffffffff > 12 0x561173a1c7a0 projector 114 ffffffff > 13 0x561173a1c670 projector 123 ffffffff > 14 0x561173a31780 projector 123 ffffffff > 15 0x561173a316c0 projector 4 ffffffff > 16 0x561173a31600 projector 4 ffffffff > 17 0x561173a314d0 projector 123 ffffffff > 18 0x561173a313a0 projector 123 ffffffff > 19 0x561173a31270 projector 123 ffffffff > 20 0x561173a3b7d0 projector 123 ffffffff > 21 0x561173a3b730 projector 112 ffffffff > 22 0x561173a3b690 projector 112 ffffffff > 23 0x561173a3b560 projector 123 ffffffff > 24 0x561173a3b430 projector 123 ffffffff > 25 0x561173a3b300 projector 123 ffffffff > 26 0x561173c01810 projector 123 ffffffff > 27 0x561173c016e0 projector 123 ffffffff > 28 0x561173c015b0 projector 123 ffffffff > 29 0x561173c014f0 projector 4 ffffffff > 30 0x561173c01430 projector 4 ffffffff > 31 0x561173c01300 projector 123 ffffffff > MainUndo::update_undo_after 142 "perpetual load": must be on a before > entry to do this. size=494 > UndoStack::dump > 0 0x56117577f860 4 0000 * > k 1 0x561173945e90 load 4566 ffffffff > 2 0x561173945df0 load 905 ffffffff > k 3 0x561173945d70 out point 6217 0010 > 4 0x561173a3e930 out point 1240 0010 > 5 0x561173a3e810 perpetual load 112 ffffffff > 6 0x561173a3e6f0 perpetual load 112 ffffffff > 7 0x561173a3e5d0 perpetual load 112 ffffffff > 8 0x561173a1cc40 perpetual load 112 ffffffff > 9 0x561173a1cb20 asset to size 112 ffffffff > 10 0x561173a1ca00 asset to size 112 ffffffff > 11 0x561173a1c8e0 projector 112 ffffffff > 12 0x561173a1c840 projector 114 ffffffff > 13 0x561173a1c7a0 projector 114 ffffffff > 14 0x561173a1c670 projector 123 ffffffff > 15 0x561173a31780 projector 123 ffffffff > 16 0x561173a316c0 projector 4 ffffffff > 17 0x561173a31600 projector 4 ffffffff > 18 0x561173a314d0 projector 123 ffffffff > 19 0x561173a313a0 projector 123 ffffffff > 20 0x561173a31270 projector 123 ffffffff > 21 0x561173a3b7d0 projector 123 ffffffff > 22 0x561173a3b730 projector 112 ffffffff > 23 0x561173a3b690 projector 112 ffffffff > 24 0x561173a3b560 projector 123 ffffffff > 25 0x561173a3b430 projector 123 ffffffff > 26 0x561173a3b300 projector 123 ffffffff > 27 0x561173c01810 projector 123 ffffffff > 28 0x561173c016e0 projector 123 ffffffff > 29 0x561173c015b0 projector 123 ffffffff > 30 0x561173c014f0 projector 4 ffffffff > 31 0x561173c01430 projector 4 ffffffff > > > Instead in the appimage, so without your vaapi patch, everything works > but without hardware decoding: > > Failed HW device create. > dev:vaapi > err: Input/output error > HW device init failed, using SW decode. > file:/home/paz/sad-woman.mp4 > err: Operation not permitted > Failed HW device create. > dev:vaapi > err: Input/output error > HW device init failed, using SW decode. > file:/home/paz/sad-woman.mp4 > err: Operation not permitted > Failed HW device create. > dev:vaapi > err: Input/output error > HW device init failed, using SW decode. > file:/home/paz/sad-woman.mp4 > err: Operation not permitted > > === > Are those errors with my patch and normal single-user build, or they only appear in appimage (with my patch?) Can you also try my second patch, should reenable jpeg in tiff by adding correct ldflags to libtiff > > > > Thank you, again. >
From 50a67f5017b7e13ef12f41ccadcde7980c6c0111 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <randrianas...@gmail.com> Date: Sun, 27 Aug 2023 22:15:13 +0300 Subject: [PATCH 2/2] Fix libtiff to link with local libjpeg-turbo, reenable libjpeg there --- cinelerra-5.1/thirdparty/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile index 440f8f7b..b75858d5 100644 --- a/cinelerra-5.1/thirdparty/Makefile +++ b/cinelerra-5.1/thirdparty/Makefile @@ -253,8 +253,10 @@ openexr.cfg_vars?=true; \# openexr.mak_vars?=true; \# opus.cfg_params?= --disable-extra-programs speech_tools.mak_params?=-j1 +tiff.ldflags?="$(call ld_path,libjpeg,build)" +tiff.cflags?="$(call lnc_path,libjpeg)" tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf; -tiff.cfg_params+= --disable-libdeflate --disable-jpeg --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ +tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\ --with-webp-include-dir=$(call pkg_incl,libwebp)\ --with-webp-lib-dir=$(call pkg_libs,libwebp))\ $(call if_npkg,libwebp,--disable-webp) -- 2.42.0
-- Cin mailing list Cin@lists.cinelerra-gg.org https://lists.cinelerra-gg.org/mailman/listinfo/cin