Gstreamer 1.0 and playbin

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer 1.0 and playbin

Jiergir Ogoerg
Hi,
I'm using v1.0.3 and this line returns NULL:
GstElement *refPlay = gst_element_factory_make("playbin", NULL);
//refPlay is NULL

Same issue with "playbin2". But works fine with 0.10.
Can anyone please tell me what to do?

Using v1.0.3 on Ubuntu 12.10 amd64 installed thru a ppa, same issue happens on Ubuntu 13.04.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer 1.0 and playbin

Tim-Philipp Müller-2
On Mon, 2012-12-17 at 16:21 +0200, Jiergir Ogoerg wrote:

Hi,

> I'm using v1.0.3 and this line returns NULL:
> GstElement *refPlay = gst_element_factory_make("playbin", NULL);
> //refPlay is NULL
>
> Same issue with "playbin2". But works fine with 0.10.
> Can anyone please tell me what to do?
>
> Using v1.0.3 on Ubuntu 12.10 amd64 installed thru a ppa, same issue
> happens on Ubuntu 13.04.

Does

  gst-inspect-1.0 playbin

work? (gst-inspect-1.0 is in the gstreamer1.0-tools package)

Do you have gstreamer1.0-plugins-base installed?

If not, perhaps try:

 sudo apt-get install gstreamer1.0-*

Cheers
-Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer 1.0 and playbin

Jiergir Ogoerg
Thanks, it works now!
Just as you said I had to install "gstreamer1.0-plugins-base" to get a non NULL GstElement
and gstreamer1.0-* to be able to play media files.


On Mon, Dec 17, 2012 at 4:30 PM, Tim-Philipp Müller <[hidden email]> wrote:
On Mon, 2012-12-17 at 16:21 +0200, Jiergir Ogoerg wrote:

Hi,

> I'm using v1.0.3 and this line returns NULL:
> GstElement *refPlay = gst_element_factory_make("playbin", NULL);
> //refPlay is NULL
>
> Same issue with "playbin2". But works fine with 0.10.
> Can anyone please tell me what to do?
>
> Using v1.0.3 on Ubuntu 12.10 amd64 installed thru a ppa, same issue
> happens on Ubuntu 13.04.

Does

  gst-inspect-1.0 playbin

work? (gst-inspect-1.0 is in the gstreamer1.0-tools package)

Do you have gstreamer1.0-plugins-base installed?

If not, perhaps try:

 sudo apt-get install gstreamer1.0-*

Cheers
-Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel