简体   繁体   中英

Pushing frames into FFmpeg buffer

I am trying to push the extracted frames from a video (which I did using ffmpeg) into the FFMPEG buffer. I have looked into the buffer source files of ffmpeg such as buffersrc.c and fifo.c to figure out if I can do that, but I couldn't figure out. Can anyone please tell me a way to do it?

I think what you looking for is av_write_frame() and av_interleaved_write_frame() functions. Look for small projects on github those uses these functions, so you can see how to set up RAW stream and begin to send frames.

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM