[gst-devel] Gstreamer cdda:// on Winodow

Scott Peterson lunchtimemama at gmail.com
Mon Aug 6 20:20:28 CEST 2007


Great, it's all good to go, but now I've hit another snag. Here's the code
Banshee uses to interact with Gstreamer:
http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?revision=2387&view=markup

When I call gst_playback_open with the uri "cdda://1#E:", Gstreamer returns
the error "Could not read from CD" and provides the debug info "
gstcdiocddasrc.c(206): (function) (): /playbin/source:
cdio_read_audio_sector at 48483 failed: No error." However, when I run
gst-launch-0.10.exe playbin uri=cdda://1#E:, it plays form the CD just fine.
Does anything stand out in the Banshee code that might be causing the error
on Windows?

On 8/6/07, Stefan Kost <ensonic at hora-obscura.de> wrote:
>
> hi Scott,
>
> if the plugin has build, just do make install to install it along with the
> other
> plugins. Then check with "gst-inspect cdio" that it is loadable. The
> plugin or
> the basclass provides the uri handler, no need to do something extra.
>
> Next retry this:
> gst-launch-0.10.exe playbin uri=cdda://1
>
> Stefan
>
> Scott Peterson wrote:
> > OK, I've successfully built libgstcdio. Where do I put it? Do I need to
> > re-build anything else so that Gstreamer will handle cdda, or do I just
> > drop the dll in some folder?
> >
> > On 7/19/07, *Stefan Kost* <ensonic at hora-obscura.de
> > <mailto:ensonic at hora-obscura.de>> wrote:
> >
> >     Hi,
> >
> >     Quoting Scott Peterson <lunchtimemama at gmail.com
> >     <mailto:lunchtimemama at gmail.com>>:
> >
> >     > Hey Sébastien, I have another Gstreamer/Windows related question I
> was
> >     > hoping you could help me out with. I want to play an audio CD with
> >     Gstreamer
> >     > but when I try this:
> >     >
> >     > gst-launch-0.10.exe playbin uri=cdda://1
> >     >
> >     > I get this:
> >     >
> >     > ERROR: from element /playbin0: A Audio CD source plugin is
> >     required to play
> >     > this stream, but not installed.
> >     >
> >     > Someone on IRC said that Gstreamer doesn't have cdda support on
> >     Windows and
> >     > I was wondering if there exists some plugin for this. If not,
> >     where in the
> >     > code would I go about implementing this, and how difficult do you
> >     suppose it
> >     > would be?
> >
> >     I am not Sebastien, but lets see :)
> >     $ gst-inspect | grep cdda
> >     cdparanoia:  cdparanoiasrc: CD Audio (cdda) Source, Paranoia IV
> >     cdio:  cdiocddasrc: CD audio source (CDDA)
> >
> >     These are the unix plugins we have.
> >     $ gst-inspect cdio
> >     tells us that this has cdiocddasrc and
> >     $ gst-inspect cdiocddasrc
> >     tells us that it inherits from a GstCddaBaseSrc. So it you know what
> >     library one uses to read cdda stuff on windows, I woul suggest to
> make
> >     a copy of that cdio plugin and replace those unix specify calls with
> >     the windows api.
> >
> >     Stefan
> >
> >     >
> >     > Best,
> >     > Scott Peterson
> >
> >
> >
> >
> -------------------------------------------------------------------------
> >
> >     This SF.net email is sponsored by DB2 Express
> >     Download DB2 Express C - the FREE version of DB2 express and take
> >     control of your XML. No limits. Just data. Click to get it now.
> >     http://sourceforge.net/powerbar/db2/
> >     _______________________________________________
> >     gstreamer-devel mailing list
> >     gstreamer-devel at lists.sourceforge.net
> >     <mailto:gstreamer-devel at lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
> >
> >
> > --
> > Scott.
>
>


-- 
Scott.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070806/4e7b82ac/attachment.htm>


More information about the gstreamer-devel mailing list