[FFmpeg-devel] [PATCH] Add asetpts audio filter
Stefano Sabatini
stefasab at gmail.com
Thu Aug 9 01:28:06 CEST 2012
On date Wednesday 2012-08-08 16:18:56 +0200, Michael Niedermayer encoded:
> On Wed, Aug 08, 2012 at 01:47:25PM +0200, Stefano Sabatini wrote:
> > On date Wednesday 2012-02-29 19:10:53 +0100, Stefano Sabatini encoded:
> > > On date Wednesday 2012-02-29 14:00:01 +0200, Andrey Utkin encoded:
> > > > ---
> > > > libavfilter/Makefile | 1 +
> > > > libavfilter/af_asetpts.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++
> > > > libavfilter/allfilters.c | 1 +
> > > > 3 files changed, 147 insertions(+), 0 deletions(-)
> > > > create mode 100644 libavfilter/af_asetpts.c
> > [...]
> > > In the context of audio, also useful:
> > > SAMPLE_RATE
> > > NB_SAMPLES ///< number of samples in the current frame
> > > NB_CONSUMED_SAMPLES ///< number of samples consumed by the filter
> > >
> > > [...]
> > >
> > > Most of this can be factorized with setpts, so it should stay in the
> > > same file.
> >
> > Updated patch.
> > --
> > FFmpeg = Fierce Frightening Mystic Ponderous Extended God
>
> > doc/filters.texi | 19 +++++++++--
> > libavfilter/Makefile | 1
> > libavfilter/allfilters.c | 1
> > libavfilter/vf_setpts.c | 80 +++++++++++++++++++++++++++++++++++++++++------
> > 4 files changed, 90 insertions(+), 11 deletions(-)
> > 6590eedbf146e27b6aa66699eb0266b02de8b410 0001-lavfi-add-asetpts-audio-filter.patch
> > From 88b1c08bc26d946a9fe48f457f8f613ac0cd6e09 Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefasab at gmail.com>
> > Date: Wed, 8 Aug 2012 13:44:11 +0200
> > Subject: [PATCH] lavfi: add asetpts audio filter
> >
> > Based on an idea by Andrey Utkin <andrey.krieger.utkin at gmail.com>.
>
> missing fate test but patch should be ok if it works
Applied.
As for the FATE test I'm not sure which kind of test should I add
(by changing lavfi-regression.sh or filter.mak), suggestions/patches
are welcome.
> thanks
--
FFmpeg = Fanciful Fantastic Muttering Portable Elitist Guide
More information about the ffmpeg-devel
mailing list