[gst-devel] wxMediaCtrl on Linux

Steve Cookson steve.cookson at sca-uk.com
Tue Aug 3 14:06:08 CEST 2010


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:t.i.m at zen.co.uk] 
Sent: 12 November 2009 07:56
To: gstreamer-devel at lists.sourceforge.net
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
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list