Properly handle AAC/MP4 encoder delay
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: jya, Assigned: padenot)
References
Details
Attachments
(1 file)
Reporter | ||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Comment 4•3 years ago
|
||
This is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1703812#c18
Comment 5•2 years ago
|
||
AAC has traditionally had a default encoder delay set at 2112 frames.
For apple. FFmpeg native encoder uses 1024 samples. HE-AAC and v2 of it use again different amount of samples. There is also a problem with samples in the end.
There are two boxes to handle such information: sample group description box (sgpd) and sample-to-group (sbgp)
No, those signal how many samples should decoded to correctly decode further samples. In case of aac it is 1 samples, so 1024 samples cannot be just removed.
Please note a key commit in ffmpeg that fixed wrong intial priming removal for HE-AAC. https://github.com/FFmpeg/FFmpeg/commit/5114ce1e2a4c71ddf4971ad3cf9bd43ae16571c3
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D168277
Description
•