2011/2/16 Stefano Sabatini <[email protected]>

> 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.
>
>
1) For information on my 4core  I have tried to convert in
 RGB with swscale
and to display with Surfaces  using 2 surfaces

SDL_CreateRGBSurfaceFrom
SDL_BlitSurface
SDL_UpdateRects

swscale is fast enough in H264 even with  1920x1080 sized video but SDL
BlitSruface work on little surface not on 1920x1080 screen

2) to answer with your suggestion pad+overlay+movie+setpts I need to know
the pts coorersponding to my VITC to free the unwanted frames.... It is not
so simple

Many thanks

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

Reply via email to