Hi, On Thu, Sep 10, 2009 at 9:42 PM, Norbert Burger <[email protected]> wrote: > Vitor -- thanks very much for the clarification. > > On Thu, Sep 10, 2009 at 3:33 PM, Vitor Sessak <[email protected]> wrote: >> Norbert Burger wrote: >>> >>> Hi folks, >> >> Hi >> >>> Is there a recommended way to inspect AVStream metadata for my input >>> file from within filter code? >> >> Sorry but no. Libavfilter was projected to be completely independent of the >> other lav* libraries, so there is no API for that (and I cannot see a clean >> way of doing it).
Not necessarily clean, but be aware that avfilter_init_filter() admits an opaque parameter. You could patch a bit ffmpeg.c (actually 02_ffmpeg_filters.diff) to pass on ist->st to avfilter_init_filter() instead of the NULL it currently receives. Read this thread too: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/87624 Regards, Víctor _______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
