Is there any easy way to locally stream media files over a network (to other Ubuntu machines)? I tried using ssh, but that's too slow for anything, and I can't figure out anything that would allow me to stream any video fast enough.
I use lighttpd to make media accessible via http, which is unencrypted (and therefore relatively fast), allows access control and is quite usable for streaming, although often underestimated for this purpose.
This is my lighttpd setup:
server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_auth", "mod_cgi" ) cgi.assign = ( ".cgi" => "" ) server.port = 8001 server.document-root = "/home/shared/htvideo" server.errorlog = "/dev/stdout" server.dir-listing = "enable" dir-listing.encoding = "utf-8" index-file.names = ( "index.cgi", "index.html") include_shell "/usr/share/lighttpd/create-mime.assign.pl"
This brings up small http server on port 8001 which delivers content from
I use this to watch videos on my android tablet without downloading them.
EDIT: Whoops, you still need to start the service ;-)
Put this stuff into a config file (like .video_service) and run
After starting up the service tell your friends to point a browser to
VLC. See this tutorial (it's for Windows, but I bet on Ubuntu it looks similar). Alternatively just google "VLC streaming".
Go with Paul's solution, but I used to use shared folders and samba.
Right-click, sharing options, share this folder, allow guest access. It's not strictly streaming of course.
Subsonic is a good solution if you don't mind paying a mandatory "donation". It is a media webserver which does on-the-fly transcoding for videos as well, which I used to use when watching over relatively low bandwidth (mobile, e.g. 3G) connections.