HTTP server help

Old forum that is now archived. Please use one of the other forums.
kbruck
New Cone
New Cone
Posts: 8
Joined: 03 Dec 2003 23:17

HTTP server help

Postby kbruck » 08 Dec 2003 17:23

I am trying to stream mpeg data using either VLC or VLS on one computer, while capturing the data using Windows Media Player on another.

Could someone give me some info on how to get started? I was reading something about using the HTTP command line, but I Havent been successful.

thanks!

BigBen
Cone that earned his stripes
Cone that earned his stripes
Posts: 115
Joined: 25 Nov 2003 10:48

Postby BigBen » 09 Dec 2003 09:39

try

--sout http://

the stream will then be available on your server, on port 8080
--
BigBen

VideoLAN Team

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 09 Dec 2003 12:16

Windows media player doesn't recognize many audio/video formats so you'll have to use vlc like this to be able to play back the stream on WMP:

./vlc sourcevideo.mpg ":sout=#transcode{vcodec=DIV3,acodec=mp3}:std{access=mmsh,mux=asfh,url=127.0.0.1:8080}" -vv

Then just connect to http://127.0.0.1:8080 with WMP

Oleg

Postby Oleg » 06 Jan 2004 20:19

http:// not work
must be mms://127.0.0.1:8080

And VLC not transcode avi files.

NeoKoD
Blank Cone
Blank Cone
Posts: 16
Joined: 05 Jan 2004 15:03

Stream output for play it w/ RealPlayer or Quicktime plugin

Postby NeoKoD » 07 Jan 2004 20:58

This technique is very good ( it's work's fine for me )
but WMP doesn't exist under mozilla plugin..

How set the MRL to stream output to destination of RealPlayer or Quicktime plugin ?

Is theses players can support the streaming in continu ( like a webcam stream ) ?

Thanks for your help !

NeoKoD
Blank Cone
Blank Cone
Posts: 16
Joined: 05 Jan 2004 15:03

Postby NeoKoD » 08 Jan 2004 09:55

Hi,

On IRC, Gibalou explain me VLC can't streaming out for quictime or realplayer, so i want to use WMP format.

On local, it's work great but on Internet, my friends see just one image ( after 4/5 minutes of waiting ) and the video don't play correctly ( plantage / infinite waiting etc ).

Why ? is a bandwidth problem ? the input source is my webcam in 160x100px
Is a solution for optimize this ?

Thanks

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 08 Jan 2004 10:17

What are your transcoding settings (bitrate / codecs / scale ) ?

What is your upload bandwidth ?
Zorglub
Clément Stenac

NeoKoD
Blank Cone
Blank Cone
Posts: 16
Joined: 05 Jan 2004 15:03

Postby NeoKoD » 08 Jan 2004 10:23

Hi Zorglub,

Me and my friends have a standard ADSL connection with 512Kbits on downloads and 128Kbits on uploads.

My input source is my webcam on 160x100px
The streaming output is the MRL give by Gibalou :
":sout=#transcode{vcodec=DIV3,acodec=mp3}:std{access=mmsh,mux=asfh,url=:8080}"
( i have just deleted the '127.0.0.1' for give access to all )

I have test the eyeballchat program ( a netmeeting like program ) with them and the video is very good. But when i use VLC is very too slow :'(

NeoKoD
Blank Cone
Blank Cone
Posts: 16
Joined: 05 Jan 2004 15:03

Postby NeoKoD » 09 Jan 2004 11:25

I have test in local on another machine with the WMP method, but an error message appear who explain the stream is broken or damaged and cannot be read..

On this machine the version is WMP8, is this technique need WMP version 9 only ?

Thanks

Guest

Postby Guest » 12 Mar 2004 14:52

Yes, I've updated from WM8 to WM9 and now it works

Gorky

Http Server Help

Postby Gorky » 15 Mar 2004 01:28

Ok, so what am I doing wrong????
Or do I need to download from Head to get this to work?

Regards,
Steve

steve@gorky:~> vlc tmp/VR_MOVIE.m2p ":sout=#transcode{vcode=DIV3,acodec=mp3}:std{accessh=mmsh,much=asfh,url=:8080}" -vv
VLC media player 0.7.1 Bond
[00000000] main root debug: VLC media player - version 0.7.1 Bond - (c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --with-ffmpeg-tree=/usr/local/src/ffmpeg
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/steve/.vlc/vlcrc
[00000001] main vlc warning: config file /home/steve/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 144 modules
[00000001] main vlc debug: opening config file /home/steve/.vlc/vlcrc
[00000001] main vlc warning: config file /home/steve/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000173] main playlist debug: creating group Normal with id 1 at position 0
[00000173] main playlist debug: waiting for thread completion
[00000173] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:109)
[00000174] main interface debug: looking for interface module
[00000174] main interface debug: probing 1 candidate
[00000084] main module debug: using interface module "hotkeys"
[00000174] main interface debug: interface initialized
[00000174] main interface debug: thread 32771 (interface) created at priority 0 (src/interface/interface.c:161)
[00000173] main playlist debug: adding playlist item `tmp/VR_MOVIE.m2p' ( tmp/VR_MOVIE.m2p )
[00000173] main playlist debug: creating new input thread
[00000175] main input debug: option: :sout=#transcode{vcode=DIV3,acodec=mp3}:std{accessh=mmsh,much=asfh,url=:8080}
[00000175] main input debug: set input option: sout to #transcode{vcode=DIV3,acodec=mp3}:std{accessh=mmsh,much=asfh,url=:8080}
[00000175] main input: playlist item `tmp/VR_MOVIE.m2p'
[00000175] main input debug: waiting for thread completion
[00000175] main input debug: thread 49156 (input) created at priority 0 (src/input/input.c:254)
[00000175] main input debug: cmd=state old=10 new=1
[00000175] main input debug: playing at normal rate
[00000176] main interface debug: looking for interface module
[00000176] main interface debug: probing 1 candidate
Remote control interface initialized, `h' for help
[00000082] main module debug: using interface module "rc"
[00000176] main interface debug: interface initialized
[00000176] main interface debug: thread 65541 (manager) created at priority 0 (src/interface/interface.c:145)
[00000175] main input debug: access `', demux `', name `tmp/VR_MOVIE.m2p'
[00000177] main stream output debug: stream=`transcode'
[00000178] main private debug: looking for sout stream module
[00000178] main private debug: probing 1 candidate
[00000177] main stream output debug: stream=`std'
[00000180] main private debug: looking for sout stream module
[00000180] main private debug: probing 1 candidate
[00000180] stream_out_standard private debug: creating `(null)/(null)://:8080'
[00000180] stream_out_standard private error: no access _and_ no muxer (fatal error)
[00000180] main private warning: no sout stream module matching "std,none" could be loaded
[00000180] main private debug: destroying chain... (name=std)
[00000180] main private debug: destroying chain done
[00000178] stream_out_transcode private debug: codec audio=mp3 0Hz 0 channels 0Kb/s
[00000178] stream_out_transcode private error: cannot create chain
[00000178] main private warning: no sout stream module matching "transcode,none" could be loaded
[00000178] main private debug: destroying chain... (name=transcode)
[00000178] main private debug: destroying chain done
[00000177] main stream output error: stream chained failed for `transcode{vcode=DIV3,acodec=mp3}:std{accessh=mmsh,much=asfh,url=:8080}'
[00000175] main input error: cannot start stream output instance, aborting
[00000175] main input debug: pes: 0 packets
[00000175] main input debug: data: 0 packets
[00000175] main input debug: buffers: 0 packets
[00000175] main input debug: thread 49156 joined (src/input/input.c:289)
quit
quit: returned 0 (no error)
[00000001] main vlc debug: removing all interfaces
[00000176] main interface debug: thread 65541 joined (src/interface/interface.c:187)
[00000082] main module debug: unlocking module "rc"
[00000174] main interface debug: thread 32771 joined (src/interface/interface.c:187)
[00000084] main module debug: unlocking module "hotkeys"
[00000001] main vlc debug: removing all playlists
[00000173] main playlist debug: thread 16386 joined (src/playlist/playlist.c:132)
[00000173] main playlist debug: deleting playlist item `tmp/VR_MOVIE.m2p'
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000010] main module debug: unlocking module "memcpymmxext"
steve@gorky:~>

Guest

Postby Guest » 18 May 2004 12:29

i have seen u r discussion in video lan .now my problem is how to tranmit live show through http.i am using vlc in windows.plz send me reply.i am in very tight position.send reply how to upload live streem through http

TR

Streaming to WMP

Postby TR » 28 Aug 2005 22:42

I've had good success streaming MPEG-2 files over HTTP using ASF muxing and WMP encoding.


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 0 guests