<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 Apr 2020 at 22:50, Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com">ceffmpeg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am Fr., 17. Apr. 2020 um 20:38 Uhr schrieb Simon Brown<br>
<<a href="mailto:simon.k.brown@gmail.com" target="_blank">simon.k.brown@gmail.com</a>>:<br>
<br>
> Thanks Devin, found the right place, but finding frames to skip seems to be taking more CPU time.<br>
><br>
> Is there any way of building ffmpeg libraries to a) minimize any other stuff that isn't being used<br>
<br>
Yes but even showing us how you compile now may help you.<br>
<br>
Did you already test the skip_frames option?<br>
<br>
Carl Eugen<br><br></blockquote><div>I use this as my command line for compiling:</div><div>gcc -o demuxdecode demuxdecode.c -L/usr/local/lib -Wl,--start-group -lavformat -lavcodec -lavdevice -lavfilter -lavutil -lswscale -lswresample -Wl,--end-group -ldl -lm -lz -lpthread -lrt -mfpu=neon</div><div> </div><div>I tried skipping frames, but then it had too many errors - I need to find which P frames are reference frames and not skip those. </div><div><br></div><div>Cheers,</div><div>Simon</div></div></div>