Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2099461
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2010-01-11 14:08:36

First launch the vlc
% vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554

where:

  • 12 is the value of the TTL (Time To Live) of your IP packets (which means that the stream will be able to cross 11 routers).

  • telnet launches the telnet interface of the vlc.

  • videolan is the password to connect to the telnet interface.

  • 0.0.0.0 is the host address.

  • 5554 is the port on which you stream.

Then you connect to the vlc telnet interface and create the vod object

new Test vod enabled
setup Test input my_video.mpg

You can access to the stream with:

% vlc rtsp://server:5554/Test

where:

  • server is the address of the streaming server (IP or DNS)

阅读(5175) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~