[FFmpeg-devel] [PATCH] examples/muxing: add support to audio resampling
stefasab at gmail.com
Tue Jul 2 22:57:00 CEST 2013
On date Tuesday 2013-07-02 22:31:56 +0200, Michael Niedermayer encoded:
> On Tue, Jul 02, 2013 at 06:21:09PM +0200, Stefano Sabatini wrote:
> > Allows to encode to output in case the destination sample format is
> > different from AV_SAMPLE_FMT_S16.
> > ---
> > doc/examples/muxing.c | 116 +++++++++++++++++++++++++++++++++++++++-----------
> > 1 file changed, 92 insertions(+), 24 deletions(-)
> shouldnt resampling be in a seperate example from muxing ?
*But* right now this works only with a limited number of formats, and
I need a simple *working* application to exercise/test the API. Also
since we use the scaler to rescale video, it seems sensible to
resample audio as well (which is a bit more complicated).
Hopefully we will be able to simplify the API, but for the moment I
prefer a more complex example than a simpler but non realistic
example. And BTW we are also still missing flushing.
FFmpeg = Fabulous and Fancy Mortal Peaceless Ecumenical Guru
More information about the ffmpeg-devel