wxMediaCtrl on Linux

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

wxMediaCtrl on Linux

Steve_Bz
Hi Guys,

I have been developing a cross-platform multi-media medical application in
wxWidgets.  All the original development was done in Windows and I have just
ported to Kubuntu 9.10.  One of the main components is wxMediaCtrl which is
and embedded mediaplayer frontend which uses MS Media Player backend on
Windows or GStreamer on Linux.  

I've definitely got GStreamer installed because other applications run using
it. I can even write pieces of code in Perl which call Gstreamer directly
but I've not got
wxMediaCtrl running yet. I'm getting error "Got an invalid playbin (error
0:Success)".  So what am I missing here?

I have:

- Kubuntu 9:10
- wxPerl 0.91-1
- GStreamer (libgstreamer-plugins-base0.10-0 - 0.10.25-2ubunbtu1 (amd64),
libgstreamer0.10-0 - 0.10.25 (amd64), bluez-gstreamer - 4.51-0ubantu2
(amd64)).

However, there are 54 other GStreamer packages/modules that aren't
installed, and maybe I'm just missing one or two.

What are your thoughts?

Thanks and regards

Steve



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: wxMediaCtrl on Linux

Tim-Philipp Müller-2
On Fri, 2009-11-06 at 10:58 -0200, Steve Cookson wrote:

Hi,

> I have been developing a cross-platform multi-media medical application in
> wxWidgets.  All the original development was done in Windows and I have just
> ported to Kubuntu 9.10.  One of the main components is wxMediaCtrl which is
> and embedded mediaplayer frontend which uses MS Media Player backend on
> Windows or GStreamer on Linux.  
>
> I've definitely got GStreamer installed because other applications run using
> it. I can even write pieces of code in Perl which call Gstreamer directly
> but I've not got
> wxMediaCtrl running yet. I'm getting error "Got an invalid playbin (error
> 0:Success)".  So what am I missing here?

That error message looks like it comes from WxMediaCtrl and not
GStreamer. Maybe you're supposed to call gst_init() yourself before
using it? Does gst-inspect-0.10 playbin show something?

Cheers
 -Tim



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: wxMediaCtrl on Linux

Steve_Bz
Hi People,

Well, thanks for that Tim.  In fact I just didn't have the right pluggins
installed.  I installed all the pluggins available under Kubuntu and then
removed them one at a time until it worked with an AVI file.

I now have a related problem in that I can't play a webcam through
wxMediaCtrl.  When I do (I'm using wxPerl)?

        print $i_frame->{Ctl_Videos_Media}->LoadURI ('file:///dev/video0');

It gives me returns "1" but also gives error Gtk-CRITICAL **:
gtk_range_set_range: assertion `min < max' failed, so I guess it is
accessing the URI, but then hitting another error.  According to one of the
developers on a wxPython website it may be missing GStreamer packages. This
sounds like a good avenue to explore so I'm going to try to track this down.
I guess I'll use the binary chop method I used before, but it feels a bit
random.

However, there may be something I need to do specifically for a live source
rather than a file.  

I Currently have:

gstreamer0.10-ffmpeg
libgstreamer0.10-0
libgstreamer-perl
libgstreamer-plugins-base0.10-0
gstreamer0.10-x
gstreamer0.10-doc
gstreamer0.10-plugins-good
gstreamer0.10-plugins-nice
gstreamer0.10-plugins-base
gstreamer0.10-tools

Any thoughts would be very welcome.

Regards

Steve



-----Original Message-----
From: Tim-Philipp Müller [mailto:[hidden email]]
Sent: 12 November 2009 07:56
To: [hidden email]
Subject: Re: [gst-devel] wxMediaCtrl on Linux

On Fri, 2009-11-06 at 10:58 -0200, Steve Cookson wrote:

Hi,

> I have been developing a cross-platform multi-media medical application in
> wxWidgets.  All the original development was done in Windows and I have
just
> ported to Kubuntu 9.10.  One of the main components is wxMediaCtrl which
is
> and embedded mediaplayer frontend which uses MS Media Player backend on
> Windows or GStreamer on Linux.  
>
> I've definitely got GStreamer installed because other applications run
using
> it. I can even write pieces of code in Perl which call Gstreamer directly
> but I've not got
> wxMediaCtrl running yet. I'm getting error "Got an invalid playbin (error
> 0:Success)".  So what am I missing here?

That error message looks like it comes from WxMediaCtrl and not
GStreamer. Maybe you're supposed to call gst_init() yourself before
using it? Does gst-inspect-0.10 playbin show something?

Cheers
 -Tim



----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel