[Bug 653492] New: mpegtsdemux: Audio & video streams mixed up for Apple sample HLS stream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 27 07:32:38 PDT 2011


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

           Summary: mpegtsdemux: Audio & video streams mixed up for Apple
                    sample HLS stream
    Classification: Platform
           Product: GStreamer
           Version: 0.10.22
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jonas.larsson at hiq.se
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When playing Apple sample HLS stream with mpegtsdemux, video is pushed out on
the audio pad and vice versa after hlsdemux switches to a higher quality stream
Ensure good bandwith, and run this example pipeline. It starts off OK but fails
to detect the new stream mapping and audio and video streams are mixed up. In
the example run below it happens after 0:00:40.

It's even more clear if aacparse is used to parse the audio stream, it fails
and sometimes segfaults when attempting to parse the video stream as audio.

Reasonable behavior is newly added pads when the input stream changes.

gst-launch -v souphttpsrc
location=http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8 !
hlsdemux ! mpegtsdemux name=d d. ! audio/mpeg ! queue ! fakesink name=audio
sync=true d. ! video/x-h264 ! queue ! fakesink name=video sync=true


audio:  11 bytes, timestamp: 0:00:39.907300000
audio:  11 bytes, timestamp: 0:00:39.953744444
video: 157 bytes, timestamp: 0:00:39.963300000
video: 439 bytes, timestamp: none
audio: 157 bytes, timestamp: 0:00:40.030033333
audio:4048 bytes, timestamp: none
audio:5099 bytes, timestamp: none
video:  11 bytes, timestamp: 0:00:40.046622222
audio: 157 bytes, timestamp: 0:00:40.063400000
audio: 396 bytes, timestamp: none
video: 170 bytes, timestamp: 0:00:40.093066666
video: 257 bytes, timestamp: none
audio: 157 bytes, timestamp: 0:00:40.096766666
audio: 505 bytes, timestamp: none
audio: 157 bytes, timestamp: 0:00:40.130133333
audio:1150 bytes, timestamp: none
video: 166 bytes, timestamp: 0:00:40.139500000
audio: 157 bytes, timestamp: 0:00:40.163500000
audio: 491 bytes, timestamp: none
video:  11 bytes, timestamp: 0:00:40.185944444

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