Code: Select all
#vlc /beyond.mpg --sout #standard{access=mmsh,mux=asf,url=localserver:3456/beyond.asf}'
and access to this stream like this
Code: Select all
http://localserver:3456/beyond.asf
or
thank you very much ,i got it
but how can i do when streaming the acquisition card instead of local file,i try it like this ,but it doesn't work
#vlc -vvv --color v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0
--sout "#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=192.168.151.33:1234}' --ttl 12
i relay the streaming:
#vlc -v udp:@1234 --sout '#transcode{vcodec=WMV1,acodec=mp3,vb=1024,ab=128}:std{access=mmsh,mux=asf,url=localhost:3456/udp:@1234}'
VLC media player 0.8.4a Janus
Remote control interface initialized, `h' for help
[00000235] stream_out_standard private warning: fixing to mmsh/asfh
[00000237] main private: creating httpd
[00000243] main demuxer warning: no access_demux module matched "udp"
status change: ( New input: udp:@1234 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
access the stream
# vlc -v
http://192.168.151.33:3456/udp:@1234
VLC media player 0.8.4a Janus
Remote control interface initialized, `h' for help
[00000231] main demuxer warning: no access_demux module matched "http"
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_http access error: cannot connect to 192.168.151.33:3456
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_http access error: cannot connect to 192.168.151.33:3456
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: cannot connect to 192.168.151.33:3456
[00000232] access_file access warning: 192.168.151.33:3456/udp:: No such file or directory
status change: ( New input:
http://192.168.151.33:3456/udp:@1234 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000232] access_gnomevfs access error: cannot get file info for uri
http://192.168.151.33:3456/udp%3A (Service not available)
[00000232] cdda access warning: could not open 192.168.151.33:3456/udp:
[00000232] main access warning: no access2 module matching "http" could be loaded
[00000230] main input error: no suitable access module for `
http://192.168.151.33:3456/udp:@1234'
status change: ( stop state: 0 )
[00000222] main playlist: nothing to play
or
# vlc -v mms://192.168.151.33:3456/udp:@1234
VLC media player 0.8.4a Janus
Remote control interface initialized, `h' for help
[00000231] main demuxer warning: no access_demux module matched "mms"
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: failed to open a connection (tcp)
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: failed to open a connection (tcp)
status change: ( New input: mms://192.168.151.33:3456/udp:@1234 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000232] access_mms access error: cannot connect to server
[00000232] main access warning: connection to 192.168.151.33 port 3456 : Connection refused
[00000232] access_mms access error: cannot connect to 192.168.151.33:3456
[00000232] access_file access warning: 192.168.151.33:3456/udp:: No such file or directory
[00000232] access_gnomevfs access warning: cannot parse MRL mms://192.168.151.33:3456/udp: or unsupported protocol
[00000232] cdda access warning: could not open 192.168.151.33:3456/udp:
[00000232] main access warning: no access2 module matching "mms" could be loaded
[00000230] main input error: no suitable access module for `mms://192.168.151.33:3456/udp:@1234'
status change: ( stop state: 0 )
[00000222] main playlist: nothing to play