<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 22 дек. 2023 г., 00:36 Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">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">I tried a build with --disable-libaom and --with-libaom. The disable-<br>
works while the with- is not recognized. </blockquote></div></div><div dir="auto"><br></div><div dir="auto">yeah, looks like because libaom used in ffmpeg build only:</div><div dir="auto"><br></div><div dir="auto">./configure --help | grep libaom --enable-libaom build libaom (auto)<br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></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">The build proceeds without<br>
errors but, of course, CinGG does not present the av1 codec.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">you need to try and setup little sh file that says</div><div dir="auto"><br></div><div dir="auto">export FFMPEG_EXTRA_CFG="--disable-debug --target-os=android --enable-libaom " </div><div dir="auto"> export EXTRA_LIBS="-laom" </div><div dir="auto">./configure {other params like --disable-libaom}<br></div><div dir="auto"><br></div><div dir="auto">lib param found via </div><div dir="auto">pkg-config --libs aom</div><div dir="auto"><br></div><div dir="auto">while you are here you can also try to enable libsvtav1 in same manner. use <br></div><div dir="auto"><br></div><div dir="auto">"--enable-libsvtav1" as additional ffmpeg switch and</div><div dir="auto"> "-lSvtAv1Enc" as additional library.<br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></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">
I saw that the Arch package is not libaom but is aom. I then tried<br>
using --with-aom but it is still not recognized.<br>
Looking at the installed files from the aom package it is found:<br>
<br>
usr/<br>
usr/bin/<br>
usr/bin/aomdec<br>
usr/bin/aomenc<br>
usr/include/<br>
usr/include/aom/<br>
usr/include/aom/aom.h<br>
usr/include/aom/aom_codec.h<br>
usr/include/aom/aom_decoder.h<br>
usr/include/aom/aom_encoder.h<br>
usr/include/aom/aom_external_partition.h<br>
usr/include/aom/aom_frame_buffer.h<br>
usr/include/aom/aom_image.h<br>
usr/include/aom/aom_integer.h<br>
usr/include/aom/aomcx.h<br>
usr/include/aom/aomdx.h<br>
usr/lib/<br>
usr/lib/libaom.so<br>
usr/lib/libaom.so.3<br>
usr/lib/libaom.so.3.8.0<br>
usr/lib/pkgconfig/<br>
usr/lib/pkgconfig/aom.pc<br>
usr/share/<br>
usr/share/licenses/<br>
usr/share/licenses/aom/<br>
usr/share/licenses/aom/LICENSE<br>
usr/share/licenses/aom/PATENTS<br>
<br>
<br>
In <a href="http://configure.ac" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">configure.ac</a> I see that it looks for the following paths:<br>
<br>
PKG_3RD([libaom],[auto],<br>
[libaom-v3.4.0],<br>
[ usr/local/lib*/libaom*.a ],<br>
[ usr/local/include ])<br>
<br>
While in my system they are found in:<br>
<br>
usr/lib/libaom*<br>
usr/include<br>
<br>
In Arch there are usr/local and usr/include, but they are empty folders.<br>
I tried replacing these paths in <a href="http://configure.ac" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">configure.ac</a> but --with-libaom and<br>
--with-aom are still not recognized.<br>
I attach the config.log if you have any ideas to suggest.<br>
</blockquote></div></div></div>