[FFmpeg-devel] [PATCH] examples/muxing: add support to audio resampling

Paul B Mahol onemda at gmail.com
Tue Jul 2 23:01:13 CEST 2013


On 7/2/13, Stefano Sabatini <stefasab at gmail.com> wrote:
> 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.

Useless examples are helping noone.

> --
> FFmpeg = Fabulous and Fancy Mortal Peaceless Ecumenical Guru
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list