Backup Disk Snapshot on Google Compute Engine


Hits: 8810  

Snapshots are stored in Google Cloud Storage, which is secure, incredibly large, and remarkably inexpensive. You might want to think about whether the labor involved in saving snapshots on your local PC, with all the attendant risks of data loss.

For pricing, see
https://cloud.google.com/pricing/cloud-storage. For example, if you have a 10 GB snapshot, that’s going to cost you $0.85/ month.

Overview Google Compute Engine
Overview Google Compute Engine

You can read more about here ….

https://cloud.google.com/pricing/compute-engine

https://developers.google.com/compute/docs/disks

1) Create a snapshot with the gcutil getsnapshot command.

$ gcutil addsnapshot red5 –source_disk red5 –zone us-east1-a

Snapshot Google Compute Engine
Snapshot Google Compute Engine

2) Create a new persistent disk with that snapshot

Disk Google Compute Engine
Disk Google Compute Engine

3) Create an instance with that persistent disk

Instance on Google Compute Engine
Instance on Google Compute Engine

4) Create an image of that instance

Operations Google Compute Engine
Operations Google Compute Engine

5) Save the image on the instance

$ sudo python /usr/share/imagebundle/image_bundle.py -b red5 -o /tmp

6) Download the image of the instance

You can find archived image in current user folder i.e. /home/svnlabs/red5/096df5a918c746f965338bda6b4c886ac4097c08.image.tar.gz

 

Install Admin Panel in Red5


Hits: 17740  

Hope you already read our previous articles for installing Red5 on different cloud based servers…

You can access Red5 Admin Panel after successful install of Red5 Server using

http://your-ip-address:5080/demos/adminPanel.html

Check if you have access to http://your-ip-address:5080/admin/ ??

Red5 Admin Panel
Red5 Admin Panel

You must double check admin application is installed in Red5 Home (i.e. /usr/share/red5/webapps) or not?

Red5 Home Folder
Red5 Home Folder

If you could not find Red5 Admin Application in /usr/share/red5/webapps .. then you need to install admin panel ….

Install Admin Panel in Red5

# cd /usr/local/red5
# mkdir plugins
# cd plugins
# wget http://red5.googlecode.com/files/AdminPlugin-1.0.zip
# unzip -d /usr/local/red5/plugins AdminPlugin-1.0.zip

Download admin.jsp

# cd /usr/local/red5/webapps
# mkdir admin
# cd admin
# wget http://red5.googlecode.com/files/admin.jsp

Restart Red5 Server
# cd /usr/local/red5
# ./red5.sh &

Or

# service red5 restart (if you have red5 service enabled)

Register admin user here

http://your-ip-address:5080/admin/admin.jsp

Red5 Admin First Time
Red5 Admin First Time

Login to Red5 admin panel

http://your-ip-address:5080/demos/adminPanel.html

Red5 Admin Panel Live Application
Red5 Admin Panel Live Application
Red5 Admin Live Application Clients
Red5 Admin Live Application Clients

Kaltura Red5 iOS Live Streams Setup


Hits: 7673  

We have a plugin that can be used for streaming kaltura live red5 rtmp to mobile devices.

Kaltura Red5 Live Plugin take below data to segment live video stream

– Red5 Live Video RTMP Stream Link
– Red5 Stream Name
– Publishing Folder
– Publishing Link

Configure Live Stream for Mobile on Kaltura Red5
Configure Live Stream for Mobile on Kaltura Red5

The Main feature of this plugin to show live RTMP streams using Adobe FMLE, on computers using the Kaltura Player and HTML5 player on mobile devices using M3U8 video iOS compatible format.

– Capture Red5 live kaltura stream for FFMpeg Segmentation
– Manage Segmented Clips in M3U8 format
– Stream iOS compatible video to iPhone / iPad in HTML5 Player
– Track Analytic / Stats for live stream in HTML5 Player
– Embed code for HTML5 Player
– Track process log

