Client for ustream.tv API to read and rename data of downloaded videos
Read the Ustream API Documentation here
PHP 5.3 >=
Alter the ustream-api-client.class.php
$this->origin = 'path_origin';
$this->destination = 'path_destination';
$this->path_data = $this->origin . 'data.json';
$this->url_data = 'http://api.ustream.tv/json/video/17343201/listAllVideos?key=laborautonomo&limit=100';
$this->format = 'flv';
$ php ustream-api-client.php
The ustream's downloaded files have flv format. If you want convert to mp3 before execute ustream-api-client, copy the file convert-flv-to-mp3.sh into FLVs folder and execute the bash script:
$ bash convert-flv-to-mp3.sh
# apt-get install ffmpeg libavcodec-extra-53