GNOME Bugzilla – Bug 736986
qtdemux: handle AAC audio without ESDS atom
Last modified: 2014-09-22 16:10:59 UTC
Created attachment 286653 [details] [review] Patch It looks like there are files with AAC audio that are missing the ESDS atom. They play fine with QuickTime and other players. Attached patch creates codec data from mp4a atom in case ESDS is not present. Right now the patch assumes AAC LC, I'm not aware of any way to determine the profile properly.
Created attachment 286654 [details] Sample file
Created attachment 286655 [details] [review] Patch (corrected atom name in comment)
Created attachment 286656 [details] [review] Patch Corrected variable declaration in block body
Review of attachment 286656 [details] [review]: ::: gst/isomp4/qtdemux.c @@ +8700,3 @@ + gint len = QT_UINT32 (stsd_data); + + if (len > 50) { Shouldn't it be >= ?
It probably should. Although it doesn't make much different since there are other things in the atom after time scale that we don't use. Should I submit another patch?
Did the minor update myself and pushed. commit 8a4931726db431f19c903b22f3bdd81a9d87bf10 Author: Matej Knopp <matej.knopp@gmail.com> Date: Fri Sep 19 19:14:28 2014 +0200 qtdemux: Handle mp4a without ESDS atom https://bugzilla.gnome.org/show_bug.cgi?id=736986
Thanks.