[FFmpeg-devel] [PATCH] Add 'asetframesize' audiofilter

Stefano Sabatini stefasab at gmail.com
Mon Jun 11 00:09:05 CEST 2012


On date Saturday 2012-02-25 01:00:03 +0100, Stefano Sabatini encoded:
> On date Thursday 2012-02-23 17:49:10 +0200, Andrey Utkin encoded:
> > Filter that changes number of samples on single output operation
> > ---
> >  libavfilter/Makefile           |    1 +
> >  libavfilter/af_asetframesize.c |  191 ++++++++++++++++++++++++++++++++++++++++
> >  libavfilter/allfilters.c       |    1 +
> >  3 files changed, 193 insertions(+), 0 deletions(-)
> >  create mode 100644 libavfilter/af_asetframesize.c

Updated against latest API, and making use of the nifty
libavutil/audio_buffer.

I'm not very satifisfied with the name of the filter, alternative
names which I also somehow dislike but which seem more proper are:
- asetnbsamples
- asetnsamples
- asetsamplesn
- asetsamplesnb

Also I don't know if I should add an option for padding the last
packet in order to have all the packets with the same size (this can
be added later though).
-- 
FFmpeg = Fiendish & Funny Minimalistic Practical Enlightened Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavfi-add-asetframesize-audio-filter.patch
Type: text/x-diff
Size: 7747 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120611/e671e6aa/attachment.bin>


More information about the ffmpeg-devel mailing list