Hi Mark,

On Fri, Aug 26, 2011 at 6:15 AM, Mark Kenna
<[email protected]> wrote:
> Hi Guys
>
> I have 4 AVFrames holding YUV420p data and I want to join them together into
> a single AVFrame for encoding, in effect tiling the output like so:
>
> [ ][ ]
> [ ][ ]
>
> Is LibAv able to do this without first converting to RGB and splicing them
> together?

I don't think you ever need to convert to RGB.

You can't splice them together. However, you can make it easier. That
is, implement your own get_buffer callback and allocate one big buffer
with double strides and set offsets correctly so it puts it exactly at
these positions. (I hope that makes sense, I can provide more detail
if that is confusing.)

Ronald
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to