[Libav-user] FLTP audio is distorted after muxing

Strahinja Radman dr.strashni at gmail.com
Wed Mar 6 12:29:05 EET 2019

    2019-03-05 21:57 GMT+01:00, vouk at mailbox.org <vouk at mailbox.org>:

> In my open source project voukoder I am using libav/ffmpeg (branch 4.0) for
> quite some time now. Now I switched to master and I have a strange effect
> where I am not sure where its coming from.
> Whenever I user FLTP as sample format and mux it with whatever codec and
> muxer (i.e. x264/aac => mp4) the audio is pretty much distorted. It also
> seems to be affected by the video time base. With 1/120 it is pitched up
> alot and with 1/60 it is quite normal, but distorted. With S16 it works
> fine.
> With branch 4.0 everything is okay.
Are you certain that the number of samples per packet of audio is the same
between input and output? If you are trying to put 1536 samples per packet
to 1024 then that will distort audio for sure.

Kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190306/632f0694/attachment.html>

More information about the Libav-user mailing list