<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 22 дек. 2023 г., 20:09 Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com">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">> you need to try and setup little sh file that says<br>
<br>
Is the following script okay? Should I use it after "./autogen.sh" and<br>
instead of the usual "./configure"?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">no,as long as you not modified <a href="http://configure.ac">configure.ac</a> you can just re-run configure, whileI think running "make clean" will delete it. So, if you run make clean  - then yes,rerun ./autogen.sh too.</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>
<br>
#!/bin/bash<br>
export FFMPEG_EXTRA_CFG="--disable-debug --target-os=android --enable-libaom   "<br>
 export EXTRA_LIBS="-laom"<br>
./configure --with-single-user --with-config-dir=/home/paz/.bcast6<br>
--disable-libaom --enable-libsvtav1<br>
<br>
#lib param found via<br>
pkg-config --libs aom --libs lSvtAv1Enc<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">--enable-libsvtav1 should  go into FFMPEG_EXTRA_CFG variable. I do not think you need target-os to be set there, just remove this part. But see my another email with svt-av1 webm profile<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">
<br>
<br>
Trying to run it I get an error at the end of ./configure:<br>
<br>
[...]<br>
configure: WARNING: unrecognized options: --enable-libsvtav1<br>
Package lSvtAv1Enc was not found in the pkg-config search path.<br>
Perhaps you should add the directory containing `lSvtAv1Enc.pc'<br>
to the PKG_CONFIG_PATH environment variable<br>
Package 'lSvtAv1Enc', required by 'virtual:world', not found<br>
<br>
Do I need to apply any patches for Intel?<br>
<br>
About libaom: it keeps getting unrecognized during the build. I think<br>
my script is wrong.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">yes, a bit messed up ... I was not trying to say you need pkg-config line (two lines actually, not one) in it, just tried to show how I found exact strings I put in those " " quotes describing  variables. you ran pkg-config commands separately. For me for some reason svtav1 cflags come up empty, may be Arch patched this already ... Just for checking that pkg-config can know about library settings for compilation.</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">
</blockquote></div></div></div>