Hi Stefano and many thank for your answer Sometine I want display just one video in the whole screen and sometime two videos on on the right side of the screen on on the left side.
One video is on the main stream (mpeg2) and the other one is bufferized (h264) I want to display each image I can perhaps convert in RGB with swscale to use SDLBlit surface I am not familiar with use of avfilter. When I try to use the examples from tuto, I have split unknown or for exmaple I don't know how work graph2dot to debug. Because I can't use 2 overlay, I would preserve fast conversion ... Where can I learn padding + overlay or compose filter ? Many thanks Gilles 2011/2/15 Stefano Sabatini <[email protected]> > On date Monday 2011-02-14 20:13:35 +0100, Gilles Maire encoded: > > Hi > > > > I have adapted ffplay to display two videos, I have decoded each one in a > > buffer of pictures and I want to join each Image. I don't think it is > > possible to have several Overlays. What is the fast way to join the two > > images in one overlay ? > > Do I need to use libavfilter ? Is there a join Yuv fonction somewhere ? > > Define what do you mean by "join". Do you want to do alpha blending of > one image on top of the other, or do you want to display them > side-by-side? > > Both things should be possible with filters, for alpha blending you > need a filter for changing the alpha values of the overlaied image, > the second can be achieved with padding+overlay (but would be best > achieved with a "compose" filter). > _______________________________________________ > 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
