[gstreamer-bugs] [Bug 628609] New: The qtwrapperaudiodec_samr decoder doesn't handle buffers containing many AMR frames properly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 2 04:37:52 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=628609
  GStreamer | gst-plugins-bad | 0.10.18

           Summary: The qtwrapperaudiodec_samr decoder doesn't handle
                    buffers containing many AMR frames properly
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.18
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: martin at martin.st
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=169354)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=169354)
A GDP dump of AMR packets sent over RTP

If decoding the attached sample like this,
gst-launch filesrc location=rtp-amr-dump.gdp ! gdpdepay ! rtpamrdepay !
qtwrapperaudiodec_samr ! wavenc ! filesink location=out-qt.wav
I get a wav file with 2.5 seconds of audio.

If decoding it using ffdec_amrnb instead,
gst-launch filesrc location=rtp-amr-dump.gdp ! gdpdepay ! rtpamrdepay !
ffdec_amrnb ! wavenc ! filesink location=out-ff.wav
I get a wav file that contains 17.5 seconds of audio (which is the correct
length).

The RTP packets in this dump contain 35 AMR frames each.

If I split the packets into individual AMR frames, e.g. via this operation, the
file decodes fine:
gst-launch filesrc location=rtp-amr-dump.gdp ! gdpdepay ! rtpamrdepay !
ffmux_amr ! filesink location=dump.amr
gst-launch filesrc location=dump.amr ! amrparse ! qtwrapperaudiodec_samr !
wavenc ! filesink location=out-qt2.wav

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