[FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add SOFAlizer audio filter

Michael Niedermayer michaelni at gmx.at
Thu Dec 10 14:38:49 CET 2015


On Thu, Dec 10, 2015 at 12:43:58AM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/Makefile       |   1 +
>  libavfilter/af_sofalizer.c | 816 +++++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/allfilters.c   |   1 +
>  3 files changed, 818 insertions(+)
>  create mode 100644 libavfilter/af_sofalizer.c
> 
> diff --git a/libavfilter/Makefile b/libavfilter/Makefile
> index 8884d1d..d7a3f61 100644
> --- a/libavfilter/Makefile
> +++ b/libavfilter/Makefile
> @@ -87,6 +87,7 @@ OBJS-$(CONFIG_SIDECHAINCOMPRESS_FILTER)      += af_sidechaincompress.o
>  OBJS-$(CONFIG_SIDECHAINGATE_FILTER)          += af_agate.o
>  OBJS-$(CONFIG_SILENCEDETECT_FILTER)          += af_silencedetect.o
>  OBJS-$(CONFIG_SILENCEREMOVE_FILTER)          += af_silenceremove.o
> +OBJS-$(CONFIG_SOFALIZER_FILTER)              += af_sofalizer.o
>  OBJS-$(CONFIG_STEREOTOOLS_FILTER)            += af_stereotools.o
>  OBJS-$(CONFIG_STEREOWIDEN_FILTER)            += af_stereowiden.o
>  OBJS-$(CONFIG_TREBLE_FILTER)                 += af_biquads.o
> diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c
> new file mode 100644
> index 0000000..8e4da74
> --- /dev/null
> +++ b/libavfilter/af_sofalizer.c
> @@ -0,0 +1,816 @@
> +/*****************************************************************************
> + * sofalizer.c : SOFAlizer filter for virtual binaural acoustics
> + *****************************************************************************
> + * Copyright (C) 2013-2015 Andreas Fuchs, Wolfgang Hrauda,
> + *                         Acoustics Research Institute (ARI), Vienna, Austria
> + *
> + * Authors: Andreas Fuchs <andi.fuchs.mail at gmail.com>
> + *          Wolfgang Hrauda <wolfgang.hrauda at gmx.at>
> + *
> + * SOFAlizer project coordinator at ARI, main developer of SOFA:
> + *          Piotr Majdak <piotr at majdak.at>
> + *
> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU Lesser General Public License as published by
> + * the Free Software Foundation; either version 2.1 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public License
> + * along with this program; if not, write to the Free Software Foundation,
> + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
> + *****************************************************************************/
> +
> +#include <netcdf.h>

make distclean ; ./configure && make -j12

libavfilter/af_sofalizer.c:28:20: fatal error: netcdf.h: No such file or directory
compilation terminated.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- 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/20151210/55956711/attachment.sig>


More information about the ffmpeg-devel mailing list