[gstreamer-bugs] [Bug 608786] New: [mpegtsmux] Internal H.264 byte-stream wrapping isn't working correctly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 2 04:01:08 PST 2010


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

           Summary: [mpegtsmux] Internal H.264 byte-stream wrapping isn't
                    working correctly
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ext-veli-matti.nurmenniemi at nokia.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=152827)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=152827)
Access Unit Delimeters codes added

Problem:

Some players (e.g. Sony Bravia) won't display video when GStreamer's
mpegtsmuxer is used for transcoding MP4 H.264 to TS H.264 (byte-stream).


Used pipeline:

mpegtsmux name=mux ! filesink location=OUTPUT.TS filesrc location=INPUT.MP4 !
qtdemux name=demux ! queue ! mux. demux. ! queue ! mux.


Solution:

Mpegtsmuxer needs to be modified to add Access Unit Delimiter before each AVC
access units. In H.264 standard (ITU-T Rec. H.264 | ISO/IEC 14496-10) Access
Unit Delimiter is an optional (may) feature. But in contrast to that, in
Transport Stream standard (ITU-T Rec. H.222.0 | ISO/IEC 13818-1:
http://neuron2.net/library/avc/T-REC-H%5B1%5D.222.0-200403-I!Amd3!PDF-E.pdf)
Access Unit Delimiter is upgraded to required (shall) feature. 


Example solution:

See attached mpegtsmux_h264.c. 

All the modifications are under 'ADD_ACCESS_UNIT_DELIMITER' flag (defined by
default). Note that this is just proto code.

With these mods, the resulting TS file is playable e.g. with Sony Bravia.


Notes:

This mod can maybe be added into h264parse internal byte-stream conversion as
well??

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