Playbin2 and Audio-CDs

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

Playbin2 and Audio-CDs

Jonathan Noble
Hi,
I'm trying to use playbin2 with audiocds. I can get a track to
play,pause and seek fine but the moment I try and change the uri
playbin2 just plays up a lot. These are the errors I get:

(Gereqi.py:5019): GStreamer-WARNING **: Name queue is not unique in bin
uridecodebin0, not adding

(Gereqi.py:5019): GStreamer-CRITICAL **: gst_caps_get_structure:
assertion `index < caps->structs->len' failed

(Gereqi.py:5019): GStreamer-CRITICAL **: gst_structure_get_name:
assertion `structure != NULL' failed


However, I can use playbin2 again without restarting my app. I just
can't use the audio-cd until I restart my app.

Is it possible to use playbin2 with audio-cd's yet?

Regard

Reg.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 and Audio-CDs

Stefan Sauer
Hi,

Am 21.12.2009 22:55, schrieb reg:

> Hi,
> I'm trying to use playbin2 with audiocds. I can get a track to
> play,pause and seek fine but the moment I try and change the uri
> playbin2 just plays up a lot. These are the errors I get:
>
> (Gereqi.py:5019): GStreamer-WARNING **: Name queue is not unique in bin
> uridecodebin0, not adding
>
> (Gereqi.py:5019): GStreamer-CRITICAL **: gst_caps_get_structure:
> assertion `index < caps->structs->len' failed
>
> (Gereqi.py:5019): GStreamer-CRITICAL **: gst_structure_get_name:
> assertion `structure != NULL' failed
>
>
> However, I can use playbin2 again without restarting my app. I just
> can't use the audio-cd until I restart my app.
>
> Is it possible to use playbin2 with audio-cd's yet?

It should all work. Try gstreamer from git and if it also fails run
G_DEBUG=fatal_warnings" gdb ./your-app

when it breaks. print the backtrace (bt command) and file a bug attaching that
backtrace.

Stefan

>
> Regard
>
> Reg.
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 and Audio-CDs

Tim-Philipp Müller-2
In reply to this post by Jonathan Noble
On Mon, 2009-12-21 at 20:55 +0000, reg wrote:

> I'm trying to use playbin2 with audiocds. I can get a track to
> play,pause and seek fine but the moment I try and change the uri
> playbin2 just plays up a lot. These are the errors I get:
>
> (Gereqi.py:5019): GStreamer-WARNING **: Name queue is not unique in bin
> uridecodebin0, not adding
>
> (Gereqi.py:5019): GStreamer-CRITICAL **: gst_caps_get_structure:
> assertion `index < caps->structs->len' failed
>
> (Gereqi.py:5019): GStreamer-CRITICAL **: gst_structure_get_name:
> assertion `structure != NULL' failed
>
>
> However, I can use playbin2 again without restarting my app. I just
> can't use the audio-cd until I restart my app.
>
> Is it possible to use playbin2 with audio-cd's yet?

This was a bug, it's fixed in git now and will be in the upcoming -base
0.10.26 release.

See https://bugzilla.gnome.org/show_bug.cgi?id=605219

Cheers
 -Tim



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 and Audio-CDs

Jonathan Noble
On Monday 28 December 2009 16:01:06 Tim-Philipp Müller wrote:

> On Mon, 2009-12-21 at 20:55 +0000, reg wrote:
> > I'm trying to use playbin2 with audiocds. I can get a track to
> > play,pause and seek fine but the moment I try and change the uri
> > playbin2 just plays up a lot. These are the errors I get:
> >
> > (Gereqi.py:5019): GStreamer-WARNING **: Name queue is not unique in bin
> > uridecodebin0, not adding
> >
> > (Gereqi.py:5019): GStreamer-CRITICAL **: gst_caps_get_structure:
> > assertion `index < caps->structs->len' failed
> >
> > (Gereqi.py:5019): GStreamer-CRITICAL **: gst_structure_get_name:
> > assertion `structure != NULL' failed
> >
> >
> > However, I can use playbin2 again without restarting my app. I just
> > can't use the audio-cd until I restart my app.
> >
> > Is it possible to use playbin2 with audio-cd's yet?
>
> This was a bug, it's fixed in git now and will be in the upcoming -base
> 0.10.26 release.
>
> See https://bugzilla.gnome.org/show_bug.cgi?id=605219
>
> Cheers
>  -Tim
>
>
>
> ---------------------------------------------------------------------------
> --- This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
>  easy Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
Thanks. I shall give the git source a try.

