[Libav-user] Audio conversion from planar to non-planar formats

Paul B Mahol onemda at gmail.com
Wed Jun 26 08:54:47 CEST 2013


On 6/26/13, Taha Ansari <mtaha.ansari at gmail.com> wrote:
> Hi!
>
> I am working on audio conversion. Looking at different example online, I
> have been successfully able to convert FLTP format to S16. To my
> understanding, FLTP is planar, with values in floating range: -1.0 to +1.0.
> This converts to S16 just fine. Now, I want to convert audio coming from
> S16P format to S16 format.
>
> Because of initial success with planar to S16 (FLTP to S16), I assume I am
> interpreting planar data correctly, but, when I convert from S16P to S16, I
> get lots of artifacts in destination audio (noise is not clear, and is
> faster than original track).
>
> I am requesting could anyone kindly guide me on how to do successful
> conversion from S16P to S16 formats? I am simply amazed how such an
> apparently simple task is taking me forever, but still gets me nowhere.

It should be exactly the same as FLTP to S16. I'm not willing to play
guess games. Please provide source code you use for convert audio if you
expect someone will help you.

>
> Thanks in advance @all!
>


More information about the Libav-user mailing list