[Bug 645703] New: ffenc_g726 is not working

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 24 08:31:20 PDT 2011


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

           Summary: ffenc_g726 is not working
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.11
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kosmo at semihalf.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=184232)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=184232)
gstffmpegenc: Do not add "safe margin" to output buffer size.

Test case:
$ gst-launch -v audiotestsrc freq=400 blocksize=4096 num-buffers=16 !
'audio/x-raw-int,channels=1,rate=8000' ! ffenc_g726 bitrate=32000 ! ffdec_g726
! alsasink

After launching test shown above, clear tone is heard only for short while,
followed by undefined noise.
The length of clear tone is correlated to size of the first buffer passed to
encoder. The bigger buffer is, the tone is longer. After day of debugging I
have found, that buffer size passed to ffmpeg is incorrect. The attached patch
fixes the problem, but I am not sure if that is correct fix.

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