[MPlayer-users] no cdda cddb
John Brown
johnbrown105 at hotmail.com
Fri Nov 10 18:41:03 CET 2006
Raena Lea-Shannon wrote:
>
>On Friday 10 November 2006 12:19, John Brown wrote:
> > >
> > >On Thursday 09 November 2006 02:24, John Brown wrote:
> > > > Raena Lea-Shannon wrote:
> > > > <snip>
> > > >
> > > > > > >>>>>Playing cdda://.
> > > > > > >>>>>get_path('sub/') -> '/home/raena/.mplayer/sub/'
> > > > > > >>>>>[file] No filename
> > > > > > >>>>>Failed to open cdda://.
> > > > > > >>>>
> > > > > > >>>>You need to install cdparanoia or libcdio and rebuild
>MPlayer.
> > > > > > >>>
> > > > > > >>>I installed cdparanoia and checked that libcdio was there and
> > > > > > >>>have tried compiling with --with-cdparanoialibdir=/usr/lib/
>and
> > > > > > >>> still mplayer will not see the cd.
> > > > > > >>
> > > > > > >>Do you have the according -dev packages too? They are needed
>for
> > > > > > >>compilation.
> > > > > > >
> > > > > > >I did not, so I installed them and the confog.log now shows
> > > > > > >cdparanoia OK butt will not make. Here is the make log:
> > > > > > >.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -laudio -lXt
> > >
> > >-lXext
> > >
> > > > >-lX11
> > > > >
> > > > > > >-lpthread
> > > > > > >stream/stream.a(stream_cdda.o): In function
> > >
> > >`open_cdda':stream_cdda.c:
> > > > > > >(.text+0x84): undefined reference to `cdio_cddap_identify'
> > > > > > >
> > > > > > >:stream_cdda.c:(.text+0x9c): undefined reference to
> > > > > > >`cdio_cddap_verbose_set'
> > > > > > >
> > > > > > >:stream_cdda.c:(.text+0xb0): undefined reference to
> > > > > > >`cdio_cddap_open'
> > >
> > > > > > >:stream_cdda.c:(.text+0xcc): undefined reference to
> > > > > > >: `cdio_cddap_tracks'
> > > >
> > > > <etc.>
> > > >
> > > > > > >:stream_cdda.c:(.text+0x882): undefined reference to
> > > > > > >: `cdio_cddap_close'
> > > > > >
> > > > > > The cdparanoia libraries are not being found. You can try adding
> > > > > > them manually to EXTRA_LIB in MPlayer's config.mak and then run
> > > > > > "make" again.
> > > > > >
> > > > > > I noticed from an earlier post that you are adding
> > > > > > --with-cdparanoialibdir=/usr/lib/. Is there a particular reason
>for
> > > > > >that?
> > > > >
> > > > > > It would probably be better if you let MPlayer autodetect it,
>and
> > > > > > if it iis not detected, then you make the necessary changes so
>that
> > > > > > it is found.
> > >
> > > > > > Or you can try what works for me. I don't use cdparanoia. I am
>on
> > > > > > Windows, where it cannot be compiled (at least with
>Mingw32/MSYS).
> > > > > > However, I have
> > > > > > enabled CD playing by installing libcdio. For now, since
>*libcdio*
> > > > > > was found automatically, "make uninstall" cdparanoia, "make
>distclean"
> > > > > > MPlayer, and configure MPlayer without any extra options
>relating
> > > > > > to cdparanoia or libcdio. It should find and use libcdio.
> > > > >
> > > > >I will persist with cdparanoia and working out how to compile
>mplayer
> > > > >with it. I like k3b too much to drop cdparanoiat :-)
> > > >
> > > > Or you can leave cdparanoia where it is, and configure MPlayer with
> > > > --disable-cdparanoia.
> > > >
> > > > But you have not said why you are specifiying
>--with-cdparanioalibdir.
> > > > You should not have to. Is it detected if you configure wthout
>options?
> > > > If not, why not? Configure does not always record in the log the
>command that
> > > > it used to test for the existence of a library, or the error
>message,
> > > > so you may have to find the command in the configure script and run
>it
> > > > yourself.
> > >
> > >I tried compiling with --disable-cdparanoia and it still does not see
>the
> > >cd.
> > >I tired with -cdrom-device /dev/cdrom as well
> >
> > I am going to concentrate on libcdio, since it is what I know.
> >
> > I assume that --disable-paranoia was the only configure option.
>
>Configure was this:
>./configure --enable-largefiles --enable-menu
>--with-codecsdir=/home/raena/DownloadApps/essential-20061022
>
> > When
> > configure prints the list of enabled or disabled drivers and codecs,
>does
> > it say that cdda is enabled? If it does, then it must be a runtime
>problem.
>
>It says:
>Checking for cdparanoia ... yes
>Checking for libcdio ... auto (using cdparanoia)
>
At the end, configure prints a list of the enabled or disabled drivers and
codecs.
My list looks like this:
Enabled optional drivers:
Input: ftp network tv cdda dvdread dvdnav
Codecs: qtx xvid libavcodec ...
Audio output: dsound win32 mpegpes(file) ...
Video output: winvidix cvidix md5sum directx ...
Audio filters:
Disabled optional drivers:
Input: vstream pvr radio tv-v4l2 tv-v4l1 live555 ...
Codecs: x264 libdv ...
Audio output: sun alsa ...
Video output: xvidix bl zr ...
Audio filters: ladspa
Is cdda in the enabled or disabled list?
> >
> > I also assume that your -cdrom-device exists, and you have the necessary
> > permissions.
> >
>Yes
>
> > Did you compile libcdio yourself?
>
>No.
>
> > Did you specify an appropriate --prefix?
> > For a simple life, I always install libraries in my compiler directory
> > (c:/mingw) so that headers and libraries are naturally in the compiler's
> > search path.
> >
> > Are you using shared libcdio libraries? If so, does MPlayer know where
>to
> > find them at runtime? On Windows, shared libraries have to be in your
>PATH
> > or in the same directory as the executable. Usually, "when I make
>instal"l,
> > I see output like:
> >
> > /bin/sh ./libtool --mode=install /bin/install -c 'libpng14.la'
> > 'c:/mingw/lib/libpng14.la'
> > /bin/install -c .libs/libpng14.lai c:/mingw/lib/libpng14.la
> > /bin/install -c .libs/libpng14.a c:/mingw/lib/libpng14.a
> > chmod 644 c:/mingw/lib/libpng14.a
> > ranlib c:/mingw/lib/libpng14.a
> > ----------------------------------------------------------------------
> > Libraries have been installed in:
> > c:/mingw/lib
> >
> > If you ever happen to want to link against installed libraries
> > in a given directory, LIBDIR, you must either use libtool, and
> > specify the full pathname of the library, or use the `-LLIBDIR'
> > flag during linking and do at least one of the following:
> > - add LIBDIR to the `PATH' environment variable
> > during execution
> > - add LIBDIR to the `LD_RUN_PATH' environment variable
> > during linking
> > - use the `-LLIBDIR' linker flag
> >
> > See any operating system documentation about shared libraries for
> > more information, such as the ld(1) and ld.so(8) manual pages.
> > ----------------------------------------------------------------------
> >
> > Does any of that apply to you?
>
>I don't think so. Mplayer worked fine in the old synaptic download. I am
>not
>really up to all that compiling info.
>I have the 0.76-1ubuntu1 libcdio6 and libcdio-cdda0 libcdio-cdda-dev
>libcdio -dev libcdio-paranoia0 and libcdio-paranoia-dev installed
>
>Maybe I should install latest libcdio from the source site?
> >
> > My exact steps were:
> >
> > 1) Download libcdio-0.77 source from GNU mirror.
> > 2) configure --enable-static --disable-shared --prefix= /mingw /* my
> > compiler installation dir */
> > 3) make /* the udf portion did not build on Windows, but that did not
>seem
> > to matter */
> > 4) make install
> > 5) Go to MPlayer source and ./configure --enable-static and whatever
>other
> > options you want. No need to mention libcdio.
> >
> > >I was specifying --with-cdparanioalibdir because originally when I
> > > compiled it
> > >did not pick up the cdda libs. Since I was advised to install the dev
> > > files of cdparanoia that was fixed but then on compiling there was a
>make
> > > error.
> > >
> > >I am stumped.
> > >
> > >I had an old synaptic package manager version of mplayer running fine.
> >
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
More information about the MPlayer-users
mailing list