[Bug 792644] aacparse mishandles very small raw frames

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 18 14:49:30 UTC 2018


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

--- Comment #1 from Jan Alexander Steffens (heftig) <jan.steffens at gmail.com> ---
Created attachment 367019
  --> https://bugzilla.gnome.org/attachment.cgi?id=367019&action=edit
aacparse: When parsing raw input, accept frames of any size

Raw AAC streams we encounter (in RTMP and FLV) occasionally have very
small frames (6 bytes: 27 00 03 20 64 1c). These are smaller than
aacparse's default min_frame_size (ADTS_MAX_SIZE = 10).

When passthrough is disabled or aacparse has to output ADTS, BaseParse
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.

-- 
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