UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a USB webcam. I pointed it at something other than my face so as not to break it. I'd like to stream this to the net. Since I'm behind a firewall, and my bandwidth is limited, what I'd like to do is send one stream out to a server I have in the cloud, and make it streamable from there. The desktop where the camera is plugged in is Ubuntu and the remote server runs Debian. I'd also like to cut the frame rate on it to reduce the bandwidth, such as one frame per second. Any suggestions on which packages/programs to do that with?
note: consider ogv for making video available online - html5 compatible browsers (everything except IE) can view this format via the <video> tag with no additional fiddling about. Indeed: local ogv files will play in your browser just by rt-click > open-with browser.
Last edited by Simon Bridge; 01-04-2010 at 04:07 PM.
Looks like VLC might do it. I'll still have to experiment because I need to make the connection to the server via SSH over TCP (the source cannot be reached from the net). So that might be as simple as forwarding a port on SSH (listening only on 127.0.0.1 so the world can't get to it).
I'm also looking for another USB camera, supported by Linux of course, that can do HD at 1920x1080pXX where XX can be a low number (as low as 1 will be fine for me).
Oh I get you - it's basically going to be a time lapse camera and you want hi res stills.
how about:
1. Creative Live! Cam Socialize HD
2. Logitech Portable Webcam C905
3. Logitech QuickCam Pro for Notebooks
4. Logitech Webcam C600 HD
5. Logitech Webcam Pro 9000 for Business
6. Microsoft LifeCam Cinema
I'd look into the logitech offerings at your local stores, make a list of what's available and google them.
If you don't want or need to run the UI VLC has a commandline companion called 'cvlc' so you can run something like 'cvlc v4l:// --v4l-vdev=/dev/video0 --sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2} --duplicate{dst=std{access=http,mux=ts,dst=$LOCAL_IP:$LOCAL_PORT}}'.
Quote:
Originally Posted by Skaperen
I'll still have to experiment because I need to make the connection to the server via SSH over TCP (the source cannot be reached from the net). So that might be as simple as forwarding a port on SSH (listening only on 127.0.0.1 so the world can't get to it).
Once you've got the SSH tunnel thing going ("-L$LOCAL_PORT:$REMOTE_IP:$REMOTE_PORT") try adding your key to SSH's authentication agent and use 'autossh' instead of SSH as it'll reestablish connections automagically when b0rked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.