[MPlayer-cygwin] DVD Playback not working

Frank Aurich fa859178 at inf.tu-dresden.de
Mon Nov 27 01:51:46 CET 2006


I've been planning to test dvdnav today but after successful compiling I had to 
discover that my builds of Mplayer don't provide DVD playback at all.
I tested with the official 1.0rc1 binary from the main website, it works as 
expected.

Here's how I build Mplayer:

#! /bin/sh
configure                     \
  	 --enable-menu            \
	 --disable-tv             \
	 --disable-dvb            \
	 --disable-gif            \
	 --disable-tga            \
	 --disable-jpeg           \
	 --disable-xvid           \
	 --disable-vidix-internal \
	 --with-extraincdir=/home/KyleK/live

I attached the result of Mplayer configure to this mail.
When trying to play a DVD, Mplayer says this:

================================================================
msys\home\KyleK\main>mplayer dvd://1
MPlayer dev-SVN-r21298-3.4.5 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm)  (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing dvd://1.
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open F: for reading
Couldn't open DVD device: F:
File not found: '1'
Failed to open dvd://1.


Exiting... (End of file)
================================================================

Now I figured I'd provide libdvdread externally, with libdvdcss linked to.
libdvdcss 1.2.9 (current SVN) compiles fine using:

./configure --prefix=/mingw --enable-static --disable-shared

for libdvdread 0.9.7 I use this configure:
./configure --prefix=/mingw --enable-static --disable-shared -with-libdvdcss

This fails though:

================================================================
KyleK at KYLE ~/libdvdread-0.9.7
$ ./configure --prefix=/mingw --disable-shared --with-libdvdcss --enable-static
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /mingw/bin/ld
checking if the linker (/mingw/bin/ld) is GNU ld... yes
checking for /mingw/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /mingw/bin/nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ^x86 archive 
import|^x86 DLL
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 8192
checking command to parse /mingw/bin/nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/mingw/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Win32 ld.exe
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /mingw/bin/ld
checking if the linker (/mingw/bin/ld) is GNU ld... yes
checking whether the g++ linker (/mingw/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT
checking if g++ PIC flag -DDLL_EXPORT works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/mingw/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Win32 ld.exe
appending configuration tag "F77" to libtool
checking dvdcss/dvdcss.h usability... yes
checking dvdcss/dvdcss.h presence... yes
checking for dvdcss/dvdcss.h... yes
checking for dvdcss_interface_2 in -ldvdcss... no
configure: error: You need libdvdcss.so.2 or later
================================================================


What I don't understand is, why: libdvdcss.a resides together with libdvdcss.la 
and libdvdcss-2.dll in /mingw/bin, /mingw/include/dvdcss/dvdcss.h exists as well.


Any clue what I'm doing wrong here?
Why does Mplayer not compile libdvdcss internally?



Frank
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer_configure.log
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20061127/cf6bb924/attachment.txt>


More information about the MPlayer-cygwin mailing list