Stream for HTTP

About encoding, codec settings, muxers and filter usage
shikimaru
New Cone
New Cone
Posts: 2
Joined: 30 May 2008 14:45

Stream for HTTP

Postby shikimaru » 30 May 2008 14:57

Good Morning,

I'm use the bellow code for streaming my device v4l for transmission in HTTP

Code: Select all

vlc v4l:// :v4l-vdev=/dev/video0 :v4l-norm=1 :v4l-frequency=-1 :v4l-caching=300 :v4l-chroma= :v4l-fps=-1.000000 :v4l-samplerate=44100 :v4l-channel=0 :v4l-tuner=-1 :v4l-audio=-1 :v4l-stereo :v4l-width=0 :v4l-height=0:v4l-brightness=-1 :v4l-colour=-1 :v4l-hue=-1 :v4l-contrast=-1:no-v4l-mjpeg :v4l-decimation=1 :v4l-quality=100 :sout="#transcode{vcodec=FLV1,vb=384,scale=1,acodec=mp3,samplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=192.168.1.8:8080/stream.flv}"
(the IP 192.168.1.8 is IP of Device)

I use the command "http://192.168.1.8:8080/stream.flv" in VLC player and but no play my streaming if I use in browser (my brower have a player) send me message "loading video" but video never is played or make downloading of stream

I would like how play this streaming. I'm a new user of VLC.

shikimaru
New Cone
New Cone
Posts: 2
Joined: 30 May 2008 14:45

Re: Stream for HTTP

Postby shikimaru » 30 May 2008 20:29

I use too the exemple command of manual "How to Stream for HTTP" but no resulted

192.168.1.8 is ip of server (have device /dev/video0)

Code: Select all

vlc v4l:// :v4l-vdev=/dev/video0 :v4l-norm=1 :v4l-frequency=-1 :v4l-caching=300 :v4l-chroma= :v4l-fps=-1.000000 :v4l-samplerate=44100 :v4l-channel=0 :v4l-tuner=-1 :v4l-audio=-1 :v4l-stereo :v4l-width=0 :v4l-height=0:v4l-brightness=-1 :v4l-colour=-1 :v4l-hue=-1 :v4l-contrast=-1:no-v4l-mjpeg :v4l-decimation=1 :v4l-quality=100 :sout="#standard{access=http,mux=ogg,dst=192.168.1.8:9080}"
I use Windows VLC for player in open network and http i use ip 192.168.1.8:9080 and report error
cdda warning: could not open 192.168.1.8:9080
main warning: no access2 module matching "http" could be loaded
main error: no suitable access module for `http://192.168.1.8:9080'

Squirrelywrath
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2007 22:50

Re: Stream for HTTP

Postby Squirrelywrath » 02 Jun 2008 19:43

What version of VLC are you using. It is my understanding that FLV transcoding is only supported in the svn or nightly releases. If you do vlc --version you should get back "VLC media player 0.9.0-svn"

Here is my transcode line #transcode{vcodec=FLV1,deinterlace=linear,scale=.4,vb=400}:std{access=http,mux=ffmpeg{mux=flv},dst=127.0.0.1:8087/stream.flv}.

This works fine with a MPEG-2 stream over multicast as the input. I have no audio on the input so I am not building a stream with audio. I can play this stream fine from the VLC client.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests