Hmmm... I'll give that a shot, thanks :-) Did you ever submit your patch to the port maintainer? Adam On Thu, 28 Aug 2003, Peter Kostouros wrote: > Hi > > 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: > > #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_at_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_at_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_at_freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-current > >To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > > > > > > > > > > > > > -- > > Regards > > Peter > > As always the organisation disavows knowledge of this email > > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Thu Aug 28 2003 - 01:15:41 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC