[FFmpeg-devel] [PATCH] Add asetpts audio filter
Michael Niedermayer
michaelni at gmx.at
Wed Aug 8 16:18:56 CEST 2012
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
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120808/24e61ca0/attachment.asc>
More information about the ffmpeg-devel
mailing list