SQL: The Essential Database Language

Structured Query Language (SQL) is a specialised programming language designed for use with databases. SQL is a standard language when working with relational databases, allowing rapid sorting of large databases. If you are serious about a career in IT, then SQL training is essential, even if you don’t plan on becoming a database specialist. There … Read more

Live Transcoder for Nimble Streamer

WMSPanel’s Transcoder for Nimble Streamer is a premium add-on for Nimble Streamer which can decode, transform and encode live streaming media. The Transcoder use H.264, MPEG2 video and AAC, MP3, MP2, Speex audio as Input. It support RTMP pulled and published, RTSP pulled and announced, MPEG-TS via HTTP and UDP as input protocols. The Transcoder … Read more

Setup SHOUTcast Radio server on Linux

Download and install SHOUTcast DNAS server software Create new user for running SHOUTCast: # useradd shoutcast Download Shoutcast DNAS package: http://download.nullsoft.com/shoutcast/tools/ # wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz Extract SHOUTcast files: # mkdir sc # tar -xvf sc_serv2_linux_x64-latest.tar.gz -C sc Change the ownership from root to the SHOUTcast user: # chown -R shoutcast:shoutcast sc Configuring SHOUTcast Server # cd … Read more

Wowza Live Stream thumbnail images with HTTP Provider

To get thumbnail images from Wowza Transcoder with an HTTP Provider Wowza Media Server 3 or later is required. Config file to edit for Wowza Live Stream Thumbnails [wowza-install-dir]/conf/VHost.xml <HTTPProvider> <BaseClass>com.wowza.wms.transcoder.httpprovider.HTTPTranscoderThumbnail</BaseClass> <RequestFilters>transcoderthumbnail*</RequestFilters> <AuthenticationMethod>none</AuthenticationMethod> </HTTPProvider>   PHP code //No Authentication exec(‘curl “http://[wowza-ip-address]:8086/transcoderthumbnail?application=[application-name]&streamname=[stream-name]&format=[jpeg or png]&size=[widthxheight]”‘); //With Authentication exec(‘curl – -digest -u [wowza-admin-user]:[wowza-admin-password] “http://[wowza-ip-address]:8086/transcoderthumbnail?application=[application-name]&streamname=[stream-name]&format=[jpeg or png]&size=[widthxheight]”‘); [wowza-ip-address]: The … Read more

Importing data from non-wordpress mysql database

You have to create an import php file to get the Questions/Answers from a non-wordpress database and bring them into posts in wordpress. Question Table <?php /// non-wordpress database connection string here require(‘./wp-load.php’); $results = mysql_query(“SELECT * FROM questions”); while ($row = mysql_fetch_assoc($results)) {     $post_information = array( ‘post_title’ => wp_strip_all_tags( $row[‘question’] ), ‘post_content’ => $row[‘answer’], … Read more

Install Red5 Media Server on Ubuntu / Debian

Red5 is free media server based on Java and other open source frameworks. It support FLV, F4V, MP4, 3GP, MP3, F4A, M4A, AAC and protocols like RTMP, RTMPT, RTMPS, RTMPE. Install Red5 Media server # apt-get install red5-server Red5 Need below ports open in firewall / iptable RTMP: 1935 Debug proxy: 1936 HTTP servlet: 5080 … Read more

User Agent Parsing with PHP

Tobie Langel’s ua-parser, a great library which provides simple UA parsing in PHP, JavaScript and Python. <?php require_once ‘uaparser.php’; $ua = $_SERVER[‘HTTP_USER_AGENT’]; $parser = new UAParser(); $result = $parser->parse($ua); echo ‘<pre>’; print_r($result); ?> Find more libraries here… https://github.com/rjd22/ua-parser/tree/master/php https://github.com/Synchro/ua-parser

MistServer PHP API for Live Stream

MistServer is a highly versatile, lightweight, customizable open-source multi-standard multimedia server. MistServer configuration is easy to use for full CDN solutions applications. Hope you already read our article to Install MistServer MistServer API provides a Server API and a Management API. You can find MistServer PHP API Examples Here Note: Make sure port 4242 used … Read more