[libav-api] YUV Frame Splicing

Mark Kenna mark.kenna at sureviewsystems.com
Fri Dec 9 13:33:24 CET 2011


Hi Guys

I'm encoding YUV420p frames to H264 at a fixed size of say 640x480.

Say I had another frame of YUV420p which was only 160x120, is there any 
way that I would be able to copy this frame into the 640x480 and 
essentially produce a 4x4 tiled output? I think I would have to loop 
over the first two frames, join them line by line, do the same for the 
last two images and then splice it together?

Does that sound about right?

Thanks,
Mark.



More information about the libav-api mailing list