[Bug 678078] [ffdec_aac_latm] Fails to decode when channels/rate are specified

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 28 08:49:49 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=678078
  GStreamer | gst-ffmpeg | git

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |bilboed at gmail.com
          Component|gst-plugins-bad             |gst-ffmpeg
            Summary|BBC HD MPEG TS is not       |[ffdec_aac_latm] Fails to
                   |playable                    |decode when channels/rate
                   |                            |are specified
     Ever Confirmed|0                           |1

--- Comment #1 from Edward Hervey <bilboed at gmail.com> 2012-06-28 15:49:44 UTC ---
The first issue was that the caps for latm in tsdemux got wrongly overwritten.

This is now fixed by commit 8ef6696d1c9788fa8fd425b0996bc017d95ed792
Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date:   Thu Jun 28 17:40:16 2012 +0200

    tsdemux: Fix AAC LATM caps


The remaining issue is that ffdec_aac_latm behaves weirdly when plugged after
aacparse (which is now the default in decodebin2).

When rate and channels are both specified in the incoming caps, the codec
initialization ends up taking a different code path which later on leads to the
decoder refusing to decode anything.

A simple way to circumvent that is to always reset the channels/rate in the
initial AVCodecContext to 0. It will configure itself automatically later on.

Changing the title accordingly.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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