Skip site navigation (1)Skip section navigation (2)
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
This is a cryptographically signed message in MIME format.

--------------ms000206020700010900080601
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------ms000206020700010900080601
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC
AzgwggKhoAMCAQICEGZFcrfMdPXPY3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VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44
LjMwAgMKdm8wDQYJKoZIhvcNAQEBBQAEggEAT8dL/cfyhcVrZU3kxRkmJjgrJ/aYYrDXi0CY
JwJLRSkdMh5W2ao1Jt8QkOTWPORaW1IHooNyHPqwV6GsAQeNOYHQMG94NZka6WfbkK1Tx03A
3f/1aPKfoO8fyPNiAVmKW85VcFMunz6ahTbxlkewpbn7vgEs+tMlvAeU2qbaFbtlHF8BZJVT
gV/oGXSejSgo5SAgKBYVcErs3VKUYnaGIdoemh4SFxd6dkWCJsM7MsGi6RJ/iXAwvhWAMWys
87K5HCpSU3Gyt9dmGbDGc6FMBwdOdGmfm29bDxPjOxUrq00jD5WDgA03tQRSy+OUEp3B7DA7
PSfYeGsBuaOCWw9p9wAAAAAAAA==
--------------ms000206020700010900080601--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7A730C.3050107>