вс, 17 дек. 2023 г., 16:46 Andrew Randrianasulu <[email protected]>:

>
>
> вс, 17 дек. 2023 г., 16:13 Andrea paz <[email protected]>:
>
>> I tried to compile CinGG with your patches. I had problems applying
>> the opencv one
>
>
> Most likely because it already upstream in our git ?
>
>
> and the x265 one however, by passing the paths
>> manually, I think I was able to apply them (apologies, apparently my
>> brain refuses to understand how patches work).
>
>
> was "git am" failing for some reason? You always can inspect patches
> visually (say with "less patch.diff") and see if they from git or plain
> patches ....
>


Ah, fired up ubuntu 16 VM, patch really fails to apply because I put my
changes on top of another experimental patch (attached).

So you can try to apply it first, and then two other patches from folder.

Do not forgot to mv thirdparty/src/x265_3.5.tar.xz to another location and
move both xz tarballs to thirdparty/src !

Sorry for inconvenience ....


> The compilation however
>> fails immediately, I think with an error about x265. I attach the
>> cin5.log
>>
>
> /bin/bash: riga 1: cd: x265*: File o directory non esistente
>
>
> are you sure you have both x265-17122023.tar.xz in thirdparty/src and it
> also correctly named in configure.ac (in case patching failed)  AND your
> run ./autogen.sh ?
>
>
From 1057e1c649d7534f9fb75f5c24952ab368a0cbb5 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Wed, 1 Mar 2023 23:26:45 +0300
Subject: [PATCH 1/9] EXPERIMENTAL: enable opencl on termux, also libmediacodec

---
 cinelerra-5.1/blds/termux.bld | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cinelerra-5.1/blds/termux.bld b/cinelerra-5.1/blds/termux.bld
index afa14a74..cf131545 100755
--- a/cinelerra-5.1/blds/termux.bld
+++ b/cinelerra-5.1/blds/termux.bld
@@ -1,6 +1,6 @@
 #!/bin/bash
 # Produced, tested, and used by Andrew-R on an Android tablet
-export FFMPEG_EXTRA_CFG="--disable-debug --disable-doc --disable-ffprobe --enable-libdav1d"
-export EXTRA_LIBS="-ldav1d"
+export FFMPEG_EXTRA_CFG="--disable-debug --target-os=android --enable-mediacodec --enable-jni  --enable-opencl --disable-doc --disable-ffprobe --enable-libdav1d"
+export EXTRA_LIBS="-ldav1d -lOpenCL  -landroid"
 ./configure --without-lv2 --without-vdpau --without-vaapi --without-ladspa-build \
  --without-nv  --with-single-user --with-clang --without-gl --disable-dav1d
-- 
2.43.0

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to