|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|
|||
libdvdcss and freebsd
None of my video players and mencoder will use libdvdcss, or it isn't decoding CSS DVD's
Code:
uname -a 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Code:
$ ogle dvd:// libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Could not open dvd:// with libdvdcss. libdvdread: Can't open dvd:// for reading ERROR[ogle_nav]: faild to open/read the DVD DVDSetDVDRoot:: Root not set Code:
$ xine dvd:// This is xine (X11 gui) - a free video player v0.99.5. (c) 2000-2007 The xine Team. libdvdread: Encrypted DVD support unavailable. libdvdread: Attempting to use device /dev/ad0s2a mounted on / for CSS authentication libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdread: Encrypted DVD support unavailable. Code:
$ mplayer dvd:// MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (Family: 15, Model: 2, Stepping: 7) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 EDIT FOR SPACE.......... Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... a52: CRC check failed! 0.150 ct: 0.010 5/ 4 ??% ??% ??,?% 0 0 a52: error at resampling A: 1.2 V: 1.7 A-V: -0.490 ct: -0.023 26/ 22 0% 0% 14.6% 0 0 demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate. a52: CRC check failed! 0.527 ct: -0.031 29/ 24 0% 0% 13.1% 0 0 a52: error at resampling a52: CRC check failed! 0.294 ct: -0.048 33/ 28 0% 0% 12.9% 0 0 a52: error at resampling A: 2.1 V: 2.2 A-V: -0.106 ct: -0.056 35/ 30 0% 0% 24.2% 0 0 Code:
$ pkg_info | grep libdvd libdvdcss-1.2.10_1 Portable abstraction library for DVD decryption libdvdnav-0.1.10_4 The library for the xine-dvdnav plugin libdvdread-4.1.3_1 MPlayer version of the libdvdread project Code:
$ locate libdvd | less /usr/local/lib/libdvdcss.a /usr/local/lib/libdvdcss.la /usr/local/lib/libdvdcss.so /usr/local/lib/libdvdcss.so.3 /usr/local/lib/libdvdnav.a /usr/local/lib/libdvdnav.la /usr/local/lib/libdvdnav.so /usr/local/lib/libdvdnav.so.4 /usr/local/lib/libdvdread.a /usr/local/lib/libdvdread.so /usr/local/lib/libdvdread.so.4 /usr/local/lib/libdvdread.so.4.1.3 /usr/local/libdata/pkgconfig/libdvdcss.pc What did I fail to do? Or is there a prob with freebsd and libdvdcss? I'll be away for a few days. Thanks for the info in advance. |
|
||||
I don't see any option or dependency in the latest Makefile for dvdcss or dvdnav, I don't have a desktop FreeBSD system anymore so I can't try it right now, but I'm pretty sure it worked at least ~1 year ago, I used to use my FreeBSD machine to play DVD's (Before I bought a standalone DVD player) and I'm pretty sure mplayer used libdvdcss for that.
You could try looking trough the CVS logs and see what has changed: http://www.freebsd.org/cgi/cvsweb.cg...media/mplayer/ Also make sure your ports tree is up to date and you have the latest versions of mplayer and dependencies installed. As a sidenote, you should use libdvdnav-mplayer instead of libdvdnav, this should be the default version now.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Thanks for answering.
Code:
$ pkg_info | grep libdvd libdvdcss-1.2.10_1 Portable abstraction library for DVD decryption libdvdnav-mplayer-4.1.3 MPlayer version of the libdvdnav project libdvdread-4.1.3_1 MPlayer version of the libdvdread project Code:
$ ogle libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_08_0.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_09_0.IFO failed libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0001357d libdvdread: Error cracking CSS key for /VIDEO_TS/VIDEO_TS.VOB (0x0001357d) libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0001426f libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x0001426f) libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00018ece libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_1.VOB (0x00018ece)!! libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003530ea libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x003530ea)!! libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00353fd6 libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x00353fd6)!! libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00354664 libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_04_1.VOB (0x00354664)!! libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00354d4f libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_05_1.VOB (0x00354d4f)!! libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00354dda libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_06_1.VOB (0x00354dda)!! libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003c7ba6 libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_07_1.VOB (0x003c7ba6)!! libdvdread: Elapsed time 0 libdvdread: Found 7 VTS's libdvdread: Elapsed time 0 No accelerated IMDCT transform found Xscreensaver not running. using MMX for yuv2rgb conversion !##display: frame rate: 0.000 fps WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1) WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1) WARNING[ogle_mpeg_ps]: Found a scrambled PES packet! (1) |
|
|||
Fixed it. Upgraded libdvdnav. Thought I had everything up to date. In case anyone is having probs with CSS DVD's.
Now Code:
libdvdcss-1.2.10_1 Portable abstraction library for DVD decryption libdvdnav-0.1.10_5 The library for the xine-dvdnav plugin libdvdread-4.1.3_1 MPlayer version of the libdvdread project Code:
libdvdcss-1.2.10_1 Portable abstraction library for DVD decryption libdvdnav-0.1.10_4 The library for the xine-dvdnav plugin libdvdread-4.1.3_1 MPlayer version of the libdvdread project Man chase your tail for days.......Guess I should have done a portupgrade to everything but I'm always afraid it will break something when everything else works. So instead I did a portupgrade to libdvdcss libdvdread libdvdnav sure enough libdvdnav was behind. |
|
|