[gstreamer-bugs] [Bug 637639] New: [x264enc] regression?, timing issues?

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 20 00:16:59 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=637639
  GStreamer | gst-plugins-ugly | 0.10.16

           Summary: [x264enc] regression?, timing issues?
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.16
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mad_aluche at hotmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


I am doing gapless playback of matroska file with one h264 track.

With ugly 0.10.14 all works fine. With 0.10.16 the first file plays fine, when
i switch to the second file the processing stops for about 6 to 9 seconds. I
have a custom application with this issue, but i describe how to reproduce it.

Versions that I use in both cases:
gstreamer-0.10.31
gst-plugins-base-0.10.31
gst-plugins-good-0.10.26
gst-ffmpeg-0.10.11
gst-python-0.10.20

Versions that work:
gst-plugins-ugly-0.10.14
x264-snapshot-20090621-2245

Versions that don't work:
gst-plugins-ugly-0.10.16
x264-snapshot-20101201-2245

Files for reproducing the bug:
https://bugzilla.gnome.org/attachment.cgi?id=176582
https://bugzilla.gnome.org/attachment.cgi?id=176583

Source code to reproduce the bug:
#!/usr/bin/python
import pygst
pygst.require("0.10")
import gst
import gobject

class Player:
    def __init__(self, filename):
        bin = gst.parse_bin_from_description("queue ! x264enc ! queue !
ffdec_h264 ! xvimagesink", True)

        self.player = gst.element_factory_make("playbin2", "player")
        self.player.set_property("uri", filename)
        self.player.set_property("video-sink", bin)
        self.player.connect("about-to-finish", self.on_about_to_finish)

    def run(self):
        self.player.set_state(gst.STATE_PLAYING)
        loop = gobject.MainLoop()
        loop.run()

    def on_about_to_finish(self, player):
        player.set_property("uri",
"file:///tmp/2010/11/26/48/C48_101126T141627115+060-141634693+060_0000040_189.mkv")

if __name__ == "__main__":
    gobject.threads_init()
    player =
Player("file:///tmp/2010/11/26/48/C48_101126T141617936+060-141627110+060_0000045_200.mkv")
    player.run()

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