[Bug 694369] New: Unable to change playspeed of mpeg-ts files via seek event in GStreamer-1.0

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Feb 21 08:10:30 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694369
  GStreamer | gst-plugins-bad | 1.x

           Summary: Unable to change playspeed of mpeg-ts files via seek
                    event in GStreamer-1.0
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: grandocap at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=237056)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=237056)
Tutorial code with modifications to use local file and switch b/w 0.10 & 1.0

I have recently upgraded from GStreamer-0.10 to GStreamer-1.0.  I'm working on
playspeed support related to mpeg-ts.  I started with the GStreamer playspeed
tutorial - "Basic tutorial 13: Playback speed"
(http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+13%3A+Playback+speed).
 This tutorial works with GStreamer 0.10 using clock.mpg (see attachment) but
does not work with GStreamer 1.0.  This tutorial seems to work with
GStreamer-1.0 using *.mkv and *.ogv files.

The tutorial fails when attempting to do rate change from 1x to 2x under
GStreamer-1.0.  I get the following error:
(basic-tutorial-13:3117): GStreamer-CRITICAL **: gst_segment_do_seek: assertion
`segment->format == format' failed

There is this note on the tutorial's web page - "Changing the playback rate
might only work with local files".  I modified the tutorial code as suggested
to use a local file (which is attached to this bug - clock.mpg).  

I also added a #define GSTREAMER_1 to the tutorial *.c code to support changes
between GStreamer-0.10 and GStreamer-1.0.    

I have attached a log with some debugging messages (fail_log.txt). It appears
it might be a problem in bad plugin - mpegtsdemux - tsdemux.c.

I used the following command to compile (switching between 0.10 and 1.0 as
appropriate and also uncommenting #define GSTREAMER_1 in *.c file):
gcc basic-tutorial-13.c -o basic-tutorial-13 `pkg-config --cflags --libs
gstreamer-[0.10 or 1.0]`

I'm running on Ubuntu 12.04 and using last release of GStreamer-0.10 and latest
release of GStreamer-1.0.5.

I've attached the basic_tutorial.c code from the tutorial with the modification
to use local file rather than URL and also #define GSTREAMER_1 to support
switching between 0.10 and 1.0.

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