On date Wednesday 2011-02-16 10:14:27 +0100, Gilles Maire encoded: > Hi Steaphano, > > OK I read doc and play with ffmpeg -vf parameters and I understand padding, > scale filters etc ... > > I read the ffplay code in #if CONFIG_AVFILTER > > My problem in the ffplay code is to have two input ie two buffers. > > I have two streams one in h264 and the other one in Mpeg2, each of them have > VITC codes ( Time Stamp). > The h264 is delayed of 3 seconds and I need to synchronize them by this > VITC (ie delete all the buffer with old Time stamp) > > If I use AVFIlter I will have to write a special filter > > I will try before to use swscale to convert in RGB and use SDL blit Surface > to see if 4xIntel Xeon will be fast enough > > Your comments are welcome
Check the setpts filter and how overlay deals with synchronization. As for the compose filter, the implementation may be quite tricky (especially for dealing with buffering and layout management), but note that you can already achieve your objective with a combination of pad+overlay+movie+setpts (no C programming needed). Regards. PS Don't top post. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
