HTML5 MP3 Player Radio KPlayer

Importing data from non-wordpress mysql database

On January 19, 2015, in LAMP, Mysql, PHP, SQL, Web Application, Wordpress, by Sandeep Verma

Hits: 127  You have to create an import php file to get the Questions/Answers from a non-wordpress database and bring them into posts in wordpress. Question Table <?php /// non-wordpress database connection string here require(‘./wp-load.php’); $results = mysql_query(“SELECT * FROM questions”); while ($row = mysql_fetch_assoc($results)) {     $post_information = array( ‘post_title’ => wp_strip_all_tags( $row[‘question’] ), ‘post_content’ => […]

Tagged with:  

Install Red5 Media Server on Ubuntu / Debian

On November 6, 2014, in Google Compute Engine, HP Cloud, Open Source, Red5, Ubuntu, Web Streaming, by Sandeep Verma

Hits: 665  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. WMSPanel white label reporting for Red5 Install Red5 Media server # apt-get install red5-server Red5 Need below ports open in firewall / iptable RTMP: […]


User Agent Parsing with PHP

On October 31, 2014, in LAMP, PEAR, PHP, Tips, by Sandeep Verma

Hits: 558  Tobie Langel’s ua-parser, a great library which provides simple UA parsing in PHP, JavaScript and Python. <?php require_once ‘uaparser.php'; $ua = $_SERVER[‘HTTP_USER_AGENT’]; $parser = new UAParser(); $result = $parser->parse($ua); echo ‘<pre>'; print_r($result); ?> Find more libraries here…


MistServer PHP API for Live Stream

On August 26, 2014, in API, CURL, JSON, Linux, Web Streaming, by Sandeep Verma

Hits: 833  MistServer is a highly versatile, lightweight, customizable open-source multi-standard multimedia server. MistServer configuration is easy to use for full CDN solutions applications. Hope you already read our article to Install MistServer MistServer API provides a Server API and a Management API. You can find MistServer PHP API Examples Here Note: Make sure port 4242 […]

Tagged with:  


On August 20, 2014, in LAMP, Learning, Open Source, PHP, Web Application, by Sandeep Verma

Hits: 735  It’s easy to convert PHP Array to Select Dropdown Box… you need to loop for all element in array to display as dropdown. But may be you ever think for reverse process. Yes, it’s also easy! You need to scrape / crawl Select box HTML to get PHP Array back from HTML Select Box. […]

Install AWStats with GeoIP Plugin

On July 30, 2014, in Amazon Web Services, apache gentoo, Linux, Open Source, Perl, Web Application, by Sandeep Verma

Hits: 2335  AWStats is a free analytic tool that generates web, streaming, ftp or mail server statistics, graphically. There are many log analyzer but AWStats is open source Web analytics reporting tool, It can analyze log files from Apache, WebStar, IIS. Installing AWStats on ubuntu 12.04 # apt-get install awstats Configuring for replace with […]

Tagged with:  

Install Red5 1.0.1 on CentOS release 6.5 (Final) 64-Bit

On July 19, 2014, in Linux, Open Source, Red5, Web Streaming, by Sandeep Verma

Hits: 1794  1. Install Java # yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel 2. Install Ant # cd /usr/local/src # wget # tar zxvf apache-ant-1.8.2-bin.tar.gz # mv apache-ant-1.8.2 /usr/local/ant 3. Export path for Ant and Java # export ANT_HOME=/usr/local/ant # export JAVA_HOME=/usr/lib/jvm/java # export PATH=$PATH:/usr/local/ant/bin # export CLASSPATH=.:$JAVA_HOME/lib/ Also add these lines in /etc/bashrc at last to […]

Tagged with:  

Live video stream event for online Temple or Church

On July 14, 2014, in Android, FFmpeg, Google Compute Engine, Icecast, iOS, Red5, Shoutcast, Web Streaming, Wowza, by Sandeep Verma

Hits: 1123  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 […]



On July 4, 2014, in FFmpeg, HTML5, Icecast, Red5, Shoutcast, Web Streaming, Wowza, by Sandeep Verma

Hits: 1410  phpMyStream is media re-stream panel, it use FFmpeg & rtmpdump linux utilities to take source as input then publish to other server like Red5 or Wowza. phpMyStream Server Requirement – Web Server With Apache, PHP, MySQL – RTMPDump – FFmpeg – RTMP Server (Wowza, Red5, Nginx) RTMPDump Help FFmpeg Help Make Server for phpMyStream […]

Tagged with:  

Shoutcast V2 aacPlus AAC+ Player

On June 27, 2014, in Icecast, Learning, Red5, Shoutcast, Web Streaming, Wowza, by Sandeep Verma

