[solved] getting a basic http stream working
Posted: 25 Feb 2009 06:24
have to admit i'm having some difficulties. end goal is just to be able to stream live video from 2 webcams on 2 newborns.
for now, i'm just trying to get the output of one vlc session to be sent to another. this is a first step toward putting it onto a web page, etc. but i'm very stuck. here are the commands and results. searched on connection refused as well and none of the cases matched this.
certainly open to any ideas just to get a simple config up. (yep, read most of the basic section on the wiki)
server process:
glok@glok:~/practice$ vlc -d v4l2:// /dev/video0 --sout '#standard{access=http,mux=ogg,dst=127.0.0.1:1234}'
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
[00000001] main libvlc debug: translation test: code is "C"
glok@glok:~/practice$ ps -ef | grep vlc
glok 13770 6297 0 18:08 pts/1 00:00:04 gedit vlc_help.txt
glok 18818 1 9 22:17 ? 00:00:00 vlc -d v4l2:// /dev/video0 --sout #standard{access=http,mux=ogg,dst=127.0.0.1:1234}
client process and errors:
glok@glok:~$ vlc http://192.168.1.5:1234
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000358] main access error: connection failed: Connection refused
[00000358] access_http access error: cannot connect to 192.168.1.5:1234
[00000358] main access error: connection failed: Connection refused
[00000358] access_mms access error: cannot connect to 192.168.1.5:1234
[00000356] main input error: open of `http://192.168.1.5:1234' failed: could not create access
ifconfig:
eth1 Link encap:Ethernet HWaddr 00:------------------
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
for now, i'm just trying to get the output of one vlc session to be sent to another. this is a first step toward putting it onto a web page, etc. but i'm very stuck. here are the commands and results. searched on connection refused as well and none of the cases matched this.
certainly open to any ideas just to get a simple config up. (yep, read most of the basic section on the wiki)
server process:
glok@glok:~/practice$ vlc -d v4l2:// /dev/video0 --sout '#standard{access=http,mux=ogg,dst=127.0.0.1:1234}'
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
[00000001] main libvlc debug: translation test: code is "C"
glok@glok:~/practice$ ps -ef | grep vlc
glok 13770 6297 0 18:08 pts/1 00:00:04 gedit vlc_help.txt
glok 18818 1 9 22:17 ? 00:00:00 vlc -d v4l2:// /dev/video0 --sout #standard{access=http,mux=ogg,dst=127.0.0.1:1234}
client process and errors:
glok@glok:~$ vlc http://192.168.1.5:1234
VLC media player 0.9.8a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000358] main access error: connection failed: Connection refused
[00000358] access_http access error: cannot connect to 192.168.1.5:1234
[00000358] main access error: connection failed: Connection refused
[00000358] access_mms access error: cannot connect to 192.168.1.5:1234
[00000356] main input error: open of `http://192.168.1.5:1234' failed: could not create access
ifconfig:
eth1 Link encap:Ethernet HWaddr 00:------------------
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0