The h264 encoder can produce a higher quality video at a lower bitrate, saving you bandwidth costs. We encode all videos at 512kbps.
Load balancing server is capable of running simultaneously in an array of replicated servers to handle any volume of videos from our users.
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1421
http://www.linuxjournal.com/article/9005
http://www.elctech.com/articles/installing-ffmpeg-with-faac-and-x264-encoders-from-source-on-ubuntu
http://research.edm.uhasselt.be/~h264/ (intro)
http://flowplayer.org/forum/7/12671
http://www.myownserver.info/index.php/additional-configurations-and-settings-linux/49-ffmpegpackagelinuxinstall.html
http://eugenia.gnomefiles.org/2008/10/23/h264-encoder-benchmark/
http://www.videolan.org/developers/x264.html
http://blogs.smugmug.com/don/2007/08/21/finally-flash-supports-h264-video/
http://www.flvhosting.com/help/viewthread.php?id=147
http://getonebyone.com/h264.html#Downloads
http://blog.monogram.sk/janos/2008/12/29/monogram-x264-encoder-1020/ (good)
http://ubuntuforums.org/showthread.php?t=786095
http://me.dm/blog/2009/01/using-cloudberry-explorer-with.php
http://streamincloud.com/examples/
http://www.youtubehq.info/convert-your-video-to-h264-for-free/
http://bradrhoads.blogspot.com/2009/03/flash-with-high-quality-video-mp4-with.html
http://videocodecs.blogspot.com/
http://videos-flash.blogspot.com/2007/01/flash-video-streaming-and-open-source.html
http://linux-tipps.blogspot.com/2008/08/hd-video-encoding-in-sync-with-ffmpeg.html
http://www.nazly.net/post/installing-ffmpeg-and-ffmpeg-php-on-centos-230/
http://juliensimon.blogspot.com/2008/12/howto-compiling-ffmpeg-x264-mp3-xvid.html
http://www.austenconstable.com/2008/08/06/howto-compiling-the-latest-ffmpeg-x264-on-centos-4/
http://www.mediacollege.com/
Happy streaming!
Tuesday, April 28, 2009
Monday, April 20, 2009
Resize YouTube Video
Here is the code how to resize youtube video embed code, even this code will work to non-youtube embed videos.....
<?php
$embed = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/SOiGqFceMYo&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SOiGqFceMYo&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
//$alt = preg_match_all('/(width|height)=("[^"]*")/i', $embed, $matches);
$embed = preg_replace('/(width)=("[^"]*")/i', 'width="200"', $embed);
$embed = preg_replace('/(height)=("[^"]*")/i', 'height="200"', $embed);
echo $embed;
?>
Output here:
Now try to resize youtube player with php regular expression replace preg_replace()......
<?php
$embed = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/SOiGqFceMYo&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SOiGqFceMYo&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';
//$alt = preg_match_all('/(width|height)=("[^"]*")/i', $embed, $matches);
$embed = preg_replace('/(width)=("[^"]*")/i', 'width="200"', $embed);
$embed = preg_replace('/(height)=("[^"]*")/i', 'height="200"', $embed);
echo $embed;
?>
Output here:
Now try to resize youtube player with php regular expression replace preg_replace()......
Sunday, April 19, 2009
Install PECL on Windows
PECL is a repository for PHP Extensions, providing a directory for php extensions and hosting facilities for downloading and development of PHP extensions.
We can use Xampp 1.7 with PECL on Windows!
Download PECL from here....
http://in2.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror
Using PECL we can improve web application's speed using APC ....
http://www.rooftopsolutions.nl/article/107
Sandeep Verma.
We can use Xampp 1.7 with PECL on Windows!
Download PECL from here....
http://in2.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror
Using PECL we can improve web application's speed using APC ....
http://www.rooftopsolutions.nl/article/107
Sandeep Verma.
Friday, April 17, 2009
Javascript Event Log ~ Console
This is the javascript function used for tracking javascript events as in alert(). This may be replacement of alert() to better track the javascript events and error/success messages.
/*
Below is the function where to call console()
*/
window.document.onclick = function(){ console(window.event.target.onclick) };
function console(msg)
{
mywin = window.open('', 'console', 'width=500,height=150,left=800,top=800,scrollbars=yes,location=no');
if (mywin && msg!=null)
mywin.focus();
mywin.document.title='Javascript Console...';
if(msg!=null)
mywin.document.writeln('<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; border-bottom: 1px dotted #FFB64A; padding:4px;">'+msg+'</div>');
}
/*
Below is the function where to call console()
*/
window.document.onclick = function(){ console(window.event.target.onclick) };
function console(msg)
{
mywin = window.open('', 'console', 'width=500,height=150,left=800,top=800,scrollbars=yes,location=no');
if (mywin && msg!=null)
mywin.focus();
mywin.document.title='Javascript Console...';
if(msg!=null)
mywin.document.writeln('<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; border-bottom: 1px dotted #FFB64A; padding:4px;">'+msg+'</div>');
}