[Libav-user] Wrong duration of AAC files encoded by iTunes 12.3.0
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Oct 2 15:45:10 EEST 2017
2017-10-02 14:42 GMT+02:00 Uwe Klotz <uwe_klotz at web.de>:
> I've encountered inconsistencies when decoding AAC files encoded by iTunes.
>
> An AAC file encoded by iTunes 12.3.0 reports the following stream
> properties:
> start_time = 2112
> duration = 1328128
> https://github.com/uklotzde/mixxx/blob/ffmpeg31/src/test/id3-test-data/cover-test-itunes-12.3.0-aac.m4a
>
> The same file encoded by iTunes 12.7.0 reports the following stream
> properties:
> start_time = 0
> duration = 1328128
> https://github.com/uklotzde/mixxx/blob/ffmpeg31/src/test/id3-test-data/cover-test-itunes-12.7.0-aac.m4a
>
> The actual duration of the first file must be reduced to 1328128 - 2112 =
> 1326016 for decoding, because the last frame received from FFmpeg ends at
> 1326016.
How are you testing this?
Is the issue you see reproducible with the ffmpeg command line tool?
Please test current FFmpeg git head, nothing else is supported here.
Thank you, Carl Eugen
More information about the Libav-user
mailing list