1、安装 SopCast
$ wget http://download.sopcast.cn/download/sp-auth.tgz
$ tar xvf sp-auth.tgz
2、启动 SopCast
- 6005:频道
- 8001:本地端口
- 8002:播放器端口
$ sp-auth/sp-sc-auth sop://broker.sopcast.com/6005 8001 8002 > /dev/null &
3、mplayer 播放
- 通常播放
$ mplayer http://localhost:8002/tv.asf
- 同步播放(电脑速度慢时)
$ mplayer -framedrop http://localhost:8002/tv.asf
4、停止 SopCast
$ kill $(pgrep sp-sc-auth)