Public bug reported:

I use this code for test playbin plugin video:

#!/usr/bin/python
import gi

gi.require_version('Gst', '1.0')
from gi.repository import Gst

Gst.init(None)

print Gst.version_string()

pipeline=Gst.ElementFactory.make('playbin', None)

----
It produces the ouput:
GStreamer 1.0.0
Error         :  Falta el elemento autovideosink.
Debug details :  gstplaysink.c(1700): gen_video_chain (): 
/GstPlayBin:playbin0/GstPlaySink:playsink

(python:17226): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
`G_IS_OBJECT (object)' failed

(python:17226): GLib-GObject-CRITICAL **: g_object_set_qdata_full:
assertion `G_IS_OBJECT (object)' failed

(python:17226): GLib-GObject-CRITICAL **: g_object_set_qdata_full:
assertion `G_IS_OBJECT (object)' failed

(python:17226): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed


The packages installed are gstreamer1.0-plugins-base gir1.2-gstreamer-1.0 and  
gir1.2-gst-plugins-base-1.0

---
The ouput with strace -eopen shows the relevant part:

GStreamer 1.0.0
open("/usr/lib/i386-linux-gnu/gstreamer-1.0/libgstplayback.so", 
O_RDONLY|O_CLOEXEC) = 3
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/libgstpbutils-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/libgstaudio-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/libgstvideo-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/libgsttag-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/libgstbase-1.0.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/i386-linux-gnu/gstreamer-1.0/libgstcoreelements.so", 
O_RDONLY|O_CLOEXEC) = 5

So /usr/lib/i386-linux-gnu/gstreamer-1.0/libgstcoreelements.so seems
doesn't include the autovideosink by default.

$ gst-inspect-1.0 playbin
Factory Details:
  Rank:         none (0)
gst-inspect-1.0: symbol lookup error: gst-inspect-1.0: undefined symbol: 
gst_element_factory_get_metadata_keys

$ gst-inspect-1.0 | grep play
playback:  playbin: Player Bin 2
playback:  playsink: Player Sink
playback:  subtitleoverlay: Subtitle Overlay
playback:  decodebin: Decoder Bin
playback:  uridecodebin: URI Decoder

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gir1.2-gstreamer-1.0 0.11.91-1
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic i686
ApportVersion: 2.1.1-0ubuntu2
Architecture: i386
Date: Sun Jun 10 12:22:47 2012
InstallationMedia:
 
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: gstreamer1.0
UpgradeStatus: Upgraded to quantal on 2012-06-05 (5 days ago)

** Affects: gstreamer1.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 quantal running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1011119

Title:
  No autovideosink plugin for playbin (GstPlaySink) with GStreamer 1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1011119/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to