vlc as a relay

About encoding, codec settings, muxers and filter usage
jamart3d
Blank Cone
Blank Cone
Posts: 20
Joined: 11 Sep 2006 20:42

vlc as a relay

Postby jamart3d » 12 Oct 2007 21:40

I have a http stream from home

:sout=#transcode{vcodec=WMV2,vb=768,scale=0.5,acodec=mp3,ab=64}:std{access=http,mux=asf,dst=:1080}

I can play it fine at my office thru firewall (xine http://home.machine.org:1080)

at my office I'm trying to compile and use vlc to relay the stream so several people can view at the same time..

I would prefer to have vlc at the office redirect / repeat / relay the stream to another port on my office machine
so that no recoding/encoding would need to be done..

is that possible?

I've compiled vlc at office with
./configure --prefix /usr/tmp/ --with-libmpeg2-tree=./mpeg2dec-0.4.1 --with-ffmpeg-tree=./ffmpeg --enable-esd --disable-hal --disable-skins2 --disable-libcddb --without-x --with-mad-tree=./libmad-0.15.1b --disable-screen --disable-glx --disable-opengl -disable-x11

start vlc with
./vlc -I http --http-host :8081

I goto the http interface
put this in as the input
http://home.machine.org:1080
:sout=#std{access=http,dst=:8082}

no luck,

any tips? suggestions?
thanks

jamart3d
Blank Cone
Blank Cone
Posts: 20
Joined: 11 Sep 2006 20:42

Re: vlc as a relay

Postby jamart3d » 13 Oct 2007 00:16

i can get this to be happy to the extent that the http interface stream and media info section correctly identifies the input stream

./vlc -I http --http-host :8081 -v http:// home.machine.org:1080 --sout '#standard{access=http,mux=raw,dst=:8082}'

but from the cmd line I get

VLC media player 0.8.6c Janus
[00000001] main private warning: config file /usr/home/jamart3d/.vlc/vlcrc does not exist yet
[00000468] main interface: creating httpd
[00000480] mux_dummy private: Open
[00000482] main demuxer warning: no access_demux module matched "http"
[00000483] access_http access warning: unimplemented query in control
[00000483] access_http access warning: unimplemented query in control


now I think the problem is 'main demuxer warning: no access_demux module matched "http"'

what to try next?

jamart3d
Blank Cone
Blank Cone
Posts: 20
Joined: 11 Sep 2006 20:42

Re: vlc as a relay

Postby jamart3d » 15 Oct 2007 21:15

this works , vlc relay http stream ( i think the last problem I had to overcome was using the correct port to serve the stream)
linux cmd prompt:
./vlc -I http --http-host :8081 -v http://home.machine.org:1080 --sout '#std{access=http,mux=asf,dst=:8080}'

now I can easily stream to many peeps within the office,

the stream from my home (windoz)
file.mpg :sout=#transcode{vcodec=WMV2,vb=768,scale=0.5,acodec=mp3,ab=64}:std{access=http,mux=asf,dst=:1080}


thanks vlc.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests