<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 14 дек. 2023 г., 20:57 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank" rel="noreferrer">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">it _nearly_ works after I recompiled ffmpeg locally.<div dir="auto"><br></div><div dir="auto">but end of file sadly black frames?</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">FFStream::encode_frame: encode failed.</div><div dir="auto">file: /data/data/com.termux/files/home/av1_.webm</div><div dir="auto"> err: Try again</div><div dir="auto">FFMPEG::mux_video err: Operation not permitted FFStream::encode_frame: encode failed.</div><div dir="auto">file: /data/data/com.termux/files/home/av1_.webm</div><div dir="auto"> err: Try again FFStream::flush failed</div><div dir="auto">:file:/data/data/com.termux/files/home/av1_.webm err: Operation not permitted Svt[error]: deinit called without sending EOS! Render::render_single: Session finished. ** rendered 336 frames in 149.076 secs, 2.254 fps</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">tested on desktop where this error not surfaced</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">It seems to work if I add to my slackbuild {trim back to your needs}</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">EXTRA_LIBS=" -lOpenCL -lSvtAv1Enc -ldav1d -lxvidcore -lass -lbluray -lsnappy -lzimg" \</div><div dir="auto">FFMPEG_EXTRA_CFG=" --disable-doc --enable-opencl --enable-libsvtav1 --enable-frei0r --enable-libdav1d --enable-libzimg --enable-libxvid --enable-libass --enable-libbluray --enable-libsnappy --disable-debug --extra-cflags=-I/usr/include/svt-av1" \</div><div dir="auto"><br></div><div dir="auto">without --extra-cflags ffmpeg fails to find includes for me.</div></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>