[Bug 792644] aacparse: mishandles very small frames in "raw" stream-format, if passthrough is disabled

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 18 19:10:15 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792644

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.12.5

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks!

commit 54f312644e5240d10e089cbd65c5e8633c9d1b05 (HEAD -> master)
Author: Jan Alexander Steffens (heftig) <jsteffens at make.tv>
Date:   Thu Jan 18 15:09:04 2018 +0100

    tests: aacparser: Test that short raw frames don't get concatenated

    https://bugzilla.gnome.org/show_bug.cgi?id=792644

commit e273e5f7a6295425fe9749724ff5b95c751842ed
Author: Jan Alexander Steffens (heftig) <jsteffens at make.tv>
Date:   Thu Jan 18 14:23:07 2018 +0100

    aacparse: When parsing raw input, accept frames of any size

    Raw AAC streams might have very small frames, e.g. 6 byte frames
    when encoding silence. These frames are then smaller than aacparse's
    default min_frame_size of 10 bytes (ADTS_MAX_SIZE).

    When passthrough is disabled or aacparse has to output ADTS, GstBaseParse
    will concatenate these short frames to the following frame before
    handling them to aacparse, which processes each input buffer as a single
    frame, producing bad output.

    To avoid this problem, set the min_frame_size to 1 when receiving a raw
    stream.

    https://bugzilla.gnome.org/show_bug.cgi?id=792644

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list