Difference between revisions of "Video streaming device"

From Finninday
Jump to: navigation, search
(Created page with "===background=== I'm trying to come up with something like a raspberry pi with a webcam attached that I can use to stream video to any old web browser on the local network. T...")
 
(find the right protocol)
Line 17: Line 17:
  
 
  http://localhost:8080/stream.ogg
 
  http://localhost:8080/stream.ogg
 +
 +
That arrangement works when hosted from my fedora 20 laptop, but not so much when I host from the my ubuntu 14.10 desktop.

Revision as of 23:55, 11 December 2014

background

I'm trying to come up with something like a raspberry pi with a webcam attached that I can use to stream video to any old web browser on the local network.

The first use of this may be to put a "window" into a room that has no natural light by setting up a webcam looking out a window and then dedicating a tablet to display the streamed video from the other window.

Extra points for layering an image of curtains on top of the stream to make it look more like a real window.

find the right protocol

My first working attempt at this uses ogg (theora vorbis)

The server has an attached webcam via usb and runs vlc with these settings:

:sout=#transcode{vcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{dst=:8080/stream.ogg} :sout-keep

The client displays this url:

http://localhost:8080/stream.ogg

That arrangement works when hosted from my fedora 20 laptop, but not so much when I host from the my ubuntu 14.10 desktop.