Problems with Wx::MediaCtrl GStreamer wrapper on Kubuntu

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

Problems with Wx::MediaCtrl GStreamer wrapper on Kubuntu

it
Hi Guys,

I'm having a couple of problems with the Wx::MediaCtrl wrapper of GStreamer
under Kubuntu and Perl.

1) Wx::MediaCtrl crashes at end of file (Kubuntu 9.10 only as it doesn't
occur on Windows - maybe GST is not there anyway - and my colleague didn't
see it on his Debian setup).  I've rebuilt on 2 different Kubuntu machines
with the same result.  I've not tried Lucid.

2) Wx::MediaCtrl wrapper doesn't play a live feed either from a live file
feed, where at the end of the file as it was on open we get the crash above,
or from a webcam URI.

Both problems can be seen in the Wx::Demo package
(http://search.cpan.org/dist/Wx-Demo/) for MediaCtrl for any video (I've
been using .AVI files).

My setup is as follows:

* 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-base
* gstreamer0.10-tools

* libwx-perl-processstream-perl
* libwx-perl-dialog-perl
* libwx-perl
* ffmpeg

* Wx::Perl 0.98
* wx 2.8.10
* Perl 5.10
* Kubuntu 9.10

Any help would be much appreciated.

Have a good weekend.

Regards

Steve



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Wx::MediaCtrl GStreamer wrapper on Kubuntu

Tim-Philipp Müller-2
On Fri, 2010-10-22 at 22:25 -0200, Steve wrote:

> 1) Wx::MediaCtrl crashes at end of file (Kubuntu 9.10 only as it doesn't
> occur on Windows - maybe GST is not there anyway - and my colleague didn't
> see it on his Debian setup).  I've rebuilt on 2 different Kubuntu machines
> with the same result.  I've not tried Lucid.

You should probably try 10.10 and/or the GStreamer PPA (which has newer
packages).

Does the crash also occur if you play the file/stream from the command
line like this:

  gst-launch-0.10 playbin2 uri=file:///file/to/foo.bar

?

If yes, maybe you could install the various -dbg packages
(libgstreamer0.10-0-dbg, gstreamer0.10-plugins-base-dbg,
gstreamer0.10-plugins-good-dbg etc.) and then get a stack trace with:

 gdb --args /usr/bin/gst-launch-0.10 playbin2
uri=file:///file/to/foo.bar
 (gdb)run
  ... wait for crash ...
 (gdb) thread all apply bt
  ...
 (gdb) kill

Cheers
 -Tim



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
it
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Wx::MediaCtrl GStreamer wrapper on Kubuntu

it
Hi Tim-Philipp, Thanks for this.

>Does the crash also occur if you play the file/stream from the command
>line like this:
>  gst-launch-0.10 playbin2 uri=file:///file/to/foo.bar

What does a crash look like?  When it gets to the end of the video the
window closes.  Is that a crash?

Regards

Steve


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Wx::MediaCtrl GStreamer wrapper on Kubuntu

Stefan Sauer
Am 24.10.2010 02:28, schrieb Steve:
> Hi Tim-Philipp, Thanks for this.
>
>> Does the crash also occur if you play the file/stream from the command
>> line like this:
>>  gst-launch-0.10 playbin2 uri=file:///file/to/foo.bar
>
> What does a crash look like?  When it gets to the end of the video the
> window closes.  Is that a crash?

Only if it prints SEGFAULT or something similar on the terminal. You could also run:

gdb --args gst-launch-0.10 playbin2 uri=file:///file/to/foo.bar

type "run" inside gdb. Once the window closes, gdb would say "Program exited
normally" to indicate everything is fine. If in doubt, post the output your see
on your terminal in the reply here.

Stefan


>
> Regards
>
> Steve
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel