Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- case "$1" in
- 'vtv1')
- echo 'starting VTV1 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/vtv1.stream -y vtv1.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/vtv1.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'vtv2')
- echo 'starting VTV2 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/vtv2.stream -y vtv2.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/vtv2.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'vtv3')
- echo 'starting VTV3 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/vtv3.stream -y vtv3.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/vtv3.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'vtv4')
- echo 'starting VTV4 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/vtv4.stream -y vtv4.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/vtv4.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'vtv6')
- echo 'starting VTV6 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/vtv6.stream -y vtv6.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/vtv6.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'vtv9')
- echo 'starting VTV9 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/vtv9.stream -y vtv9.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/vtv9.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'htv7')
- echo 'starting HTV7 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/htv7.stream -y htv7.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/htv7.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'htv9')
- echo 'Starting HTV9 using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/htv9.stream -y htv9.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/htv9.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- 'antv')
- echo 'Starting ANTV using Mplayer with cachesize 1024...'
- rtmpdump -v -r rtmp://112.197.2.11:1935/live/antv.stream -y antv.stream -f LNX_11,2,202,233 -p http://www.tv24.vn/ -t rtmp://112.197.2.11:1935/live/antv.stream -s http://tv24.vn/jwplayer/player.swf –-quiet | mplayer –fs –cache 1024 -;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement