Batch Downloading in PHP

<?php for($d=1;$d<=100;$d++) { $link=”http://www.domain.com/demos/”.$d.”/source.zip”; if(http_url_exists($link)) {   echo”Processing: “.$link.”<br>”;      exec(“wget -O “.dirname(__FILE__).”/download/source-“.$d.”.zip “.$link.” 2>&1″,$pp);      echoimplode(“”,$pp);echo”<br><br>”; } } //$file_headers = @get_headers($file); //’HTTP/1.1 404 Not Found’   function url_exists($url){     if(!$fp=curl_init($url))returnfalse;     returntrue; } function http_url_exists($url){          $file_headers=@get_headers($url);          if($file_headers[0]==’HTTP/1.1 404 Not Found’)         returnfalse;          returntrue; } ?>

Image Matrix Using ImageMagick

ImageMagick create, edit, compose, or convert bitmap images. It can read and write images in different formats including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Image Operations * Resize * Flip * Mirror * Rotate * Distort * Shear * Transform * Adjust image colors * Special Effects * Draw … Read more

Webisode

The webisode is simply a web episode, this is a new medium called web television that stream live broadcast, dramas, serial storyline, media events online over the Internet The webisode is web episode especially viewed at a Web site for TV show have been telecast. Technologies Used * HTTP * RSS/JSON * RTSP/RTMP * SMIL * … Read more

Install OpenMeetings

OpenMeetings – An Open Source Web Conferencing Solution that share microphone or webcam, share documents on a white board, share your screen or record meetings. Install Development Tools # yum groupinstall “Development Libraries” -y # yum groupinstall “Development Tools” -y IPTables – Make sure the following firewall ports are open 1935 (RTMP), 8088 (RTMP-Over HTTP), … Read more

VLC is not supposed to be run as root. Sorry

Today I need to install VLC Media player on CentOS 5.x to capture remote live event from VLC client as HTTP stream. So, I have installed that using # yum install vlc But VLC can not be run as root privileged user 🙁 # vlc VLC is not supposed to be run as root. Sorry. … Read more

Audio.js with Volume Control

I was working on HTML5 MP3 Player Project using audio.js and I got Audio.js with Volume Control to control the volume for the Flash alternative player? <script> audiojs.events.ready(function() { var as = audiojs.createAll(), audio = as[0], ids = [‘vol-0’, ‘vol-10’, ‘vol-40’, ‘vol-70’, ‘vol-100’]; for (var i = 0, ii = ids.length; i < ii; i++) … Read more

Stream Live Event Using VLC Media Player

Windows Media Encoder is a media encoder developed by Microsoft which convert or capture or broadcast both prerecorded & live media like audio, video and computer screens to WMV formats for live and on-demand service. But if you are on Linux you must have some questions in mind… 1. How to Stream Online Using Internet … Read more

Frames Website Template

The frameset element holds frame elements that can display a separate document. The <frameset> element specifies columns or rows in the frameset with percentage/pixels width. If the browser can’t display frames or is configured not to, it will render the contents of the NOFRAMES element. <framesetrows=”60, *, 25″> <framesrc=”head.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”no”> <framesetcols=”225,*,100″> <framesrc=”left.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”yes”> <framesrc=”content.html”marginheight=”0″marginwidth=”0″frameborder=”0″name=”content”scrolling=”auto”id=”content”> <framesrc=”right.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”yes”> </frameset> <framesrc=”footer.html”marginheight=”0″marginwidth=”0″frameborder=”0″scrolling=”no”> … Read more

Advanced Stream Redirector

The Advanced Stream Redirector (ASX) format is used to store playlist of Windows Media files for a multimedia presentation using HTTP, RTSP and MMS streaming protocols. ASF (Advanced Streaming Format) is a streaming media format developed by Microsoft. ASF files contain video, audio, slide shows and synchronized events for WMV files. * The ASF file … Read more

Video Overlay Ads

We can use overlay code to map video/image using DIV elements on main element. Concentrate Observe Imagine Launch Demo: http://demo.svnlabs.com/video-overlay/ Maturity is not when we start speaking BIG things But..Actually it is, When we start understanding small things.