Playing a DVD
Adam D
emlists at gmail.com
Thu Jun 22 09:26:46 UTC 2006
Chanchao wrote:
> Stephen Liu wrote:
>
>> I'm running Ubuntu-desktop-6.0.6 64 bits Live CD with only Totem
>> installed. Any chance for me playing CD/DVD movie? I have a CDRom and
>> DVD writer installed on the box. The Live CD is now on CDRom. TIA
>
> No problem. There's some legal & licensing reasons why it doesn't just
> work out of the box, but not problem to enable it.
>
> Same is true for MP3 music, MPEG video in general, WMV video, etc, etc.
>
> See: https://help.ubuntu.com/community/RestrictedFormats
>
I hope it is ok to jump onto the thread?
I have a new AMD64 and have not been able to play commercial DVDs. I see the very beginning video and when the encrypted part starts up.. xine quites on me. I took the advise and when to the link up above and followed all the instructions. However when it got to this section I am dead in the water.
Installing libdvdcss2
Applies to the AMD64 architecture only:
The install-css.sh script will compile the libdvdcss2 library for you instead of downloading a prebuilt binary. Make sure you install the debhelper, build-essential and fakeroot packages first. Then issue the command
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
Since I have AMD64 I ran the above script with all the proper packages installed above I get these errors:
<snip>
make[4]: Entering directory `/tmp/dvd/libdvdcss-1.2.5/src/dvdcss'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/dvd/libdvdcss-1.2.5/src/dvdcss'
make[4]: Entering directory `/tmp/dvd/libdvdcss-1.2.5/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -Wsign-compare -Wall -g -O2 -MT libdvdcss.lo -MD -MP -MF ".deps/libdvdcss.Tpo" \
-c -o libdvdcss.lo `test -f 'libdvdcss.c' || echo './'`libdvdcss.c; \
then mv ".deps/libdvdcss.Tpo" ".deps/libdvdcss.Plo"; \
else rm -f ".deps/libdvdcss.Tpo"; exit 1; \
fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -Wsign-compare -Wall -g -O2 -MT libdvdcss.lo -MD -MP -MF .deps/libdvdcss.Tpo -c libdvdcss.c -fPIC -DPIC -o .libs/libdvdcss.lo
libdvdcss.c: In function 'dvdcss_open':
libdvdcss.c:367: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
libdvdcss.c:381: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
libdvdcss.c:394: error: 'EEXIST' undeclared (first use in this function)
libdvdcss.c:394: error: (Each undeclared identifier is reported only once
libdvdcss.c:394: error: for each function it appears in.)
libdvdcss.c:418: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
libdvdcss.c:419: warning: pointer targets in passing argument 2 of '_dvdcss_debug' differ in signedness
make[4]: *** [libdvdcss.lo] Error 1
make[4]: Leaving directory `/tmp/dvd/libdvdcss-1.2.5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/dvd/libdvdcss-1.2.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/dvd/libdvdcss-1.2.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/dvd/libdvdcss-1.2.5'
make: *** [build-stamp] Error 2
More information about the ubuntu-users
mailing list