Live Stream for Mobile on Kaltura Red5
Live Stream for Mobile on Kaltura Red5
KMC - content - manage
KMC – content – manage

Process Log Live Stream for Mobile on Kaltura Red5

Process Log Live Stream for Mobile on Kaltura Red5
Process Log Live Stream for Mobile on Kaltura Red5

Embed Code Live Stream for Mobile on Kaltura Red5

Embed Live Stream for Mobile on Kaltura Red5
Embed Live Stream for Mobile on Kaltura Red5

Related Articles
* VOD to iOS
* Record Audio from Websites
* Red5 Media Server iOS Android Setup

Kaltura Live Red5 CAM RTMP to iOS (iPhone or iPad). Get more help for HTTP Live Video Stream Segmenter and Distributor Contact Us

RTMP (Red5) -> FFMpeg -> Segementer -> .ts files -> iOS (m3u8)

Install Red5 on Google Compute Engine


Hits: 7039  

Yesterday we have installed basic web server (apache, php, mysql) on Google Compute Engine. Today our target is to install Red5 on Ubuntu server for Google Compute Engine.

First we need to check Java version installed on Google Compute Engine

$ java -version
The program ‘javac’ can be found in the following packages:

* default-jdk
* ecj
* gcj-4.6-jdk
* openjdk-6-jdk
* gcj-4.5-jdk
* openjdk-7-jdk
Ask your administrator to install one of them

Now you have to install java using

$ sudo apt-get update
$ sudo apt-get install java-package
# sudo apt-get install openjdk-6-jdk
$ sudo apt-get install openjdk-6-jre

Install Ant

$ sudo apt-get install ant

Install Subversion

$ sudo apt-get install subversion

You can download latest Red5 from here http://www.red5.org/downloads/red5/

$ sudo wget http://www.red5.org/downloads/red5/1_0/red5-1.0.0.tar.gz
$ sudo tar xvfz red5-1.0.0.tar.gz
$ sudo mv red5-1.0.0 red5
$ sudo mv red5 /usr/share/

Now try to run Red5 Server

$ cd /usr/share/red5
$ sudo sh red5.sh

Yeah! Firewall always block you to access red5 port 5080 so please allow port 5080 & 1935 using below commands

$ gcutil addfirewall red5 –description=”Let open port 5080.” –allowed=”tcp:5080″

$ gcutil addfirewall rtmp –description=”Let open 1935 rtmp port.” –allowed=”tcp:1935″

$ sudo sh red5.sh

Check Red5 is running

$ sudo netstat -ant
Find port 5080 Listening

Now try http://your-server-address:5080 in a web-browser.

Red5 on Google Compute Engine
Red5 on Google Compute Engine

Install oflaDemo from installer http://your-server-address:5080/installer/ then check πŸ˜‰

Red5 Demo on Google Compute Engine - Port Tester
Red5 Demo on Google Compute Engine – Port Tester

Install Webmin on Google Compute Engine

$ sudo wget http://prdownloads.sourceforge.net/webadmin/webmin-1.610.tar.gz
$ sudo gunzip webmin-1.610.tar.gz
$ sudo tar xf webmin-1.610.tar
$ sudo cd webmin-1.610
$ sudo ./setup.sh /usr/local/webmin

Open port 10000 usingΒ gcutil addfirewall

$ gcutil addfirewall webmin –description=”Let coordinator and snitches chatter.” –allowed=”tcp:10000″

Design lookup


Hits: 4513  

Orlando Web Design

 

Web Design and WordPress Support.

We usually search good design ideas for our web development needs. I have some useful links on this page. Please review and share more in comment area πŸ™‚

 

http://www.sohtanaka.com/

http://preloaders.net/
http://www.noupe.com/
http://antsmagzine.com/
http://designm.ag/tutorials/sticky-sidenav-layout/
http://www.learningjquery.com/
http://www.pierrebertet.net/projects/jquery_superbox/
http://usejquery.com/
http://vandelaydesign.com/
http://roshanbh.com.np/
http://www.templatemo.com/
http://www.webtemplates.webfirstcreations.com/
http://hambodevelopment.com/
http://www.osvaldas.info/
http://www.veboolabs.com/
http://www.sourcebits.com/
http://twipho.net/
http://jquerystyle.com/
http://www.1stwebdesigner.com/
http://www.1stwebdesigner.com/tutorials/53-jquery-tutorials-resources-tips-and-tricks-ultimate-collection/
http://arnaud-k.fr/
http://www.mplusz.com/
http://marcgrabanski.com/article/jquery-google-maps-tutorial-basics
http://marcgrabanski.com/webroot/resources/jquery-ui-google-maps/tutorial-part1.html
http://jqueryfordesigners.com/
http://www.templates.com/
http://www.proclipart.com/
http://www.queness.com/post/456/16-impressive-flash-like-javascript-animation-inspirations-tutorials-and-plugins
http://www.k4lab.info/eng/indexeng.htm
http://www.clubclub.fr/
http://abduzeedo.com/web-design-awesome-magazine-style-sites
http://www.creative-outsourcing.com/
http://www.studio7designs.com/blog/101-design-resource-links/
http://www.templamatic.com/
http://bestwebgallery.com/
http://www.css-website.com/
http://www.cssclip.com/
http://csscollection.com/
http://cssdrive.com/
http://www.csselite.com/
http://www.cssflavor.com/
http://cssmania.com/
http://cssremix.com/
http://www.designmeltdown.com/
http://www.designshack.co.uk/
http://www.mostinspired.com/
http://www.professionalontheweb.com/
http://www.dailyslurp.com/
http://www.w3csites.com/
http://www.cssheaven.com/
http://www.cssbeauty.com/

FFmpeg – ERROR: librtmp not found


Hits: 8857  

I was installing FFmpeg for segmenting Red5 Streams to stream live video from Red5 Server to iOS or Android devices.

RTMP (Red5) -> FFMpeg -> Segementer -> .ts files -> iOS (m3u8)

I really needed mp4 (AAC/H.264) and ogg (Vorbis/Theora) format for best HTML5 output.

I checkout FFmpeg source and tryed below command to install / configure it

# ./configure –enable-gpl –enable-nonfree –enable-libmp3lame –enable-libfaac –enable-librtmp –enable-libtheora –enable-libvorbis –enable-libx264 –enable-shared –enable-postproc

error while loading shared libraries: libfaac.so.0:

I have already installed all dependencies, but links to shared libraries was not found … so …

# echo “/usr/local/lib” >> /etc/ld.so.conf
# echo “/usr/lib” >> /etc/ld.so.conf
# ldconfig

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.

Another error ERROR: librtmp not found

# ls /usr/local/lib/librtmp*

/usr/local/lib/librtmp.a /usr/local/lib/librtmp.so

On CenOS before compiling ffmpeg, make sure you have valid path of packages in PKG_CONFIG_PATH

# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

We worked on RTMP (Live Red5 CAM) to iOS (iPhone or iPad). Get more help for HTTP Live Video Stream Segmenter and Distributor Contact Us

Read more…. VOD to iOS | Red5 Media Server iOS Android Setup

Free Cloud Storage Services


Hits: 5601  

Cloud Storage is really a buzz word for people who are facing troubles for backups and data loss. Cloud Storage can provide tension free management of data on the fly. You can choose any cloud program below as free storage. I really like Dropbox, it is available for all devices πŸ˜‰

Dropbox – Free for Windows, Mac, Linux, and Mobile

Free space : 2GB

Dropbox - Simplify your life
Dropbox – Simplify your life

Microsoft SkyDrive – SkyDrive on all your devices to access your photos and files from almost anywhere, store them, and securely share them.

Free space : 7GB

Files - SkyDrive
Files – SkyDrive

