Date: Tue, 30 Sep 2003 23:24:12 -0700 From: Lars Eggert <larse@ISI.EDU> To: kpeter@melbpc.org.au Cc: Adam K Kirchhoff <adamk@voicenet.com> Subject: Re: IDE DVD playback on 5.1-CURRENT Message-ID: <3F7A730C.3050107@isi.edu> In-Reply-To: <3F4DD1E0.20809@melbpc.org.au> References: <Pine.LNX.4.33L2.0308270719400.10236-100000@thorn.ashke.com> <3F4DD1E0.20809@melbpc.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Peter Kostouros wrote:
>
> I had a similar problem when running mplayer with recent kernels. My
> problem was that although I was executing mplayer with -dvd-device
> /dev/acd0, the program was trying to open /dev/racd0. I modified
> main/libmpdvdkit2/dvd_reader.c and sure enough everything is OK. I hope
> the following helps:
Your change below makes mplayer work here again, too. Did you ever
submit it for inclusion in the ports tree?
(Aside: The strange thing is that a unpatched mplayer worked fine until
this afternoon, too. Between playing one DVD and the next, the break
occured. This is a new drive. I think I remember the drives having some
grace period before they lock in a region code? Could this matter?)
Lars
>
> #if defined(SYS_BSD)
> /* FreeBSD /dev/(r)(a)cd0c (a is for atapi), recomended to _not_ use r
> OpenBSD /dev/rcd0c, it needs to be the raw device
> NetBSD /dev/rcd0[d|c|..] d for x86, c (for non x86), perhaps others
> Darwin /dev/rdisk0, it needs to be the raw device
> BSD/OS /dev/sr0c (if not mounted) or /dev/rsr0c ('c' any letter will
> do) */
> static char *bsd_block2char( const char *path )
> {
> char *new_path;
>
> #if 0
> /* If it doesn't start with "/dev/" or does start with "/dev/r" exit */
> if( strncmp( path, "/dev/", 5 ) || !strncmp( path, "/dev/r", 6 ) )
> return (char *) strdup( path );
>
> /* Replace "/dev/" with "/dev/r" */
> new_path = malloc( strlen(path) + 2 );
> strcpy( new_path, "/dev/r" );
> strcat( new_path, path + strlen( "/dev/" ) );
> #endif
> new_path = strdup(path);
> return new_path;
> }
> #endif
>
>
> Adam K Kirchhoff wrote:
>
>> Again, no luck. From vlc:
>>
>> [00000141] main input: playlist item `dvdold:///dev/acd0@1,1'
>> [00000141] dvd input error: dvdcss cannot open device
>> libdvdread: Using libdvdcss version 1.2.5 for DVD access
>> libdvdread: Could not open /dev/acd0 with libdvdcss.
>> libdvdread: Can't open /dev/acd0 for reading
>> [00000141] dvdread input error: libdvdcss cannot open source
>> [00000141] vcd input error: no movie tracks found
>> [00000141] main input error: no suitable access module for
>> `/://dvdold:///dev/acd0@1,1
>>
>>> From mplayer:
>>
>>
>> Playing DVD title 1
>> libdvdread: Could not open device with libdvdcss.
>> libdvdread: Can't open /dev/acd0 for reading
>> Couldn't open DVD device: /dev/acd0
>>
>>> From ogle:
>>
>>
>> libdvdread: Using libdvdcss version 1.2.5 for DVD access
>> libdvdread: Could not open /dev/acd0c with libdvdcss.
>> libdvdread: Can't open /dev/acd0c for reading
>> ERROR[ogle_nav]: faild to open/read the DVD
>>
>> Yet the same DVD in the firewire drive works just fine.
>>
>> I can certainly try recompiling the applications but, frankly, I'm really
>> doubtful that will solve the problem :-(
>>
>> Adam
>>
>>
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscribe@freebsd.org"
>>
>>
>>
>>
>>
>
>
--
Lars Eggert <larse@isi.edu> USC Information Sciences Institute
[-- Attachment #2 --]
0 *H
010 + 0 *H
080fErtcvE.0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
000830000000Z
040827235959Z010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
*H
0 32c %E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf - ki N0L0)U"0 010UPrivateLabel1-2970U0 0U0
*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B li+@]jy.%݊
Z<D&iHΥbb090
vo0
*H
010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
030801172929Z
040731172929Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu0"0
*H
0
>ן~H(ԢGV׆־25B03ݰת^RIH =%J
kA^R)y H80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU? V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0
*H
5Kkt[@jj:Fg Xj(8yPo!})5M[ ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!090
vo0
*H
010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
030801172929Z
040731172929Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu0"0
*H
0
>ן~H(ԢGV׆־25B03ݰת^RIH =%J
kA^R)y H80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU? V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0
*H
5Kkt[@jj:Fg Xj(8yPo!})5M[ ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!100010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0 + 0 *H
1 *H
0 *H
1
031001062412Z0# *H
1O!g#c"*d6o׳%X0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0*H
1010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0
*H
OKkeM&&8+'b@'KE)2V٪5&<Z[RrW90ox5gېSMhbY[UpS.>6G,%ڦe_dS_t(( (pJRbv!zvE&;2p01l*RSqfsLNtio[;+M#
7R0;='xk[i
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7A730C.3050107>
