All pastes #2057564 Raw Edit

Anonymous

public text v1 · immutable
#2057564 ·published 2011-05-12 19:27 UTC
rendered paste body
-----------
watchwilmaa 
-----------

Bash script for watching online TV streams from wilmaa.com, so you
don't need flash / a browser anymore. 

THIS MOST LIKELY WORKS ONLY FROM SWITZERLAND, SINCE THE IPTV SERVICE
FROM WILMAA.COM IS ONLY AVAILABLE TO SWISS IP ADDRESSES.

see: http://github.com/reduzent/watchwilmaa 
© Roman Haefeli, 2010


Requirements
------------

This script is based on the following binary programs:

     o rtmpdump - A toolkit for RTMP streams
       You can download sources from:
       http://rtmpdump.mplayerhq.hu/

     o MPlayer - The Movie Player
       Most likely mplayer is delivered by your distribution. If you need
       a bleeding edge version, go to:
       http://www.mplayerhq.hu/

     o wget 
       

Installation
------------

Simply drop this script to your favorite location, probably to a path
where your bash finds it.


Usage
-----

Do 'watchwilmaa --help' in order to get a quick summary of the available
options. When invoked without options it starts in interactive mode. 


Most important key commands
---------------------------

q	: stop the currently running stream
ctl-c	: quit the program
0	: turn volume up
9	: turn volume down

(all mplayer keystrokes apply while playing a channel)


------------
recordwilmaa
------------

Records streams from wilmaa.com to file.

It works basically the same as watchwilmaa.sh, but instead of displaying
the stream it records it to a local file. 

The name of the resulting file is composed of the channel name
and the current date and time, following this template:

CHANNELNAME-YYYYMMDDhhmm.flv

The format is flash video (.flv), containing a H.264 video and a AAC encoded
audio stream.

Also it uses crontab to schedule an arbitrary number of recordings.


Requirements
------------

This script is based on the following binary programs:

     o rtmpdump - A toolkit for RTMP streams
       You can download sources from:
       http://rtmpdump.mplayerhq.hu/

     o MPlayer - The Movie Player
       Most likely mplayer is delivered by your distribution. If you need
       a bleeding edge version, go to:
       http://www.mplayerhq.hu/

     o wget 
  
     o crontab

     o date

       
Have fun!