Amazon Cloud Drive – Amazon Cloud Drive makes storing your photos, videos, documents and other digital files in the Cloud quick and easy.

Free space : 5GB

Amazon Cloud Drive
Amazon Cloud Drive

Apple – iCloud – Your content. On all your devices

Free space : 5GB

Apple - iCloud - Your content. On all your devices
Apple – iCloud – Your content. On all your devices

Box – Secure content-sharing that users and IT love and adopt

Free space : 5GB

Box - Secure content-sharing that users and IT love and adopt
Box – Secure content-sharing that users and IT love and adopt

SugarSync – File Sync & Online Backup – Access and File Sharing from Any Device – Your Cloud

Free Space : 5 GB

File Sync & Online Backup - Access and File Sharing from Any Device - SugarSync - Your Cloud
File Sync & Online Backup – Access and File Sharing from Any Device – SugarSync – Your Cloud

Google Drive – Google Drive is everywhere you areβ€”on the web, in your home, at the office and on the go. So wherever you are, your stuff is just…there. Ready to go, ready to share. Get started with 5 GB free.

Free space : 5GB

Google Drive
Google Drive

Ubuntu One – Keep your content safe, access it anywhere, and share it with friends, family and colleagues. Spread the word and earn up to 20GB extra free cloud storage with our referral program.

Free space : 5GB

Ubuntu One
Ubuntu One

SpiderOak.com – Zero-Knowledge data backup, sync, access, storage and share from any device

Free Space : 2 GB

Zero-Knowledge data backup, sync, access, storage and share from any device - SpiderOak.com
Zero-Knowledge data backup, sync, access, storage and share from any device – SpiderOak.com

Syncplicity – File Sync, Sharing & Collaboration Cloud Service – Mobile Document Sync – File Management

Free cloud storage : 2GB

File Sync, Sharing & Collaboration Cloud Service - Mobile Document Sync - File Management - Syncplicity
File Sync, Sharing & Collaboration Cloud Service – Mobile Document Sync – File Management – Syncplicity

Wuala – Backup. Sync. Share. Access Everywhere. All data encrypted on your computer.

Free Space : 5 GB

Wuala - Secure Cloud Storage - Backup. Sync. Share. Access Everywhere.
Wuala – Secure Cloud Storage – Backup. Sync. Share. Access Everywhere.

Cloud Storage From Just Cloud. Free Online Storage

Free Space : 15 MB

Cloud Storage From Just Cloud. Free Online Storage
Cloud Storage From Just Cloud. Free Online Storage

MegaCloud – Home – Your files wherever you are

Free Space : 8GB File Storage + 8GB Backup

MegaCloud - Home - Your files wherever you are
MegaCloud – Home – Your files wherever you are

MiMedia – Online Storage & Online Backup Solutions

Free Space : 7 GB

Online Storage & Online Backup Solutions - MiMedia
Online Storage & Online Backup Solutions – MiMedia

MediaFire – Free Online Storage

Free Space : 50 GB

Free Online Storage - MediaFire
Free Online Storage – MediaFire

Symform – Free Cloud Backup – Start with 10 GB

Free cloud storage: Up to 10GB

Free Cloud Backup – Start with 10 GB – Symform
Free Cloud Backup – Start with 10 GB – Symform

YouSendIt – File Sharing, Send Large Files, Access Files from Any Device

Free Storage : 2 GB

YouSendIt - File Sharing, Send Large Files, Access Files from Any Device
YouSendIt – File Sharing, Send Large Files, Access Files from Any Device

Cubby.com – Cloud storage, syncing and sharing, with a smile.

Free Space : 5 GB

Cubby.com - Cloud storage, syncing and sharing, with a smile.
Cubby.com – Cloud storage, syncing and sharing, with a smile.

ElephantDrive – Beyond Backup. Your files – Everywhere.

Free Space : 2 GB

ElephantDrive - Beyond Backup. Your files – Everywhere.
ElephantDrive – Beyond Backup. Your files – Everywhere.

