[Bug 661624] New: flvmux overstates the number of metadata elements when 'streamable=true'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 12 21:33:52 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661624
  GStreamer | gst-plugins-good | git

           Summary: flvmux overstates the number of metadata elements when
                    'streamable=true'
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: gschriss at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When sending a H.264 stream to crtmpserver the flvmux element appears to
overstate the number of metadata elements sent if given the 'streamable=true'
parameter, thus generating an exception with crtmpserver's AFM0 deserializer.  

Two test runs, the first without 'streamable=true' and the second with:
 http://pastebin.com/bYTyrbb9

Removing one of the 'tags_written++;' lines results in expected behavior:
./gst/flv/gstflvmux.c
  tmp = gst_buffer_new_and_alloc (2 + 0 + 1);
  data = GST_BUFFER_DATA (tmp);
  data[0] = 0;                  /* 0 byte size */
  data[1] = 0;
  data[2] = 9;                  /* end marker */
  script_tag = gst_buffer_join (script_tag, tmp);
-  tags_written++;

But this is just a workaround and I'm not very good with Action Message Format
(AMF0).

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