Can anyone point me to any examples of using these av_audio_resample_init() and audio_resample() functions?
On Mon, Nov 29, 2010 at 2:09 PM, Ronald S. Bultje <[email protected]>wrote: > Hi, > > On Mon, Nov 29, 2010 at 4:28 AM, Eli Konky <[email protected]> wrote: > > I'm trying to decode an amr file extracted from a 3gp video recorded on > my > > phone (htc desire). > > > > the decoding passes and a file is created - but I really don't know what > to > > do with it. I understand its FLT sample format so I tried using ffmpeg on > a > > windows machine to convert to a wav file: > > ffmpeg -f f32le -acodec pcm_f32le -ac 1 -i data.raw data.wav > > > > but I just get silence and sporadic clicks here and there. > > Uh, try using av_audio_resample_init() and audio_resample() to convert > it to int. I'm not sure what you're trying to do but dumping it to a > file sounds wrong to me... > > Ronald > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
