[FFmpeg-user] u8 sample format is incompatible with aac

dE . de.techno at gmail.com
Wed Dec 21 05:24:35 CET 2011


On 12/20/11 17:44, Tarun singhal wrote:
> Oh! Thats a bad news for me. Actually I want to encode a particular media
> file for thin-end devices and I want to choose the audio resolution as u8
> rather than s16 and want to encode it as AAC only.Is there Any way I can
> achieve that using FFmpeg.
> And I know that quality will deteriorate but quality is not an issue in my
> situtation, availibility is.
> On Tue, Dec 20, 2011 at 3:41 PM, Carl Eugen Hoyos<cehoyos at ag.or.at>  wrote:
>
>> Tarun singhal<tsinghal18<at>  gmail.com>  writes:
>>
>>> ffmpeg -i a.mp4 -samle_fmt u8 -vcodec libx264 -acodec aac -strict
>>> experimental b.mp4
>>>
>>> This command gives error that: u8 sample format is incompatible with aac.
>>> Assuming s16 by default.
>> This is not an error, but a warning to inform you that the sample format
>> had to
>> be changed to to fit the encoder's needs.
>>
>> All aac encoders in FFmpeg currently only accept s16 (and none of the
>> external
>> libraries accept u8 afaict, some would accept s24, s32 and flt).
>> Any reason you want to use u8?
>>
>> Carl Eugen
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Why not just reduce the sample rate and bitrate?


More information about the ffmpeg-user mailing list