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. Now, compile this program and run as, Once you run the program as above, you will see … Read more

Installing GStreamer on Linux for application 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. Now, … Read more

How to record Ubuntu Desktop to save as Video ?

If you are looking for sharing some errors / warnings with developers, the best way is to reproduce the steps and share the video.. If you are using Ubuntu, and want to record your screen or alternatively can be called as capture your screen to save as video, you can do it in two ways.. … 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

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

Android Applications for Audio, Video and Images Casting to TV / STB

This posts details about the list of Android applications which you can use to cast your Audio, Video and Images from your Mobile to Smart TV, Android TV or Set-Top-Box ( STB ) Chromecast If your TV is Android TV or have support for Youtube Casting, it means your TV has inbuilt support for ChromeCast … Read more

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 [bash] #!/usr/bin/perl ################################################################################ # SSDP discover Written by nabe@abk / This is PDS ################################################################################ use strict; use Socket; my $CAST = ‘239.255.255.250’; my $PORT = 1900; ################################################################################ my $msg =<<SSDP; M-SEARCH … Read more

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