Taha Ansari <mtaha.ansari@...> writes:

> I have run this application with existing mp4 
> files as input, and it properly extracts audio, 
> and encodes to mp4 (audio only:AAC), or even 
> directly in AAC format (i.e. test.aac also 
> works). But when I tried running it on mp3 
> files, output clip plays faster than it should 
> be (a clip of 1:12 seconds plays back till 
> 1:05 seconds only, and is also noisy).

I did not look at your code but did you consider 
that the AAC decoder outputs AV_SAMPLE_FMT_FLTP 
and the MP3 decoder signed 16 bit values (I 
believe you can request planar or not)?

Carl Eugen

_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to