Liquidsoap GStreamer

Liquidsoap is a programming language to manage audio and video source streams for Icecast Radio server. Liquidsoap is a powerful and flexible language for describing, creating or transforming streams. It offers rich operators and library that you can be used for making Icecast Radio Server. Now Play Your Favorite Radio FM Stream in HTML5 Player….. … Read more

Audiojs.swf?playerInstance audiojs instances [%27audiojs0%27]

If you are using audio.js as MP3 player or playlist …. on some browser it causing error 403 to access SWF file with player instance http://yourdomain.com/audiojs/audiojs.swf?playerInstance=audiojs.instances[%27audiojs0%27]&datetime=1382426114401.4087 You need to make sure you have right permission on that SWF file and check JavaScript playerInstance below…. http://yourdomain.com/audiojs/audiojs.swf?playerInstance=audiojs.instances[%27audiojs0%27]&datetime=1382426114401.4087 Solution: Just replace code (Original audio.js) flashSource: ‘\ <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ … Read more

Creating Zip Without Recording ROOT Paths

Simply use chdir() to change the working directory before you exec() Or you can use …. exec(“cd /var/www/html/media; zip -r -9 Media.zip . 2>&1”, $log); exec(“mv /var/www/html/media/Media.zip /var/www/html/Media.zip”); Get zip file size exec(“ls -ls /var/www/html/Media.zip | awk ‘{print $6}’ 2>&1”, $size); $zipsize = implode(” “, $size); Without this solution Length Date Time Name ——– —- … Read more

Best PHP Encryption Decryption

I was working on Secured & Expired MP3 Link in HTML5 MP3 Player. Hope you already read previous article “Amazon S3 Expiring Link” You can use below code for hiding real mp3 link inside html source using base64_encode, mcrypt_encrypt, base64_decode, mcrypt_decrypt and md5. This function is also useful when you need to secure & expire … Read more

Amazon S3 Expiring Link

I was working on Amazon S3 Cloud HTML5 MP3 Player for S3 Bucket security and Expiring Media links. <?php   if(!function_exists(‘el_crypto_hmacSHA1’)){       /**       * Calculate the HMAC SHA1 hash of a string.       *       * @param string $key The key to hash against       * @param string $data The data to hash       * @param int $blocksize Optional blocksize       * … Read more

Install Streaming Audio Server With Icecast 2.3.3

I need to install streaming audio server with Icecast (OGG/MP3) for one of my great client in service of http://html5.svnlabs.com/. Icecast was designed to stream any audio file using ices and icegenerator for MP3 and OGG/Vorbis audio files. I already did lot of work using Shoutcast, SAMCast and SAM Broadcaster, Its very easy to use … Read more

FFmpeg – ERROR: librtmp not found

I was installing FFmpeg for segmenting Red5 Streams to stream live video from Red5 Server to iOS or Android devices. RTMP (Red5) -> FFMpeg -> Segementer -> .ts files -> iOS (m3u8) I really needed mp4 (AAC/H.264) and ogg (Vorbis/Theora) format for best HTML5 output. I checkout FFmpeg source and tryed below command to install … Read more

Audio Video Formats

You might have problem understanding audio video formats. All formats vary from size and quality. Audio Formats WAV This is a uncompressed format used for CD quality audio. MP3 This is compressed format, it remove some frequency to optimize music files. WMA This format is developed by Microsoft used for DRM (copy protection) facility. AAC … Read more

Wowza Live Audio Video Mixing

Wowza doesn’t do transcoding. So, we highly recommend to use FOSS solutions Where we need Wowza Live Audio Video Mixing? 1) Live event is broadcasting through Wowza 2) We need a multi lingual setup somewhere and comment or transcode that live event with voice. 3) Flash client might receive the stream where Output Video Stream … Read more