Batch Downloading in PHP

On March 14, 2012, in LAMP, Learning, Linux, Open Source, PHP, Tips, Web Application, by Sandeep Verma

Hits: 418  <?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; } ?>

Webisode

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

Install OpenMeetings

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

Live Camera Streaming With Flash Media Encoder & Red5

On February 27, 2012, in CentOS, Flex, Launch, Open Source, Red5, Web Application, Web Streaming, Wowza, by Sandeep Verma

Hits: 988  Download Adobe Flash Media Live Encoder 3.2 for live audio and video capture and encoder streams in real time. Install Red5 1.0 RC1 on CentOS Latest

Install Red5 1.0 RC1 on CentOS Latest

On February 26, 2012, in Amazon Cloud EC2 S3, CentOS, Cloud, Linux, Open Source, Red5, Web Streaming, by Sandeep Verma

Hits: 909  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 http://apache.cs.utah.edu//ant/binaries/apache-ant-1.8.2-bin.tar.gz # 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/classes.zip Also add these lines in /etc/bashrc at last to [...]

Audio.js with Volume Control

On February 12, 2012, in HTML5, Learning, Open Source, PHP, Web Application, Web Streaming, by Sandeep Verma

Hits: 893  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; [...]

Stream Live Event Using VLC Media Player

On February 10, 2012, in Launch, Learning, Open Source, Web Application, Web Security, Web Services, Web Streaming, by Sandeep Verma

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

Frames Website Template

On February 5, 2012, in LAMP, Learning, Open Source, PHP, Web Application, by Sandeep Verma

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

Advanced Stream Redirector

On February 3, 2012, in Learning, Open Source, PHP, Web Security, Web Services, Web Streaming, by Sandeep Verma

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

Video Overlay Ads

On January 29, 2012, in Javascript, LAMP, Learning, Open Source, PHP, Tips, Web Application, Web Security, by Sandeep Verma

Hits: 475  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.

Remote Secure Token

On January 28, 2012, in Imagine, Javascript, Learning, Observe, Open Source, PHP, Tricks, Web Application, Web Security, by Sandeep Verma

Hits: 635  Remote Secure Token Wowza Token We already compiled FlowPlayer & JWPlayer for remote secure token in flex / flash files http://blog.svnlabs.com/compile-or-build-flowplayer-or-jwplayer-to-create-secure-token-for-wowza-server/ http://blog.svnlabs.com/wowza-mediasecurity-addon-package/ http://blog.svnlabs.com/how-to-prevent-downloading-and-leeching-media-files/ (hotlink protection) Local Media Files We already protected local files using .htaccess file media hiding logic http://blog.svnlabs.com/secure-token-plugin-with-php/ http://blog.svnlabs.com/how-to-prevent-downloading-and-leeching-media-files/ (hotlink protection) External Media Files File can be protected both on server side [...]

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