[FFmpeg-devel] [RFC] [WIP] [PATCH] lavfi: add drawgraph filter
Paul B Mahol
onemda at gmail.com
Thu Jun 25 20:03:14 CEST 2015
On 6/25/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Jun 24, 2015 at 05:49:35PM +0000, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>> Example:
>>
>> ffplay movie.webm -vf
>> signalstats,drawgraph=lavfi.signalstats.YAVG:min=0:max=255:mode=0
>>
>> ---
>> libavfilter/Makefile | 1 +
>> libavfilter/allfilters.c | 1 +
>> libavfilter/vf_drawgraph.c | 186
>> +++++++++++++++++++++++++++++++++++++++++++++
>> 3 files changed, 188 insertions(+)
>> create mode 100644 libavfilter/vf_drawgraph.c
>
> nice, i like this filter!
>
>
> [...]
>> + metadata = av_frame_get_metadata(in);
>> + e = av_dict_get(metadata, s->key, NULL, 0);
>
> this could be extended to also support AVOptions
> aka av_get_double(in, s->key...)
Hmm, this doesn't work.
>
> LGTM otherwise
>
> [...]
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> The educated differ from the uneducated as much as the living from the
> dead. -- Aristotle
>
More information about the ffmpeg-devel
mailing list