This should be an easy question to answer.
Are the raw buffer pointers (uint8_t *) that are initially given to libav to
work with (avpicture_fill links the AVFrame with the raw buffer, correct?)
safe to copy from after a successful decode? Basically, can I copy from that
buffer pointer and render the contents directly to screen?

On the other side, is the buffer pointer linked with the encode safe to copy
from as well? I want to do some handling with the encoded buffers, not write
them directly to file (I've seen the AVFMT_NOFILE flag... but I don't know
what else to do aside from set it). More specifically, I want to hand the
frames off to Live555 for transmitting over the network.

I already have proper queuing set up so that libav can continue to
decode/encode while the frames are waiting to be rendered and/or
transmitted.

Thanks for any help
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to