<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 26 февр. 2023 г., 23:48 Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com" target="_blank" rel="noreferrer">gamberucci.andrea@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One final consideration:<br>
system ffmpeg has "--enable-opencl" active by default, while our<br>
ffmpeg does not have it and cannot even activate it. Did we take this<br>
option off?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I feared so, but my termux rebuild showed opencl as only available hw device for internal ffmpeg:</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">~/cinelerra/cinelerra-5.1 $ thirdparty/ffmpeg-5.1/ffmpeg -init_hw_device list</div><div dir="auto">Supported hardware device types:</div><div dir="auto">opencl</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">after I modified my build script. </div><div dir="auto"><br></div><div dir="auto"><div dir="auto">~/cinelerra/cinelerra-5.1 $ git diff blds/termux.bld</div><div dir="auto">diff --git a/cinelerra-5.1/blds/termux.bld b/cinelerra-5.1/blds/termux.bld</div><div dir="auto">index afa14a74..7cbcdf2a 100755</div><div dir="auto">--- a/cinelerra-5.1/blds/termux.bld</div><div dir="auto">+++ b/cinelerra-5.1/blds/termux.bld</div><div dir="auto">@@ -1,6 +1,6 @@</div><div dir="auto"> #!/bin/bash</div><div dir="auto"> # Produced, tested, and used by Andrew-R on an Android tablet</div><div dir="auto">-export FFMPEG_EXTRA_CFG="--disable-debug --disable-doc --disable-ffprobe --enable-libdav1d"</div><div dir="auto">-export EXTRA_LIBS="-ldav1d"</div><div dir="auto">+export FFMPEG_EXTRA_CFG="--disable-debug --enable-opencl --disable-doc --disable-ffprobe --enable-libdav1d"</div><div dir="auto">+export EXTRA_LIBS="-ldav1d -lOpenCL"</div><div dir="auto"> ./configure --without-lv2 --without-vdpau --without-vaapi --without-ladspa-build \</div><div dir="auto"> --without-nv --with-single-user --with-clang --without-gl --disable-dav1d</div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">So, for some reason your ffmpeg build as done by cingg does not pick up those opencl variables?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></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">
<br>
Thank you Andrew, you are doing a great job!<br>
</blockquote></div></div></div>