[MPlayer-dev-eng] [PATCH] GNOME-VFS layer
Dave Lambley
mplayer-dev-eng at dlambley.freeserve.co.uk
Mon Oct 25 13:30:50 CEST 2004
Hi,
This is a patch that lets GNOME users access files through their VFS
layer. You can now do things like,
mplayer gnomevfs://ssh://10.0.2.5/home/davel/Happy\ Rollers\ -\ 95\ Style.ogg
and if you've already logged in,
mplayer gnomevfs://http://my.web.dav.server/music.mp3
and probably
mplayer gnomevfs://nfs://10.0.2.5/home/davel/Happy\ Rollers\ -\ 95\ Style.ogg
mplayer gnomevfs://smb://smbhost/smbshare/music.mp3
but I don't have the modules installed on my machine to do that yet. You
do need to have ssh-keys set up, as GNOME-VFS doesn't seem to have any
support for doing the authentication itself.
Seeking can be nasty. Although GNOME-VFS does provide functions to do
seeking, it doesn't work for the ssh:// protocol. I've written an
unpleasant work around that involves dumping data and re-opening the
file when necessary.
Is there any way to pass on this "you can seek but you're going to
regret it" condition? Also, is there some way I can usefully pass on the
MIME type to the demuxer?
Cheers,
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream_gnomevfs.c
Type: text/x-c
Size: 8163 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041025/6af166e5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-vfs.diff
Type: text/x-patch
Size: 10433 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041025/6af166e5/attachment-0001.bin>
More information about the MPlayer-dev-eng
mailing list