Gstreamer error

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

Gstreamer error

Mazahir Poonawalla
Hi All,

I get the following error while playing rtsp stream:

WARNING: erroneous pipeline: no element "ximagesync"

my client pipeline is as follows:

gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test ! rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! ximagesync sync=false

It does not work with "xvimagesink" as well. 

Can anyone help as to what is wrong?

--

Thank you & Regards,

Mazahir Poonawalla

ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 [hidden email] |www.ideaforge.co.in


P Please consider the environment before printing this e-mail



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

Re: Gstreamer error

David Röthlisberger
The element is ximagesink.

A "sink" is like a kitchen sink.
Whereas "sync" stands for "synchronous".

xvimagesink (with an extra "v") is a different element than ximagesink.
xvimagesink (with the "v") only works if your system supports XVideo.[1]

[1] http://en.wikipedia.org/wiki/X_video_extension




On 20 Sep 2012, at 08:57, Mazahir Poonawalla wrote:

>
> Hi All,
>
> I get the following error while playing rtsp stream:
>
> WARNING: erroneous pipeline: no element "ximagesync"
>
> my client pipeline is as follows:
>
> gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test ! rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! ximagesync sync=false
>
> It does not work with "xvimagesink" as well.
>
> Can anyone help as to what is wrong?
>
> --
> Thank you & Regards,
> Mazahir Poonawalla
> ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 | [hidden email] |www.ideaforge.co.in
>
> P Please consider the environment before printing this e-mail
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer error

Manoj
In reply to this post by Mazahir Poonawalla
Hi,

There is no gst element named 'ximagesync', try 'ximagesink' instead.


On Thu, Sep 20, 2012 at 1:27 PM, Mazahir Poonawalla <[hidden email]> wrote:
Hi All,

I get the following error while playing rtsp stream:

WARNING: erroneous pipeline: no element "ximagesync"

my client pipeline is as follows:

gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test ! rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! ximagesync sync=false

It does not work with "xvimagesink" as well. 

Can anyone help as to what is wrong?

--

Thank you & Regards,

Mazahir Poonawalla

ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 [hidden email] |www.ideaforge.co.in


P Please consider the environment before printing this e-mail



_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer error

Tim-Philipp Müller-2
In reply to this post by Mazahir Poonawalla
On Thu, 2012-09-20 at 13:27 +0530, Mazahir Poonawalla wrote:


> WARNING: erroneous pipeline: no element "ximagesync"

> gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test !
> rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale !
> ximagesync sync=false

Perhaps you meant ximagesink ?

Does this work:

  gst-launch-0.10 playbin2 uri=rtsp://192.168.1.101:8554/test
video-sink=ximagesink

?

Or:

  gst-launch-0.10 uridecodebin uri=rtsp://192.168.1.101:8554/test !
ffmpegcolorspace ! videoscale ! ximagesink

?

Cheers
 -Tim


>
> It does not work with "xvimagesink" as well.
>
>
> Can anyone help as to what is wrong?
>
>
> --
>
>
> Thank you & Regards,
>
> Mazahir Poonawalla
>
> ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767
> 0707 | [hidden email] |www.ideaforge.co.in
>
>
> P Please consider the environment before printing this e-mail
>
>
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer error

Mazahir Poonawalla
In reply to this post by David Röthlisberger
thanks David, i did realise that it is "sink" and not "sync.

On 20 September 2012 14:31, David Röthlisberger <[hidden email]> wrote:
The element is ximagesink.

A "sink" is like a kitchen sink.
Whereas "sync" stands for "synchronous".

xvimagesink (with an extra "v") is a different element than ximagesink.
xvimagesink (with the "v") only works if your system supports XVideo.[1]

[1] http://en.wikipedia.org/wiki/X_video_extension




On 20 Sep 2012, at 08:57, Mazahir Poonawalla wrote:
>
> Hi All,
>
> I get the following error while playing rtsp stream:
>
> WARNING: erroneous pipeline: no element "ximagesync"
>
> my client pipeline is as follows:
>
> gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test ! rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! ximagesync sync=false
>
> It does not work with "xvimagesink" as well.
>
> Can anyone help as to what is wrong?
>
> --
> Thank you & Regards,
> Mazahir Poonawalla
> ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 | [hidden email] |www.ideaforge.co.in
>
> P Please consider the environment before printing this e-mail
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





--

Thank you & Regards,

Mazahir Poonawalla

ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 [hidden email] |www.ideaforge.co.in


P Please consider the environment before printing this e-mail



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

Re: Gstreamer error

Mazahir Poonawalla
In reply to this post by Tim-Philipp Müller-2
Thanks Tim. Yes I wrote sync instead. Thanks for plugins. They both work. However I am wondering how do not need depay and decode elements in your plugin. Can you please explain.

On 20 September 2012 15:13, Tim-Philipp Müller <[hidden email]> wrote:
On Thu, 2012-09-20 at 13:27 +0530, Mazahir Poonawalla wrote:


> WARNING: erroneous pipeline: no element "ximagesync"

> gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test !
> rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale !
> ximagesync sync=false

Perhaps you meant ximagesink ?

Does this work:

  gst-launch-0.10 playbin2 uri=rtsp://192.168.1.101:8554/test
video-sink=ximagesink

?

Or:

  gst-launch-0.10 uridecodebin uri=rtsp://192.168.1.101:8554/test !
ffmpegcolorspace ! videoscale ! ximagesink

?

Cheers
 -Tim


>
> It does not work with "xvimagesink" as well.
>
>
> Can anyone help as to what is wrong?
>
>
> --
>
>
> Thank you & Regards,
>
> Mazahir Poonawalla
>
> ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767
> 0707 | [hidden email] |www.ideaforge.co.in
>
>
> P Please consider the environment before printing this e-mail
>
>
>
> _______________________________________________
> 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



--

Thank you & Regards,

Mazahir Poonawalla

ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; +91 22 2767 0707 [hidden email] |www.ideaforge.co.in


P Please consider the environment before printing this e-mail



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

Re: Gstreamer error

rachelgomez161999
In reply to this post by Mazahir Poonawalla
The error message indicates that the element "ximagesync" is missing, which means that it is not installed on your system or not included in your GStreamer build.

"Ximagesync" is a plugin used for synchronization between X11 and GStreamer. It is not a part of the GStreamer base plugins, so you will need to install it separately.

To install "ximagesync" plugin, you can try the following command on your Ubuntu-based system:

sudo apt-get install gstreamer1.0-x

This command should install the "gstreamer1.0-x" package, which contains the "ximagesync" plugin.

After installing the plugin, you can try your pipeline again:

gst-launch -v -e rtspsrc location=rtsp://192.168.1.101:8554/test ! rtph264depay ! queue ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! ximagesink sync=false

This pipeline should now work without any issues.

Regards,
Rachel Gomez