ffmpeg: add support for audio filters.
authorAnton Khirnov <anton@khirnov.net>
Sat, 5 May 2012 16:22:46 +0000 (18:22 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 17 May 2012 01:29:21 +0000 (03:29 +0200)
commitfc49f22c3b735db5aaac5f98e40b7124a2be13b8
tree1803664a062717d85542229ed6de829f0ede862a
parentdfa988ee5ea704ba761d004f0c27e7acc1fb4251
ffmpeg: add support for audio filters.

Some of the FATE changes are due to off-by-one different rounding being used
(lrintf vs av_rescale_q).
Some fate changes are due to 1 audio frame less being encoded (the new variant seems
matching what qatar does and according to ffprobe its closer to the requested duration)
the mapchan feature sadly is lost in this commit because it depends on resampling
being done in ffmpeg.c which is now moved completely into the av filter layer
-async is broken after this commit, this will be fixed in subsequent commits
the new filter reconfiguration system is flawed and will drop a frame on each
parameter change which is why the nelly moser checksums need updating.

Conflicts:

ffmpeg.c
tests/ref/fate/smjpeg
22 files changed:
ffmpeg.c
libavfilter/buffersrc.h
tests/Makefile
tests/fate/audio.mak
tests/ref/acodec/g723_1
tests/ref/fate/adpcm-ima-amv
tests/ref/fate/adpcm-ima-smjpeg
tests/ref/fate/smjpeg [new file with mode: 0644]
tests/ref/lavf/asf
tests/ref/lavf/avi
tests/ref/lavf/dv_fmt
tests/ref/lavf/ffm
tests/ref/lavf/gxf
tests/ref/lavf/mkv
tests/ref/lavf/mpg
tests/ref/lavf/nut
tests/ref/lavf/ogg
tests/ref/lavf/rm
tests/ref/lavf/ts
tests/ref/lavf/wtv
tests/ref/seek/lavf_mkv
tests/ref/seek/lavf_mpg