Red5 figure out audio/video out of sync issue

I had worked Red5 WebCam application that lets users to record video clips from their webcams. The users could talk while they record clips. I was using PHP with Zend Gdata for uploading recorded video clips to YouTube. But I had issue in FLV files generated by Red5 server, the clip’s audio / video content … Read more

URL2Link – Detect URL and Convert to Link

URL2Link() is a function to change an email address or URL or FTP into a clickable HTML hyperlink using eregi_replace(). <?php function URL2Link($text) {   $text = eregi_replace(‘(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)’,     '<a href=”\\1″>\\1</a>’, $text);   $text = eregi_replace(‘([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_\+.~#?&//=]+)’,     ’\\1<a href=”http://\\2″>\\2</a>’, $text);   $text = eregi_replace(‘([_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3})’,     '<a href=”mailto:\\1″>\\1</a>’, $text);       return $text; } // Usage // Email address example $text = “[email protected]”; … Read more

Amazon SES – Emails In Cloud

Amazon Simple Email Service (Amazon SES) is a highly scalable and cost-effective bulk and transactional email-sending service for businesses and developers. Amazon SES eliminates the complexity and expense of building an in-house email solution or licensing, installing, and operating a third-party email service. The service integrates with other AWS services, making it easy to send … Read more

Amazon S3 Server Side Encryption (SSE)

Amazon S3 announced a new encryption feature Server Side Encryption (SSE). Amazon S3 SSE provides you the ability to encrypt data stored at rest in Amazon S3. With Amazon S3 SSE, you can encrypt data on upload simply by adding an additional request header when writing the object to Amazon S3. Decryption happens automatically when … Read more

Pretty Print JSON

We can use function json_print() to explore JSON data, since JSON has no spacing or indentation. The function json_print() make JSON data to display in the human-readable format. <?php function json_print($json) {     $result = ”;     $pos = 0;     $strLen = strlen($json);     $indentStr = ‘ ‘;     $newLine = “\n”;     $prevChar = ”;     $outOfQuotes = true;     for … Read more

Facebook Application Development PHP SDK 3.1.1

Facebook is going to upgrade Developer API by 1st October 2011. All sites and apps on Facebook will migrate to OAuth 2.0 through this update. This will ensure that users browsing Facebook over HTTPS will have a great experience over a secure connection. We can imagine that these changes will make facebook better and more … Read more

Upgrade Your App to OAuth 2.0 and HTTPS by October 1st

Facebook is going to upgrade Developer API by 1st October 2011. All sites and apps on Facebook will migrate to OAuth 2.0 through this update. This will ensure that users browsing Facebook over HTTPS will have a great experience over a secure connection. We can imagine that these changes will make facebook better and more … Read more

Online Learning – Sharable Content Object Reference Model

E-Learning is a great way to spread knowledge in university, company or any other organization. Sharable Content Object Reference Model (SCORM) is a collection of standards and specifications for web-based e-learning. It defines communications between client side content and a host system called the run-time environment, which is commonly supported by a learning management system. … Read more

Recognize Represent the Parallel Processable Statements in ‘C’ Program

As the world is moving towards faster and reliable technologies, the trend of computing is turning towards parallel processing. High-performance computers are increasingly in demand in the advanced human civilization. Parallel processing has emerged as a key enabling technology in modern computers. For exploitation of parallelism, a theoretical treatment is needed. For this, we have … Read more

Update Moodle Tracker Module

The Tracker module provides a light but full-featured issue and task tracker, a ticketing system if you will, in Moodle. It is an activity module which can be used to operate a helpdesk, as a support and coordination tool for Moodle administration, as a task and project management tool within courses, as a bug tracking … Read more