<div dir="ltr">I'm new to libav as well but seems to me you want to instantiate an AVFrame directly - feeding it a raw frame, not completely sure this is allowed.<div>Have you looked at this tutorial: <a href="https://github.com/leandromoreira/ffmpeg-libav-tutorial#ffmpeg-command-line-tool-101">The hard way</a> Its a pretty good tutorial and helped me a lot.</div><div>It can be found here: <a href="https://trac.ffmpeg.org/wiki/Using%20libav*">ffmpeg</a></div><div>Scroll down to the large picture of the "big bunny" and review the code right above that - it should guide you to a solution to this.</div><div>Good luck</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 19, 2020 at 9:58 AM william keeling <<a href="mailto:WilliamKeeling@hotmail.com">WilliamKeeling@hotmail.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">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am looking for help or and example of feeding frames to ffmpeg lib. I have raw (yuv and pcm) frames to feed into the API  for filtering, encoding and muxing.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Also looking for examples of complex filters (like -filter_complex "[0][1] overlay=5:H-h-5").</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks for any help, examples or link you can provide.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am new to c programing, ffmpeg api and image and sound processing so need all the help I can get as this is sort of a deep end project to start with
<span id="gmail-m_-4752261039812365077🙂">🙂</span></div>
</div>

_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>