VLC实现RTSP服务(命令行)

来源:互联网 发布:java编码 编辑:程序博客网 时间:2024/05/16 11:43

源:http://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples

RTSP live streaming

Stream with RTSP and RTP:

  • Run on the server:
vlc -vvv input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=rtsp://server.example.org:8080/test.sdp}' 
  • Run on the client(s):
vlc rtsp://server.example.org:8080/test.sdp