OpenDrive – Online Storage, Backup & Cloud Content Management

Free Space : 5 GB

OpenDrive - Online Storage, Backup & Cloud Content Management
OpenDrive – Online Storage, Backup & Cloud Content Management

And Many More … Search Free Cloud Storage Services

Best Websites to Download Free Music


Hits: 8666  

We usually listen music everyday. People love latest music to listen in their work time. Music on internet can provide you all popular songs in single click. You can tune to your favorite artist or radio or event. There are lot of music portals which provide free as well as paid music to download to devices.

Here is the list where you can listen or download your loving songs πŸ˜‰

Amazon.com MP3 Music Download

Amazon.com MP3
Amazon.com MP3

Free Music Videos, Song Lyrics, Free Music Downloads – AOL Music

Free Music Videos, Song Lyrics, Free Music Downloads - AOL Music
Free Music Videos, Song Lyrics, Free Music Downloads – AOL Music

Free Music Archive

Free Music Archive
Free Music Archive

Jamendo – Free music downloads for private use – Royalty free music licenses for commercial purposes. More than 55,000 albums by independent artists.

Jamendo - The #1 platform for free music. Free music downloads for private use - Royalty free music licenses for commercial purposes. More than 55,000 albums by independent artists.
Jamendo – The #1 platform for free music. Free music downloads for private use – Royalty free music licenses for commercial purposes. More than 55,000 albums by independent artists.

NoiseTrade – Thousands of Albums. Completely Free. Completely Legal.

NoiseTrade - Thousands of Albums. Completely Free. Completely Legal.
NoiseTrade – Thousands of Albums. Completely Free. Completely Legal.

Free Music Downloads – Last.fm

Free Music Downloads – Last.fm
Free Music Downloads – Last.fm

Free Top Music Downloads Chart – MP3.com

Free Top Music Downloads Chart - MP3.com
Free Top Music Downloads Chart – MP3.com

emp3world.com – Free Mp3 Download

emp3world.com - Free Mp3 Download
emp3world.com – Free Mp3 Download

Free Mp3 – Music Addict

Free Mp3 - Music Addict
Free Mp3 – Music Addict

DJMaza.Com Bollywood MP3 Songs Music-Videos Download, Mobile-PC Videos,Lyrics & much more

DJMaza.Com Bollywood MP3 Songs Music-Videos Download, Mobile-PC Videos,Lyrics & much more
DJMaza.Com Bollywood MP3 Songs Music-Videos Download, Mobile-PC Videos,Lyrics & much more

mp3skull.com – Free Mp3 Download

mp3skull.com - Free Mp3 Download
mp3skull.com – Free Mp3 Download

Free MP3 Grabber – search and grab mp3 from YouTube, Dailymotion, MySpace, vevo, imeem, last.fm and many other online resources for free

Free MP3 Grabber - search and grab mp3 from YouTube, Dailymotion, MySpace, vevo, imeem, last.fm and many other online resources for free
Free MP3 Grabber – search and grab mp3 from YouTube, Dailymotion, MySpace, vevo, imeem, last.fm and many other online resources for free

Mp3Raid.com – Free Mp3 Downloads, Free Music Downloads

Mp3Raid.com - Free Mp3 Downloads, Free Music Downloads
Mp3Raid.com – Free Mp3 Downloads, Free Music Downloads

Beemp3.com – MP3 Search & Free MP3 Downloads

Beemp3.com - MP3 Search & Free MP3 Downloads
Beemp3.com – MP3 Search & Free MP3 Downloads

Naijamusic.net – Proudly Nigeria Music – Official website of Naijamusic, play nigeria music, video & watch movie

Naijamusic.net - Proudly Nigeria Music - Official website of Naijamusic, play nigeria music, video & watch movie
Naijamusic.net – Proudly Nigeria Music – Official website of Naijamusic, play nigeria music, video & watch movie

