Hey Carl,

Are you sure that this is how HE-AACv2 works? Apple's AVAudioFile class is able 
to see the correct sampling rate & channel count.
AVURLAsset & Exoplayer does not properly see it though. Does ffmpeg write the 
sampling rate in multiple parts of the MP4 container?

If so, maybe one of them isn't consistent?

Ronak


> On Mar 17, 2018, at 8:02 AM, Carl Eugen Hoyos <[email protected]> wrote:
> 
> 2018-03-17 12:38 GMT+01:00, Ronak Patel <[email protected]>:
>> Hello,
>> 
>> I’m encoding my wav files to HE AAC v2 in 44kHz/32 Kbps and 44/64.
> 
> Command line and complete, uncut console output missing.
> 
>> Ffprobe is correctly showing that the audio is HE AAC v2 stereo with the
>> correct sampling rate and nitrate.
>> 
>> When I open the audio in Exoplayer or Apple’s AVURLAsset code, they report
>> that the sampling rate is 22050kHz instead.
> 
> I believe this is how SBR ("HE AAC v2") is defined.
> 
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to