Hits: 1710   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 […]

Wowza Live Stream Countdown

On June 26, 2014, in Javascript, Open Source, PHP, Web Streaming, Wowza, by Sandeep Verma

Hits: 1179   <?php function timeElapsed($originalTime){         $timeElapsed=$originalTime-time(); return $timeElapsed; } //$Details[‘datetimepicker’] = “06/26/2014 11:42 am”; // coming from database $dtp = timeElapsed( strtotime($Details[‘datetimepicker’]) ); ?> var myCountdownTest = new Countdown({ time: <?php echo $dtp; ?>, width : 300, height : 50, style:”boring”, rangeHi:”day”, labelText : { second : “SECONDS”, minute : “MINUTES”, hour : “HOURS”, day […]

Tagged with:  

Radio Song Album Artwork Cover by YouTube

On June 15, 2014, in API, Icecast, Javascript, jQuery, Learning, Open Source, Shoutcast, Tricks, Web Application, by Sandeep Verma

Hits: 1473  An album cover is the front / other side of the packaging of a commercially released audio recording product, or album. You can find online APIs or Websites where artwork available – Amazon – LastFM – Soundcloud – Apple iTune – Google Play – Gracenote – Free Music Archive And many more …. But […]

Tagged with:  

JSON2CSV – convert json files to csv

On April 18, 2014, in CSV, JSON, Learning, Python, by Sandeep Verma

Hits: 2356  JSON2CSV is a python script that converts json data to a csv file. json2csv.py_.txt Download above text file “json2csv.py_.txt” then rename “” >> python “input.json” “output.csv” JSON – input.json [ { “createdAt”: “2014-02-20T18:15:56.818Z”, “fbID”: “34534534534”, “lessonQuestions”: 5, “lessonScore”: 2750, “lesson_no”: 2, “objectId”: “htmsuPr6F6″, “updatedAt”: “2014-02-22T15:42:38.166Z” }, { “createdAt”: “2014-02-21T16:45:52.550Z”, “fbID”: “100001132788807”, “lessonQuestions”: 5, […]

Tagged with:  

PHP Get Radio Stream Type Version

On February 28, 2014, in Icecast, Shoutcast, Web Streaming, by Sandeep Verma

Hits: 1666   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 “icecast”; } } ?> […]

Tagged with:  

Re Stream Radio Shoutcast / Icecast using Node JS

On February 26, 2014, in HTML5, Icecast, Linux, Node JS, Open Source, Shoutcast, Web Streaming, by Sandeep Verma

Hits: 2368  Re-stream Radio (Shoutcast/Icecast) Stream using Node.JS and get Metadata current playing song title… Use port forwarding to hide real shoutcast IP …. Avoid PHP script to damage Server with too many calls on radio server Start Restream > node radio.js node.js>node radio.js Server running at Radio Stream connected! { ‘icy-notice1′: ‘<BR>This stream requires […]

Tagged with:  

Install Centova Cast

On January 13, 2014, in Icecast, Learning, Shoutcast, Web Application, Web Streaming, by Sandeep Verma

Hits: 2007  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. […]

Tagged with:  

Detecting the end of video using OSMPlayer

On January 9, 2014, in LAMP, by Sandeep Verma

Hits: 1428  I was working on video ads solution using OSMPlayer. So, It was needed to detect video finish event in OSMPlayer … The Open Standard Media Player (OSMPlayer) is an all-in-one video player. It is open source (MIT) video player for web media, including Red5, Wowza, HTML5, YouTube, Vimeo, Limelight CDN, Kaltura, and Flash. I […]

Tagged with:  

Secure Expired MP3 File

On January 9, 2014, in HTML5, Learning, PHP, Web Security, Web Streaming, by Sandeep Verma

Hits: 1719  Secure Expired MP3 File can be used for hiding real mp3 link inside html source using base64_encode, mcrypt_encrypt, base64_decode, mcrypt_decrypt and md5. MP3 link will be expired in few seconds then it will return No Access Page to protect MP3 files to hot linked. I was working on Secured & Expired MP3 Link in […]

Tagged with:  

PayPal auto redirect credit card user to website after payment

On January 7, 2014, in API, LAMP, PHP, Web Application, Web Services, by Sandeep Verma

Hits: 2078  I have a problem on my Pay Per Video Website (PPV), Guests normally watch preview of videos for few seconds then PayPal Screen appear to watch full version of video content. Pay Per Plugin for HTML5 Media – Pay Per Plugin for HTML5 Media Plugin is embedded stand-alone, e-commerce-powered JavaScript and iFramed widget for […]

Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...