What is xvimagesink?

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

What is xvimagesink?

jiapei100

Hi, all:

Sorry for my naive question. I finally have my IP camera successfully viewed by the following "gstreamer" command.


gst-launch -v souphttpsrc location='http://192.168.1.81:80/videostream.cgi?rate=15&user=aaaaa&pwd=bbbbb' do-timestamp=true timeout=5 ! multipartdemux ! image/jpeg,width=640,height=480,framerate=15/1 ! jpegdec ! xvimagesink


Without the last parameter "xvimagesink", the command
gst-launch -v souphttpsrc location='http://192.168.1.81:80/videostream.cgi?rate=15&user=aaaaa&pwd=bbbbb' do-timestamp=true timeout=5 ! multipartdemux ! image/jpeg,width=640,height=480,framerate=15/1 ! jpegdec
always complains
ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Internal data flow error.



2) Can anybody help to explain what is the Error message telling?


Thank you very much...

Best Regards


Pei JIA

cell:    +1 604-362-5816

Welcome to Vision Open
http://www.visionopen.com

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

Re: What is xvimagesink?

Nicolai Hess
xvimagesink is a Sink which is responsible for handling the
videodata. The xvimagesink opens the XWindow and shows your video data.

Without xvimagesink in your gstreamer pipeline, you would need
another think (filesink for example) which takes your videodata.
Without any sink the data can not flow through your pipeline.
Thats the errormessage "internal dataflow error"

2012/6/30 JIA Pei <[hidden email]>:

>
> Hi, all:
>
> Sorry for my naive question. I finally have my IP camera successfully viewed
> by the following "gstreamer" command.
>
>
>> gst-launch -v souphttpsrc
>> location='http://192.168.1.81:80/videostream.cgi?rate=15&user=aaaaa&pwd=bbbbb'
>> do-timestamp=true timeout=5 ! multipartdemux !
>> image/jpeg,width=640,height=480,framerate=15/1 ! jpegdec ! xvimagesink
>
>
>
> Without the last parameter "xvimagesink", the command
>>
>> gst-launch -v souphttpsrc
>> location='http://192.168.1.81:80/videostream.cgi?rate=15&user=aaaaa&pwd=bbbbb'
>> do-timestamp=true timeout=5 ! multipartdemux !
>> image/jpeg,width=640,height=480,framerate=15/1 ! jpegdec
>
> always complains
>>
>> ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:
>> Internal data flow error.
>
>
>
>
> 1) Can anybody help to explain what is "Xv based videosink" as described
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-xvimagesink.html
> 2) Can anybody help to explain what is the Error message telling?
>
>
> Thank you very much...
>
> Best Regards
>
> -
>
> Pei JIA
>
> Email: [hidden email]
> cell:    +1 604-362-5816
>
> Welcome to Vision Open
> http://www.visionopen.com
>
> _______________________________________________
> 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