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.
Have you looked at this tutorial: The hard way
<https://github.com/leandromoreira/ffmpeg-libav-tutorial#ffmpeg-command-line-tool-101>
Its
a pretty good tutorial and helped me a lot.
It can be found here: ffmpeg <https://trac.ffmpeg.org/wiki/Using%20libav*>
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.
Good luck

On Wed, Feb 19, 2020 at 9:58 AM william keeling <[email protected]>
wrote:

> 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.
>
> Also looking for examples of complex filters (like -filter_complex "[0][1]
> overlay=5:H-h-5").
>
> Thanks for any help, examples or link you can provide.
>
> 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 🙂
> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to