GStreamer videotestsrc could not show in QWidget

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

GStreamer videotestsrc could not show in QWidget

Tom Chen
Hello,

   i had a problem that's videotestsrc could not show in QWidget? i google my problem, and found some post for same, but i'm not resolved it as post said. Could somebody help me to check my code? that problem is block me long time. my code please see the attachment. thanks for helping.

Br
Tom

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

qt4cb.zip (25K) Download Attachment
qt4cb_20100122.7z (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

GStreamer videotestsrc could not show in QWidget

Tom Chen
Hello,

   i had a problem that's videotestsrc could not show in QWidget? i google my problem, and found some post for same, but i'm not resolved it as post said. Could somebody help me to check my code? that problem is block me long time. my code please see the attachment. thanks for helping.

Br
Tom


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

qt4cb.zip (25K) Download Attachment
qt4cb_20100122.7z (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Daniel Shachrur
try to use X overlay function
 

Date: Fri, 22 Jan 2010 14:52:32 +0800
From: [hidden email]
To: [hidden email]
Subject: [gst-devel] GStreamer videotestsrc could not show in QWidget

Hello,

   i had a problem that's videotestsrc could not show in QWidget? i google my problem, and found some post for same, but i'm not resolved it as post said. Could somebody help me to check my code? that problem is block me long time. my code please see the attachment. thanks for helping.

Br
Tom



Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Tom Chen
Hi, Daniel

   I used that function in my code. but it's not work. please see VideoWidget.cpp in that attachment. Could you help me to check my code? thanks.

Br
Tom

2010/1/24 Daniel Shachrur <[hidden email]>
try to use X overlay function
 

Date: Fri, 22 Jan 2010 14:52:32 +0800
From: [hidden email]
To: [hidden email]
Subject: [gst-devel] GStreamer videotestsrc could not show in QWidget


Hello,

   i had a problem that's videotestsrc could not show in QWidget? i google my problem, and found some post for same, but i'm not resolved it as post said. Could somebody help me to check my code? that problem is block me long time. my code please see the attachment. thanks for helping.

Br
Tom



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Daniel Shachrur
did you init the gst? did you start the gst main loop?
 
maybe its nothing, but when i use ximagesink as a sink i use also xvi-outpout instead of screen_sink
 
also maybe you should try running the gst from a command line (gst-luanch) to see whether you have problem that are not code related

 

Date: Mon, 25 Jan 2010 10:37:40 +0800
From: [hidden email]
To: [hidden email]
Subject: Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Hi, Daniel

   I used that function in my code. but it's not work. please see VideoWidget.cpp in that attachment. Could you help me to check my code? thanks.

Br
Tom

2010/1/24 Daniel Shachrur <[hidden email]>
try to use X overlay function
 

Date: Fri, 22 Jan 2010 14:52:32 +0800
From: [hidden email]
To: [hidden email]
Subject: [gst-devel] GStreamer videotestsrc could not show in QWidget


Hello,

   i had a problem that's videotestsrc could not show in QWidget? i google my problem, and found some post for same, but i'm not resolved it as post said. Could somebody help me to check my code? that problem is block me long time. my code please see the attachment. thanks for helping.

Br
Tom



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Tom Chen
Hi, Daniel

   please see my comments as below green text. thanks.

Br
Tom

2010/1/25 Daniel Shachrur <[hidden email]>
did you init the gst? did you start the gst main loop?
Tom : yes, i invoke gst_init(&argc, &argv) in main function. because i use gst in QT, so i'm not start gst main loop. i had look other QT app, it's not start gst main loop also.
 
maybe its nothing, but when i use ximagesink as a sink i use also xvi-outpout instead of screen_sink
Tom: i'll try this. but other app use screen_sink also. it could be work fine in nokia N810.
 
also maybe you should try running the gst from a command line (gst-luanch) to see whether you have problem that are not code related
Tom : yes, i running gst-luanch in command, the videotesetsrc is work fine. i think it's my code problem, not in gst itself.
 


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Daniel Shachrur
i also use gst with qt
 
and i start the main loop according to gst document
 
in my application i have a video thread, and i pass to it the widget Wid, i start the main loop, i set the gst elements, set the overlay, and then run the main loop (g_main_loop_run)
 
if you dont use the loop of the gst, i think you should implement a loop of your own, waiting for gst event and "paint" each "frame" to the widget...
 

 

Date: Mon, 25 Jan 2010 14:54:34 +0800
From: [hidden email]
To: [hidden email]
Subject: Re: [gst-devel] GStreamer videotestsrc could not show in QWidget

Hi, Daniel

   please see my comments as below green text. thanks.

Br
Tom

2010/1/25 Daniel Shachrur <[hidden email]>
did you init the gst? did you start the gst main loop?
Tom : yes, i invoke gst_init(&argc, &argv) in main function. because i use gst in QT, so i'm not start gst main loop. i had look other QT app, it's not start gst main loop also.
 
maybe its nothing, but when i use ximagesink as a sink i use also xvi-outpout instead of screen_sink
Tom: i'll try this. but other app use screen_sink also. it could be work fine in nokia N810.
 
also maybe you should try running the gst from a command line (gst-luanch) to see whether you have problem that are not code related
Tom : yes, i running gst-luanch in command, the videotesetsrc is work fine. i think it's my code problem, not in gst itself.
 



Windows Live: Keep your friends up to date with what you do online.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel