On Sun, Jun 28, 2015 at 03:07:00PM +0000, Paul B Mahol wrote: > On 6/28/15, Dave Rice <d...@dericed.com> wrote: > > Hi, > > > >> On Jun 27, 2015, at 4:52 PM, Paul B Mahol <one...@gmail.com> wrote: > >> > >> Signed-off-by: Paul B Mahol <one...@gmail.com> > >> --- > >> doc/filters.texi | 76 ++++++++++++ > >> libavfilter/Makefile | 1 + > >> libavfilter/allfilters.c | 1 + > >> libavfilter/vf_drawgraph.c | 297 > >> +++++++++++++++++++++++++++++++++++++++++++++ > >> 4 files changed, 375 insertions(+) > >> create mode 100644 libavfilter/vf_drawgraph.c > >> > > [...] > > > > > With this version using a color name for foreground no longer works: > > > > This works: > > ffplay -f lavfi -i mandelbrot -vf > > signalstats,drawgraph=metadata=lavfi.signalstats.YAVG:min=0:max=255:slide=scroll:bg=green:fg=0x0000FF > > > > This doesn't: > > ffplay -f lavfi -i mandelbrot -vf > > signalstats,drawgraph=metadata=lavfi.signalstats.YAVG:min=0:max=255:slide=scroll:bg=green:fg=red > > AFAIK The expressions can not work with strings. >
> > > > Also here's an example with blend: > > ffplay -f lavfi -i mandelbrot -vf "signalstats,split=3[a][b][c];\ > > [a]drawgraph=metadata=lavfi.signalstats.YAVG:min=0:max=255:slide=scroll:fg=0xFFFF0000:mode=dot[a1];\ > > [b]drawgraph=metadata=lavfi.signalstats.UAVG:min=0:max=255:slide=scroll:fg=0xFF00FF00:mode=dot[b1];\ > > [c]drawgraph=metadata=lavfi.signalstats.VAVG:min=0:max=255:slide=scroll:fg=0xFFFFFF00:mode=dot[c1];\ > > [a1][b1]blend=and[ab];[ab][c1]blend=and[out]" > > > > The blending kills difference in colors so I may add multiple graphs maybe something like leaving the background as it was on the input would allow drawing multiple by simply chaining multiple drawgraph filters [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User questions about the command line tools should be sent to the ffmpeg-user ML. And questions about how to use libav* should be sent to the libav-user ML.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel