Preparing Ubuntu for gstreamer development

GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing. In this post will we list the packages you will require to install on your ubuntu machine to get started with gstreamer application development. $ … Read more

Convert different video formats (AVI to mp4) using handbrake on Ubuntu

If you want to convert any AVI file to MP4 or compatible to be used in mobiles, you want to that on ubuntu using “HandBreak” and ffmpeg. First, make sure you have handbreak installed on ubuntu, if not you can use below commands to do that, $ sudo add-apt-repository ppa:stebbins/handbrake-releases These are the official HandBrake … Read more

C program – UDP Server to print UPNP Packets

This posts provides the C program with UDP server, which listens on UDP Multicast group 239.255.255.250 and port 1900 so that all the UPNP Packets flowing in the network can be captured for debugging during any application development. $ vim upnp_udpserver.c Now, compile this program and run as, $ gcc -o upnp_udpserver upnp_udpserver.c $ ./upnp_udpserver … Read more

Sending AVTransport commands to UPNP DMR using command line

If you are working on developing DMR (Digital Media Renderer) or DMC ( Digital Media Controller) for UPNP, its possible that we need to emulate the communication between two during the development. We tried to do the same by trying to send the HTTP Post commands to our DMR in our Sony TV from the … Read more

Universal Android Music Player Example

This post shows how to implement an audio media app that works across multiple form factors and provide a consistent user experience on Android phones, tablets, Android Auto, Android Wear, Android TV, Google Cast devices, and with the Google Assistant. $ git clone https://github.com/android/uamp.git $ cd uamp

Audio, Video test files (samples) with different codec support

This post lists the different Audio and Video samples as found in internet with different codec’s required for testing multimedia applications during development OR to verify if your TV, Set-Top-Box or computer supports the playback of this different media formats. 4K, 8K Video HDR at youtube Kodi Samples Big Buck Bunny, Sunflower version Big Buck … Read more

Identify UPNP SSDP packets from your network

The following script Written by nabe@abk (Credit to author) displays the UPNP Simple Service Discovery Protocol (SSDP) packets from your network. $ vim ssdp-test.pl Now, run this script as, $ perl ssdp-test.pl You can also refer to C program – UDP Server to print UPNP Packets

Script to find UPNP devices / servers in a network

This post details about how you can search and identify the details about the UPNP devices available in your office or Home local network. UPNP Info Python script $ git clone https://github.com/lynxbee/upnp_info.git $ cd upnp_info $ python upnp_info.py Note: while running above script, refer another post “Solved: ImportError: No module named requests” if you get … Read more

Identify media encoder / decoder (codec) information of Android device

This post details, how you can obtain the media encoder and decoder ( codec) information of your android Android device. First we will show, how you can use media codec API’s to get this information. You just follow the steps from “Android demo application with button click event” to create the demo application and then … Read more