JSON2CSV – convert json files to csv

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

Hits: 48  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 “json2csv.py” >> python json2csv.py “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: 419   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: 534  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: 826  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: 613  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: 702  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: 847  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:  

Google App Engine – Downloading source code

On January 6, 2014, in Cloud, Google App Engine, Learning, by Sandeep Verma

Hits: 727  I am working on my old project on Google App Engine… so I need to download old source code from Google App Engine …. We can download source code for application by appcfg.py with the download_app action in the Python SDK command-line tool: > appcfg.py download_app -A <your_app_id> -V <your_app_version> <output-dir> But it is […]

Tagged with:  

Red5 CMS

On January 5, 2014, in FFmpeg, HTML5, LAMP, Launch, Learning, Open Source, PHP, Red5, Web Application, Wowza, by Sandeep Verma

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

Happy New Year!

On December 31, 2013, in Imagine, Launch, by Sandeep Verma

Hits: 9420   I wish all my Friends and their Families and my Relatives and my Well-Wishers a very happy and enjoying New Year.. May all your unfulfilled and desired wishes be completed in the coming year.. Have a successful year ahead..!!!

Tagged with:  

Unicode Character Calculator

On December 23, 2013, in Javascript, LAMP, Learning, PHP, Web Application, by Sandeep Verma

Hits: 708  Unicode Character Calculator is a tool to convert symbols to HTML/PHP entity, CSS hex value and JavaScript hex value.

Tagged with:  

Install MistServer

On December 22, 2013, in Learning, Linux, Open Source, Red5, Web Streaming, Wowza, by Sandeep Verma

Hits: 1066  MistServer is a highly versatile, lightweight, customizable open-source multi-standard multimedia server. MistServer configuration is easy to use for full CDN solutions applications. MistServer is Free, open and well-supported, Truly plug and play, Affordable, seamless and highly scalable control over your media servers. MistServer can be installed on any server to make multimedia server. Download […]

Tagged with:  

Install Wowza Media Server for Google Compute Engine

On December 18, 2013, in Cloud, Google Cloud Platform, Google Compute Engine, Learning, Web Streaming, Wowza, by Sandeep Verma

Hits: 1172  Hope you really enjoyed our articles about Google Compute Engine.. Install Apache, PHP, MySQL on Google Compute Engine Build your business on Google Cloud Platform Install Red5 on Google Compute Engine First you need to install Google Cloud platform command-line tools https://developers.google.com/compute/docs/gcutil $ wget https://code.google.com/p/google-compute-engine-tools/downloads/detail?name=gcutil-1.9.0.tar.gz $ sudo apt-get install unzip $ export PATH=${PATH}:$HOME/gcutil-1.9.1 $ […]

Tagged with:  
Tagged with:  

Red5 RTMP Protocol

On December 12, 2013, in Learning, Open Source, Red5, Web Security, Web Streaming, by Sandeep Verma

Hits: 1019   RTMP: Real Time Messaging Protocol It is TCP based protocol developed by Adobe System for streaming Audio/Video between Flash Player and Media server. RTMPT: Real Time Messaging Protocol with Tunnel It is a variation of RTMP which works behind the firewalls. RTMPE: Real Time Messaging Protocol with Encryption It is a new encrypted […]

Tagged with:  

MP3 waveforms with PHP

On December 6, 2013, in Cloud, HTML5, Linux, Open Source, Shared Library, by Sandeep Verma

Hits: 1528  If you are thinking how soundcloud.com generates the waveform for sound MP3 player? There are some audio processing libraries used to process MP3 files to WAV and then PNG / SVG images.. 1. LAME MP3 encoder/decoder $ lame input.mp3 -f -m m -b 16 –resample 8 resampled.mp3 && lame –decode resampled.mp3 output.wav 2. SOX […]

Tagged with:  

Liquidsoap GStreamer

On November 9, 2013, in Android, Cloud, HTML5, Icecast, Learning, Open Source, Shoutcast, Web Streaming, by Sandeep Verma

Hits: 1614   Liquidsoap is a programming language to manage audio and video source streams for Icecast Radio server. Liquidsoap is a powerful and flexible language for describing, creating or transforming streams. It offers rich operators and library that you can be used for making Icecast Radio Server. Now Play Your Favorite Radio FM Stream in […]

Tagged with:  

Audiojs.swf?playerInstance audiojs.instances[%27audiojs0%27]

On October 22, 2013, in Android, HTML5, Javascript, Learning, Tricks, Web Application, by Sandeep Verma

Hits: 1666  If you are using audio.js as MP3 player or playlist …. on some browser it causing error 403 to access SWF file with player instance http://yourdomain.com/audiojs/audiojs.swf?playerInstance=audiojs.instances[%27audiojs0%27]&datetime=1382426114401.4087 You need to make sure you have right permission on that SWF file and check JavaScript playerInstance below…. http://yourdomain.com/audiojs/audiojs.swf?playerInstance=audiojs.instances[%27audiojs0%27]&datetime=1382426114401.4087 Solution: Just replace code (Original audio.js) flashSource: ‘\ <object […]

Tagged with:  

Media Streaming CMS

On August 27, 2013, in FFmpeg, HTML5, Icecast, iOS, Kaltura, Linux, Red5, Shoutcast, Web Application, Web Streaming, Wowza, Zend, by Sandeep Verma

Hits: 4271  Kaltura, the Open Source Community provides tools such as: online video player, open source editor and open source video for websites. EZserver is an Easy-to-Use Video Server to let you easily install, manage and provide video service. And, it is also integrated with IP Blocker, Player Filter, Time Shift, DVR, Subscriber Management and Middleware […]

Tagged with:  

Installing Apache, MySQL, PHP in Gentoo Server

Hits: 4236  All commands are performed as root to install Apache, MySQL, PHP and phpMyAdmin in Gentoo Linux Server. 1. Update your System # emerge –sync 2. Install Apache Webserver # emerge apache The web server ROOT is in /var/www/localhost/htdocs/ # /etc/init.d/apache2 start Then go to http://server-ip/ Add apache2 to the startup script # rc-update -v […]

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...