[mythtv-users] myth DVD via NFS

Jim Valavanis jimvman at comcast.net
Tue Apr 13 01:21:19 EDT 2004



Michael T. Dean wrote:

> Jim Valavanis wrote:
>
>> Hello again everybody,
>>
>> Is there anyway to use another DVD player on the network to play 
>> DVD's? I tried to nfs mount a DVD from another drive to play that 
>> way, but that won't work?  Any ideas on how to use a network DVD player?
>
>
> I'm pretty sure DVD's--like CD's--are not typically played through a 
> mount.  Most DVD players that I've seen (MPlayer, xine) seem to be 
> reading the devices directly.  To see what I mean, put a DVD in (the 
> machine with a DVD drive) and start playing it (on the same machine).  
> Then, check your mounts (run "mount"), and you'll notice that the DVD 
> drive is not mounted.  As a matter of fact, if you have the UDF 
> filesystem support compiled as a module (as I do), run "lsmod" after 
> playing the DVD and (assuming it wasn't loaded before playing the 
> DVD), you'll notice that the udf module is not loaded.
>
> Network Block Device, maybe?  It's more complicated to set up than 
> NFS, but it should make the disk available as if the drive were on the 
> local machine.
>
> Good luck,
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Actually Kevin had the right idea.  You *can* mount the DVD and point 
mplayer to the mounted directory.  Here's how I did it...

- /etc/exports on DVD system (nfs server)  (you cannot only export /mnt, 
you have to export /mnt/cdrom or /mnt/dvd, or whatever)
/mnt/cdrom    mythtv(ro,insecure,no_root_squash)

Then I just mounted the directory on the myth box...
mount -tnfs nfsserver:/mnt/cdrom /dvd

And in myth setup for DVD, instead of /dev/dvd as the directory, I used 
mplayer dvd:// -dvd-device /dvd -fs -zoom

That seemed to work, *but* it's not very usable.  The picture is great, 
but the sound is about 3-4 seconds fast compared to the video.  This is 
obviously due to DVD playing over NFS.  Still I would think I could 
improve this and get the 2 in sync.  Any ideas on how to do this?

Jim



More information about the mythtv-users mailing list