[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: rewrite showcqt and add features

Michael Niedermayer michael at niedermayer.cc
Sun Oct 25 03:51:52 CET 2015


On Sun, Oct 25, 2015 at 08:43:07AM +0700, Muhammad Faiz wrote:
> On Sat, Oct 24, 2015 at 1:31 AM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
> > add yuv444p, yuv422p, and yuv420p output format (lower cpu usage
> > on ffplay playback because it does not do format conversion)
> > custom size with size/s option (fullhd option is deprecated)
> > custom layout with bar_h, axis_h, and sono_h option
> > support rational frame rate (within fps/r/rate option)
> > relaxed frame rate restriction (support fractional sample step)
> > support all input sample rates
> > separate sonogram and bargraph volume (with volume/sono_v and
> > volume2/bar_v)
> > timeclamp option alias (timeclamp/tc)
> > fcount option
> > gamma option alias (gamma/sono_g and gamma2/bar_g)
> > support custom frequency range (basefreq and endfreq)
> > support drawing axis using external image file (axisfile option)
> > alias for disabling drawing to axis (text/axis)
> > possibility to optimize it using arch specific asm code
> >
> > thanks
> 
> patch revision: fix incorrect gamma calculation
> also i attach an example axis image
> 
> thanks

>  doc/filters.texi          |  181 +++--
>  libavfilter/avf_showcqt.c | 1546 +++++++++++++++++++++++++++++++---------------
>  libavfilter/avf_showcqt.h |  104 +++
>  libavfilter/version.h     |    2 
>  4 files changed, 1294 insertions(+), 539 deletions(-)
> 3f83a0d334d780da3defa7d1fa3f09b3beb1db2d  0001-avfilter-avf_showcqt-rewrite-showcqt-and-add-feature.patch
> From 337a659f96ef5dcf87aad1d541e745b7c262cbb9 Mon Sep 17 00:00:00 2001
> From: Muhammad Faiz <mfcc64 at gmail.com>
> Date: Sat, 24 Oct 2015 00:44:42 +0700
> Subject: [PATCH] avfilter/avf_showcqt: rewrite showcqt and add features

this fails to build on "arm-linux-gnueabi-gcc-4.5 (Ubuntu/Linaro 4.5.3-12ubuntu2) 4.5.3"
In file included from ffmpeg/libavfilter/avf_showcqt.c:41:0:
ffmpeg/libavfilter/avf_showcqt.h:39:30: warning: declaration does not declare anything
ffmpeg/libavfilter/avf_showcqt.h:40:30: warning: declaration does not declare anything
ffmpeg/libavfilter/avf_showcqt.c: In function ‘rgb_from_cqt’:
ffmpeg/libavfilter/avf_showcqt.c:668:13: error: ‘ColorFloat’ has no member named ‘r’
ffmpeg/libavfilter/avf_showcqt.c:669:13: error: ‘ColorFloat’ has no member named ‘g’
ffmpeg/libavfilter/avf_showcqt.c:670:13: error: ‘ColorFloat’ has no member named ‘b’
ffmpeg/libavfilter/avf_showcqt.c: In function ‘yuv_from_cqt’:
ffmpeg/libavfilter/avf_showcqt.c:682:13: error: ‘ColorFloat’ has no member named ‘y’
ffmpeg/libavfilter/avf_showcqt.c:683:13: error: ‘ColorFloat’ has no member named ‘u’
ffmpeg/libavfilter/avf_showcqt.c:684:13: error: ‘ColorFloat’ has no member named ‘v’
...
[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151025/248545bb/attachment.sig>


More information about the ffmpeg-devel mailing list