Create Website Thumbnails using PhantomJS

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 … Read more

Free Cloud Server Hosting

Benefits of Free Cloud Hosting * Self-Managed with Console * Free storage * Easy application deployment * Production ready apps * Cloud hosts (IaaS) * Automatic backup & recovery * Server resizing * Migration facility * Portability * Cloud portability * Free bandwidth * Enhanced performance * High availability of resources * Data storage redundancy … Read more

Upload Large Files from Amazon S3 Bucket to Dropbox Folder

Dropbox Uploader is a BASH script (only needs cURL) which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service. Usage: ./dropbox_uploader.sh COMMAND [PARAMETERS]… Secure:It’s not required to provide your username/password to this script, because it uses the official Dropbox API for authentication process. START … Read more

Amazon S3 Cloud HTML5 MP3 Player

Amazon S3 Cloud HTML5 Player plugin that allows you to link to your amazon S3 bucket and sets up a HTML5 Player playlist (horizontal or vertical). This plugin will support MP3 files only. Amazon S3 Cloud HTML5 MP3 Player is not associated in any way to amazon.com Get Self Hosted Amazon S3 Cloud HTML5 MP3 … Read more

Amazon S3 Error Handling

Amazon S3 PHP Class A standalone Amazon S3 (REST) client for PHP 5.2.x using CURL that does not require PEAR. AMAZON S3 (Scalable Storage in the Cloud) PHP CLASS // AWS access info if (!defined(‘awsAccessKey’)) define(‘awsAccessKey’, ‘CHANGE-KEY’); if (!defined(‘awsSecretKey’)) define(‘awsSecretKey’, ‘CHANGE-KEY’); OO method (e,g; $s3->getObject(…)): $s3 = new S3(awsAccessKey, awsSecretKey); Statically (e,g; S3::getObject(…)): S3::setAuth(awsAccessKey, awsSecretKey); … Read more

Recover MySQL root Password

1. Stop the MySQL server. # /etc/init.d/mysql stop 2. Start the MySQL server process with the –skip-grant-tables option so that it will not prompt for password. # mysqld_safe –skip-grant-tables & 3. Connect to mysql server as the root. # mysql -u root Welcome to the MySQL monitor…. ……….. Type ‘help;’ or ‘\h’ for help. Type … Read more

Install ImageMagick

ImageMagick can be installed on Windows, Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. Note: Make sure you have installed GhostScript and FreeType already 😉 More help https://www.svnlabs.com/blogs/install-openmeetings/ Download & Unpack # wget http://www.imagemagick.org/download/ImageMagick.tar.gz # tar xvfz ImageMagick.tar.gz Configure # cd ImageMagick-6.8.0-4 (or current version) # ./configure Build # … Read more

FFMpeg Video to Image Gallery

1. FFMpeg create images using video source # ffmpeg -i video.mp4 -s 560×315 images/image%d.jpg 2. Create image sequence gallery <?php $files = array(); foreach (glob(“images/*.jpg”) as $filename) { $files[] = $filename; } natsort($files); ?> <div id=”slideshow”> <?php $i=1; foreach ($files as $filename) { if($i%15==0) { ?> <img src=”<?php echo $filename; ?>” <?php if($i==15) { ?> … Read more

Red5 Media Server iOS Android Setup

Hope you already read our previous article “VOD to iOS” ?   How you can use Red5 Server for streaming to iPhone, iPads and Android? S V N Labs Softwares implements an iOS/Android add-on setup for Red5 Server to stream both Flash, iOS and Android devices. This add-on also supports setup of JW Player, Flowplayer and … Read more

Install rtmpdump in CentOS

I was compiling FFmpeg with RTMP support, but it requires librtmp >= 2.2.f [root@svnlabs ffmpeg]# ./configure –enable-gpl –enable-nonfree –enable-libmp3lame –enable-libfaac –enable-librtmp –enable-libtheora –enable-libvorbis –enable-libx264 –enable-shared –enable-postproc –disable-yasm Package librtmp was not found in the pkg-config search path. Perhaps you should add the directory containing `librtmp.pc’ to the PKG_CONFIG_PATH environment variable No package ‘librtmp’ found ERROR: … Read more