[FFmpeg-soc] access to input file metadata from within avfilter?
victorpaesa at googlemail.com
Fri Sep 11 20:13:22 CEST 2009
On Thu, Sep 10, 2009 at 9:42 PM, Norbert Burger
<norbert.burger at gmail.com> wrote:
> Vitor -- thanks very much for the clarification.
> On Thu, Sep 10, 2009 at 3:33 PM, Vitor Sessak <vitor1001 at gmail.com> wrote:
>> Norbert Burger wrote:
>>> Hi folks,
>>> 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
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:
More information about the FFmpeg-soc