a couple of questions getting started with gstreamer development

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

a couple of questions getting started with gstreamer development

Chuck Crisler-2
I am trying to experiment with some pipelines to get some basic working experience with gstreamer in my environment (CentOS 5.6/CentOS 6.0). I tried the following very basic pipeline:

gst-launch -v videotestsrc pattern=snow ! xvimagesink

The error I received was:

ERROR: from element /pipeline0/xvimagesink0: Could not initialize Xv output
...
xvimagesink.c(1342): gst_xvimagesink_get_xv_support (): /pipeline0/xvimagesink0: No port available

What have I done wrong? Also, where is the source for these plugins so I can look it up in the future (though I still may not really understand the error)?

Next question: I have seen references to mpeg2dec but can't seem to locate it on either of my systems (CentOS 5.6 and Fedora 16). I am still setting everything up and may have missed it. Where should I be able to find it and the documentation for it?

Thank you very much,
Chuck Crisler

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

Re: a couple of questions getting started with gstreamer development

David Röthlisberger
On 5 Jul 2012, at 23:07, Chuck Crisler wrote:
> gst-launch -v videotestsrc pattern=snow ! xvimagesink
>
> ERROR: from element /pipeline0/xvimagesink0: Could not initialize Xv output
> ...
> xvimagesink.c(1342): gst_xvimagesink_get_xv_support (): /pipeline0/xvimagesink0: No port available

It seems you don't have XVideo† support. Are you running this command over a remote terminal with X11 forwarding?

Try using ximagesink instead of xvimagesink.

http://en.wikipedia.org/wiki/X_video_extension

> where is the source for these plugins so I can look it up in the future?

See http://gstreamer.freedesktop.org/modules/
The rightmost column has links to web-browsable git repos for each module.
Find out which module your element belongs to with `gst-inspect` (e.g. gst-inspect xvimagesink).

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