Advertisement
Guest User

Untitled

a guest
Jun 18th, 2012
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.76 KB | None | 0 0
  1. #!/bin/sh
  2. case "$1" in
  3. 'vtv1')
  4. echo 'starting VTV1 using Mplayer with cachesize 1024...'
  5. 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 -;;
  6. 'vtv2')
  7. echo 'starting VTV2 using Mplayer with cachesize 1024...'
  8. 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 -;;
  9. 'vtv3')
  10. echo 'starting VTV3 using Mplayer with cachesize 1024...'
  11. 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 -;;
  12. 'vtv4')
  13. echo 'starting VTV4 using Mplayer with cachesize 1024...'
  14. 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 -;;
  15. 'vtv6')
  16. echo 'starting VTV6 using Mplayer with cachesize 1024...'
  17. 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 -;;
  18. 'vtv9')
  19. echo 'starting VTV9 using Mplayer with cachesize 1024...'
  20. 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 -;;
  21. 'htv7')
  22. echo 'starting HTV7 using Mplayer with cachesize 1024...'
  23. 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 -;;
  24. 'htv9')
  25. echo 'Starting HTV9 using Mplayer with cachesize 1024...'
  26. 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 -;;
  27. 'antv')
  28. echo 'Starting ANTV using Mplayer with cachesize 1024...'
  29. 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 -;;
  30. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement