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

Michael Niedermayer michaelni at gmx.at
Tue Jul 2 23:46:58 CEST 2013


On Tue, Jul 02, 2013 at 10:57:00PM +0200, Stefano Sabatini 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.

i dont mind but threre should be a more minimal example that doest
drag in "everything". Also we have ffmpeg/ffplay as
full & usefull "examples"

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- 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/20130702/27277c1c/attachment.asc>


More information about the ffmpeg-devel mailing list