Reg

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 and Audio-CDs

Jonathan Noble
In reply to this post by Tim-Philipp Müller-2
On Monday 28 December 2009 16:01:06 Tim-Philipp Müller wrote:

> On Mon, 2009-12-21 at 20:55 +0000, reg wrote:
> > I'm trying to use playbin2 with audiocds. I can get a track to
> > play,pause and seek fine but the moment I try and change the uri
> > playbin2 just plays up a lot. These are the errors I get:
> >
> > (Gereqi.py:5019): GStreamer-WARNING **: Name queue is not unique in bin
> > uridecodebin0, not adding
> >
> > (Gereqi.py:5019): GStreamer-CRITICAL **: gst_caps_get_structure:
> > assertion `index < caps->structs->len' failed
> >
> > (Gereqi.py:5019): GStreamer-CRITICAL **: gst_structure_get_name:
> > assertion `structure != NULL' failed
> >
> >
> > However, I can use playbin2 again without restarting my app. I just
> > can't use the audio-cd until I restart my app.
> >
> > Is it possible to use playbin2 with audio-cd's yet?
>
> This was a bug, it's fixed in git now and will be in the upcoming -base
> 0.10.26 release.
>
> See https://bugzilla.gnome.org/show_bug.cgi?id=605219
>
> Cheers
>  -Tim
>
>
>
> ---------------------------------------------------------------------------
> --- This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
>  easy Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
I finally got around to trying out git. Uninstalled everything gst related on
my system and built gstreamer,gst-plugins-base and gst-python (in that order)
only adding --prefix=/usr/ to ./configure.

However, I get an error when I try to play a cd track:

'Error: Your GStreamer installation is missing a plug-in.',
'gstplaysink.c(1483): gen_audio_chain ():
/GstPlayBin2:player/GstPlaySink:playsink0'

I see this is from gst-plugins-base but I cannot see an option to
enable/disable this.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 and Audio-CDs

Jonathan Noble
In reply to this post by Tim-Philipp Müller-2
On Monday 28 December 2009 16:01:06 Tim-Philipp Müller wrote:

> On Mon, 2009-12-21 at 20:55 +0000, reg wrote:
> > I'm trying to use playbin2 with audiocds. I can get a track to
> > play,pause and seek fine but the moment I try and change the uri
> > playbin2 just plays up a lot. These are the errors I get:
> >
> > (Gereqi.py:5019): GStreamer-WARNING **: Name queue is not unique in bin
> > uridecodebin0, not adding
> >
> > (Gereqi.py:5019): GStreamer-CRITICAL **: gst_caps_get_structure:
> > assertion `index < caps->structs->len' failed
> >
> > (Gereqi.py:5019): GStreamer-CRITICAL **: gst_structure_get_name:
> > assertion `structure != NULL' failed
> >
> >
> > However, I can use playbin2 again without restarting my app. I just
> > can't use the audio-cd until I restart my app.
> >
> > Is it possible to use playbin2 with audio-cd's yet?
>
> This was a bug, it's fixed in git now and will be in the upcoming -base
> 0.10.26 release.
>
> See https://bugzilla.gnome.org/show_bug.cgi?id=605219
>
> Cheers
>  -Tim
>
>
>
> ---------------------------------------------------------------------------
> --- This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
>  easy Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
I figured out the playsink error I was getting. At ./configure '--with-
default-audiosink' seems to specify 'autoaudiosink' by default but gstreamer
appears to not be able to deal with that. Instead I chose alsasink and now it
works and so does the CD playback.

Reg

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 and Audio-CDs

Tim-Philipp Müller-2
In reply to this post by Jonathan Noble
On Wed, 2009-12-30 at 18:06 +0000, regomodo wrote:

> I finally got around to trying out git. Uninstalled everything gst related on
> my system and built gstreamer,gst-plugins-base and gst-python (in that order)
> only adding --prefix=/usr/ to ./configure.

For what it's worth, it's also possible to use/test/develop against
GStreamer git without messing with your system GStreamer installation,
see:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/faq/html/chapter-developing.html#developing-uninstalled-gstreamer

Thanks for testing the fix.

Cheers
 -Tim



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel