Tom Metro wrote:
> dumbiggie wrote:
>> I also plan to try setting up symbolic links on the server side to
>> see if VLC will do the right thing and stream to MVPMC:
>>
>> /mediamvp/pvr500.avi -> /dev/video1
> 
> Given that /dev/video1 is MPEG2 and the MVP will play that natively, any 
> mechanism you can use to make it directly accessible could prove more 
> efficient than involving VLC.
> 
> You mentioned you didn't want to export /dev via NFS. I wonder if you 
> could setup something like /media on the server, export it via NFS, and 
> inside create a node that is hardlinked to the real device. Or create 
> another device file with the same major/minor numbers in that directory. 
> Call the file something ending in .mpg and it might be playable.
> 

Devices don't export across nfs, they are a way for you to reference a 
"device" in the kernel and don't work across 2 separate machines.

If you exported one machines /dev/video1 onto a filesystem of another 
machine with a /dev/video1 device, it would read the second machines 
/dev/video1 device...not the remotes machines, if the second machine 
did not have a video1 device you would get nothing except maybe an error.

He would have to have VLC on the remote machine read the file and pass 
it through its normal process.


> Another option might be connecting up /dev/video1 to a named pipe in a 
> directory that is NFS exported. I believe you'd need a bit of glue code 
> to stream bits from the device to the pipe, when a reader opens the 
> pipe. This opens the possibility of creating per-channel pipes, and 
> having the glue code issue channel change commands to your tuner 
> reflecting which pipe file was opened.
> 

Named pipes don't export either, or they do but only work if both the 
server and client are on the same machine, names pipes are good way 
for two processes on the same machine to connected, but data won't 
cross via nfs.

> An even more efficient approach might be connecting /dev/video1 to a 
> network port via netcat or inetd, but you'd to add a bit of custom code 
> to mvpmc - a simple client to feed the stream to the MVP's MPEG decoder.
> 

Done correctly that might work, vlc is probably easier.


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to