Re: [Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-21 Thread Suhail Doshi
On Tue, Jan 21 2020 at 5:28 AM, < ceffm...@gmail.com > wrote: > > > > Am Di., 21. Jan. 2020 um 04:25 Uhr schrieb Suhail Doshi > : > > > > >> >> >> On Sun, Jan 19, 2020 at 4:28 PM Carl Eugen Hoyos >> wrote: >> >> > > > > >> > > >> >>> >>> >>> Am Mo., 20. Jan. 2020 um 01:22 Uhr sch

Re: [Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-21 Thread Carl Eugen Hoyos
Am Di., 21. Jan. 2020 um 04:25 Uhr schrieb Suhail Doshi : > > On Sun, Jan 19, 2020 at 4:28 PM Carl Eugen Hoyos wrote: >> >> Am Mo., 20. Jan. 2020 um 01:22 Uhr schrieb Suhail Doshi >> : >> >> > Sure, do you know why ffmpeg cli seems to be able to encode interleaved >> > raw audio but the C API onl

Re: [Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-20 Thread Suhail Doshi
On Sun, Jan 19, 2020 at 4:28 PM Carl Eugen Hoyos wrote: > Am Mo., 20. Jan. 2020 um 01:22 Uhr schrieb Suhail Doshi < > suh...@mightyapp.com>: > > > Sure, do you know why ffmpeg cli seems to be able to encode interleaved > > raw audio but the C API only allows FLTP then? > > It (automatically) inse

Re: [Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-19 Thread Carl Eugen Hoyos
Am Mo., 20. Jan. 2020 um 01:22 Uhr schrieb Suhail Doshi : > Sure, do you know why ffmpeg cli seems to be able to encode interleaved > raw audio but the C API only allows FLTP then? It (automatically) inserts the aresample filter into the filter chain. Please find out what top-posting means and a

Re: [Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-19 Thread Suhail Doshi
Sure, do you know why ffmpeg cli seems to be able to encode interleaved raw audio but the C API only allows FLTP then? On Sun, Jan 19, 2020 at 11:48 AM Carl Eugen Hoyos wrote: > > > Am Fr., 17. Jan. 2020 um 09:01 Uhr schrieb Suhail Doshi < > suh...@mightyapp.com>: > > > Output the various sample

Re: [Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-19 Thread Carl Eugen Hoyos
Am Fr., 17. Jan. 2020 um 09:01 Uhr schrieb Suhail Doshi < suh...@mightyapp.com>: > Output the various sample formats associated with AAC, it only provides FLTP. > That assumes a planar/interleaved format. AV_SAMPLE_FMT_FLTP is not interleaved but a planar format. Carl Eugen _

[Libav-user] How do you encode raw pcm_f32le audio to AAC encoded audio with FFmpeg (C/C++)?

2020-01-17 Thread Suhail Doshi
I am trying to encode raw audio (pcm_f32le) to AAC encoded audio. One thing I've noticed is that I can accomplish this via the CLI tool: ffmpeg -f f32le -ar 48000 -ac 2 -c:a pcm_f32le -i out.raw out.m4a -y This plays just fine and decodes fine. The steps I've taken: * When I am using the C e