Thanks! It seems to be the way to go... Are there any examples? Is it still
in the SOC repo?

Now my main concern is the speed. I've just tried to use OpenCV's image libs
to do it. But it's too slow to catch up with incoming streams. Any
benchmarks on the libavfilter yet?

Best Regards!



On Thu, Mar 11, 2010 at 7:14 PM, Stefano Sabatini <
[email protected]> wrote:

> On date Thursday 2010-03-11 14:21:24 -0500, Ke Yu encoded:
>  > 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?
>
> Try with libavfilter+overlay, integration into main SVN pending.
>
> Regards.
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to