gstreamer output problem on windows

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

gstreamer output problem on windows

Martin.cheng
Hi all
I run gstreamer on windows, with version 0.10.28

I used "glimagesink" as video output on windows and "xvimagesink" on Linux.

I got winId of QWidget and set winId as output

it worked fine on linux but on windows 7

I check the code and make sure the problem here
ret = gst_element_set_state(m_pipeline, GST_STATE_NULL);
When I attempt to stop the pipeline, it will down...

who can give some tips about it~
Thanks~

by the way, is there any other output can be used on windows?
I have tried that dshowvideosink and autovideosink, don't work

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

RE: gstreamer output problem on windows

Charlie X. Liu

I have gst-launch-0.10 version 0.10.28 (GStreamer 0.10.28) on Windows XP, all followings work well:

 

> gst-launch videotestsrc ! autovideosink

> gst-launch videotestsrc ! dshowvideosink

> gst-launch videotestsrc ! glimagesink

> gst-launch videotestsrc ! video/x-raw-rgb, framerate=30/1, width=640, height= 480 ! clockoverlay ! directdrawsink

> gst-launch videotestsrc ! video/x-raw-yuv, framerate=30/1, width=640, height= 480 ! clockoverlay ! dshowvideosink

> gst-launch videotestsrc ! video/x-raw-yuv, framerate=30/1, width=640, height= 480 ! clockoverlay ! glimagesink

 

Just FYI or as references.

 

 

From: gstreamer-devel-bounces+charlie=[hidden email] [mailto:gstreamer-devel-bounces+charlie=[hidden email]] On Behalf Of Mo Cheng
Sent: Tuesday, September 06, 2011 1:51 AM
To: [hidden email]
Subject: gstreamer output problem on windows

 

Hi all

I run gstreamer on windows, with version 0.10.28

 

I used "glimagesink" as video output on windows and "xvimagesink" on Linux.

 

I got winId of QWidget and set winId as output

 

it worked fine on linux but on windows 7

 

I check the code and make sure the problem here

ret = gst_element_set_state(m_pipeline, GST_STATE_NULL);

When I attempt to stop the pipeline, it will down...

 

who can give some tips about it~

Thanks~

 

by the way, is there any other output can be used on windows?

I have tried that dshowvideosink and autovideosink, don't work


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

Re: gstreamer output problem on windows

Martin.cheng
Firstly, thanks for your relpy
I used a exactly source but not "videotestsrc"
When I used "videotestsrc" as the source, everything works fine
Are there some problems with decoding things ?

In addition, when I used gst_x_overlay_set_xwindow_id(...) in the bus sync handler, it will be down when I suppose to stop the pipeline
If I comment this, it will not be down, but the video output will not show on the window which I want

On Wed, Sep 7, 2011 at 2:22 AM, Charlie X. Liu <[hidden email]> wrote:

I have gst-launch-0.10 version 0.10.28 (GStreamer 0.10.28) on Windows XP, all followings work well:

 

> gst-launch videotestsrc ! autovideosink

> gst-launch videotestsrc ! dshowvideosink

> gst-launch videotestsrc ! glimagesink

> gst-launch videotestsrc ! video/x-raw-rgb, framerate=30/1, width=640, height= 480 ! clockoverlay ! directdrawsink

> gst-launch videotestsrc ! video/x-raw-yuv, framerate=30/1, width=640, height= 480 ! clockoverlay ! dshowvideosink

> gst-launch videotestsrc ! video/x-raw-yuv, framerate=30/1, width=640, height= 480 ! clockoverlay ! glimagesink

 

Just FYI or as references.

 

 

From: gstreamer-devel-bounces+charlie=[hidden email] [mailto:[hidden email]=[hidden email]] On Behalf Of Mo Cheng
Sent: Tuesday, September 06, 2011 1:51 AM
To: [hidden email]
Subject: gstreamer output problem on windows

 

Hi all

I run gstreamer on windows, with version 0.10.28

 

I used "glimagesink" as video output on windows and "xvimagesink" on Linux.

 

I got winId of QWidget and set winId as output

 

it worked fine on linux but on windows 7

 

I check the code and make sure the problem here

ret = gst_element_set_state(m_pipeline, GST_STATE_NULL);

When I attempt to stop the pipeline, it will down...

 

who can give some tips about it~

Thanks~

 

by the way, is there any other output can be used on windows?

I have tried that dshowvideosink and autovideosink, don't work


_______________________________________________
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