Receive an unicast stream
vlc -vvv rtp://
Receive a multicast stream
vlc -vvv rtp://@239.255.12.42
Receive an HTTP/FTP/MMS stream
vlc -vvv
vlc -vvv ftp://example/stream.xyz
vlc -vvv mms://viptvr.yacast.fr/encoderfranceinfo
Receive a RTP stream available through RTSP
vlc -vvv rtsp://
Receive a stream described by an SDP file
vlc -vvv
Save a stream with VLC
--sout file/muxer:stream.xyz
where:
muxer is one of the formats supported by VLC's stream output, i.e. :
ogg for OGG format,
ps MPEG2-PS format,
ts for MPEG2-TS format.
and stream.xyz is the name of the file you want to save the stream to, with the right extension.
For example:
vlc your_input_file_or_stream_here --sout=file/ps:go.mpg
This is short hand for the more verbose
vlc your_input_file_or_stream_here --sout="#std{access=file,mux=ps,dst=go.mpg}"
以上都是命令行接收方式,图形界面的网上很多介绍,用到的命令类似。
参考:https://wiki.videolan.org/Documentation:Streaming_HowTo/Receive_and_Save_a_Stream/
阅读(1014) | 评论(0) | 转发(0) |