[Libav-user] Problem converting from AV_SAMPLE_FMT_S16 to AV_SAMPLE_FMT_FLTP
androiddevmar11 at gmail.com
Tue Jan 12 06:55:05 CET 2016
It is working after suggested changes!. Thank you.
On 5 January 2016 at 22:21, dhenry <dhenry at movenetworks.com> wrote:
> swr_convert() may buffer converted data, so esp. if you are converting
> rates, there may not be any data available after the first call.
> Also, in your call to utility_init_output_frame(), you send
> DEFAULT_AAC_FRAME_SIZE as the output nb_samples. You should probably use
> especially because when you allocate the output frame with
> you use frame->nb_samples as the sample size.
> If your processing post-swr_convert() is crashing, and audio
> AV_SAMPLE_FMT_FLTP -> AV_SAMPLE_FMT_FLTP doesn't crash, then it suggests
> that your output buffer may not be sized correctly.
> View this message in context:
> Sent from the libav-users mailing list archive at Nabble.com.
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user