[Libav-user] ffmpeg muxing.c - keeping audio quality - avoiding distortion

Paul B Mahol onemda at gmail.com
Tue Jan 26 09:52:05 CET 2016

On 1/16/16, Stephane Poirier <stephane.pe.poirier at gmail.com> wrote:
> Hi All,
> I am using a modified version of ffmpeg muxing.c, my source code is
> here:
> http://www.oifii.org/ns-org/nsd/ar/cp/audio_spi/spiffmpegmuxingspectrum_qt2016/spiffmpegmuxingspectrum_qt2016.c
> I am loading audio from libsndfile and am generating some background

Why? ffmpeg already provides way to load audio files no need to use libsndfile.

> with audio signal draw on top of it.
> Now, my question is how to preserve my 44100 audio samplerate quality in
> this modified muxing.c sample, or maybe go down to 22050, because the
> sound currently distortions with the current settings?

Can you explain what your code does? I'm not inclined enough to go to
read foreign code in my spare time.

> Steph
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

More information about the Libav-user mailing list