Free Mp3 Downloads

Free Mp3 Downloads
Free Mp3 Downloads

You can also visit to The Live Music Archive πŸ˜‰

Create Website Thumbnails using PhantomJS


Hits: 9463  

Hope you read my old article “Create WebThumb using LAMP”, it used for creating web thumbnails from Xvfb virtual framebuffer that is more time and resource consuming.

Shell Script with Xvfb try to open web browsers in real remote server to capture web-thumbs…

That whole setup might take a full day and image quality is very bad….

Thanks to PhantomJS

PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

Simple Javascript example

console.log(‘Loading a web page’);
var page = require(‘webpage’).create();
var url = ‘https://www.svnlabs.com/’;
page.open(url, function (status) {
//Page is loaded!
phantom.exit();
});

Features:

– Headless Website Testing
– Screen Capture
– Page Automation
– Network Monitoring

Fork on Github https://github.com/ariya/phantomjs

PhantomJS is using WebKit for a real layout and rendering engine, it can be used to capture web page as screenshot or PDF files. PhantomJS can render anything on the web page, it can be used to convert contents in HTML/CSS, SVG and Canvas.

URL2PNG-URL2PDF-HTML2JPG-URL2IMAGE
URL2PNG-URL2PDF-HTML2JPG-URL2IMAGE
// Thumbnail of Webpage using webthumb.js

var page = require('webpage').create(),
    system = require('system'),
    weblink,
    fname;

if (system.args.length !== 3) {
    console.log('Usage: webthumb.js webURL filename');
    console.log('Usage: webthumb.js https://www.svnlabs.com svnlabs.png');
    phantom.exit(1);
} else {
    weblink = system.args[1];
    fname = system.args[2];    
    page.viewportSize = { width: 320, height: 480 };
    page.open(weblink, function (status) {
    if (status !== 'success') {
        console.log('Unable to open webpage!');
    } else {
        page.render(fname);
    }
    window.setTimeout(function () {
      phantom.exit();
    }, 3000);
    });
}

Download webthumb.js

# phantomjs webthumb.js https://www.svnlabs.com svnlabs.png
# phantomjs webthumb.js https://www.svnlabs.com svnlabs.pdf

You can even capture webpage as good quality PDF file πŸ˜‰

Output:

svnlabs.png
svnlabs.pdf

You can also use examples/rasterize.js for same sort of functions πŸ˜‰

# phantomjs examples/rasterize.js https://www.svnlabs.com/ svnlabs.png
# phantomjs examples/rasterize.js ‘https://www.svnlabs.com/’ svnlabs.pdf

rasterize.js – rasterizes a web page to image or PDF
render_multi_url.js – renders multiple web pages to images
technews.js – captures Google News as a PNG image

Swiffy converts Flash SWF files to HTML5


Hits: 6642  

I was working on Video Ads system for a client. I need a solution that can display ads on devices like Android / iPhone / iPad where flash is not supported.

So, after few searches I got SWIFFY … this is really very good tool to convert Flash files to html5. I tried some flash files and output html5 is working awesome on all devices πŸ˜‰

Swiffy converts Flash SWF files to HTML5, it allows to reuse Flash content on devices (iPhones, iPads and Androids) without a Flash player.

Swiffy 5.0 introduces experimental support for ActionScript 3.0.

Swiffy users can publish Flash files to HTML5 right from Adobe Flash Professional.

Google Swiffy Extension
Google Swiffy Extension

Swiffy converts a SWF file to an HTML5 page as a JSON object. The HTML5 page uses the Swiffy Runtime JavaScript library to render the animation using SVG. Compiled ActionScript code is also contained in the JSON file and executed as JavaScript in the browser.

Google Swiffy Features
Google Swiffy Features

Original Flash animation

Swiffy conversion

swiffyobject = JSON object returned from SWF File

var stage = new swiffy.Stage(document.getElementById(‘swiffycontainer’), swiffyobject);
stage.start();