Hi!

I've got avframes from two udp multicast video streams. I would like to
scale every avframe into half (only x coordinate, e.g.,
640x480->320x480) and stitch the two scaled avframes into one avframe with
original size (e.g., 640x480). After that, I'll encode the generated
avframes into one output video stream. My input video streams have the same
encoding context. The frame rate is 30 fps. So I have about 33ms to finish
the scaling and stitching. The performance is critical. I plan to use
sws_scale to scale the avframe but don't know how to stitch two scaled
avframes together. I prefer not to use a third party image lib.

Can anyone help me to figure that out?

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

Reply via email to