PHP in Amazon Lambda

Clone or Download this GitHub Repo https://github.com/svnlabs/aws-lambda-php-template Make new folder lambda in current working directory of EC2 server # mkdir lambda Upload 2 files from zip to Amazon EC2 server Instance in folder lambda lambda – index.js – php (binary) index.js ‘use strict’; exports.handler = function(event, context, callback) { var exec = require(‘child_process’).exec; exec(‘./php -v’, … Read more

Install Apache, MySQL, PHP 5.6 on Centos 7

Install Apache # yum update # yum install httpd # systemctl start httpd.service Now Browser your Apache Server http://Server_IP_address/ Enable Apache to start at server boot # systemctl enable httpd.service Install Mariadb MySQL # yum install mariadb-server mariadb # systemctl start mariadb # mysql_secure_installation Enable MySQL to start at server boot # systemctl enable mariadb.service … Read more

Amazon DynamoDB Formatted JSON using JQ

Linux sed is useful tool to format and transform plain text. But sed is not so useful for structured data like JSON. JQ is a sed-like tool easily deal with JSON. ./jq is a lightweight and flexible command-line JSON processor. Install jq on OS X: brew install jq Install jq on Ubuntu: apt-get install jq … Read more

Live Transcoder for Nimble Streamer

WMSPanel’s Transcoder for Nimble Streamer is a premium add-on for Nimble Streamer which can decode, transform and encode live streaming media. The Transcoder use H.264, MPEG2 video and AAC, MP3, MP2, Speex audio as Input. It support RTMP pulled and published, RTSP pulled and announced, MPEG-TS via HTTP and UDP as input protocols. The Transcoder … Read more

Install Red5 Media Server on Ubuntu / Debian

Red5 is free media server based on Java and other open source frameworks. It support FLV, F4V, MP4, 3GP, MP3, F4A, M4A, AAC and protocols like RTMP, RTMPT, RTMPS, RTMPE. Install Red5 Media server # apt-get install red5-server Red5 Need below ports open in firewall / iptable RTMP: 1935 Debug proxy: 1936 HTTP servlet: 5080 … Read more

Live video stream event for online Temple or Church

Wowza / Red5 Streaming Live Video with Flash Media Live Encoder Wowza Live Stream Countdown Requirements – A computer running Windows or Apple operating system – Software “Flash Media Live Encoder (Adobe)” – Streaming Server (Wowza/Red5/FMS) – Video input that is recognized by the operating system (i.e. USB camera) – Video player: VLC or Web … Read more

Shoutcast V2 aacPlus AAC+ Player

MP3 Radio Streams (Shoutcast/Icecast) are best for Radio Streaming with best bit-rate, but MP3 Streaming need license to broadcast source streams. Radio MP3 music globally play on all devices & platforms. MP3 live radio streaming easily work over HTML5/HTTP. Whereas AAC+ live radio streaming work on over RTMP. It need flash streaming via RTMP. Shoutcast … Read more

PHP Get Radio Stream Type Version

Live Audio Streaming, Internet Radio Player Shoutcast1 Stream: http://shoutcast-server:port/;audio.mp3 Shoutcast2 Stream: http://shoutcast-server:port/streamname;audio.mp3 Icecast2 Stream: http://icecast-server:port/streamname Shoutcast server stream need “;” OR “;audio.mp3” at end of stream URL, so change accordingly   <?php function radioStreamType($stream) { $pp = parse_url($stream); $type = strstr($pp[‘path’], ‘;audio.mp3’); if($type==’;audio.mp3′) { if($pp[‘path’]==”/;audio.mp3″ || $pp[‘path’]==”;audio.mp3″) return “shoutcast1”; return “shoutcast2”; } else { return … Read more

Install Centova Cast

Centova Cast is an internet radio stream hosting control panel. It is used for hosting radio streams and manage Radio Server like ShoutCast and IceCast. You can manage Auto DJ using Centova Cast v2 Auto DJ System plus Server Control Panel. System Requirements for Centova Cast: You can install it on any Linux-based servers. Operating … Read more

Red5 CMS

Hope you already read our article for Media Streaming CMS. Using Red5 CMS you can manage your Red5, Wowza, RTMP streams and publish using open source player. You can track your media content and embed on other websites. Red5 Admin Login Red5 CMS Home Red5 CMS Categories Red5 CMS Add Categories Red5 Server Infomation Red5 … Read more