Getting the most out of plymouth or how to make raspbian jessie boot with a full splash screen

Raspberry Pi
Assuming you want the fancy splash screen (ie you want to hide the ugly boot messages), add "quiet splash logo.nologo plymouth.ignore-serial-consoles" to the end of the single line in /boot/cmdline.txt file. This enables the splash screen. Now you need to choose one (I like spinfinity), so issue the following command to switch from default (bland grey screen): sudo plymouth-set-default-theme spinfinity There are other themes as well (some don't seem to work properly for me. To find out what's installed and use it in the above command issue: sudo plymouth-set-default-theme -l You might notice that there is a black border on your splash screen. Overscan problem, so disable it by adding (uncommenting) this line to /boot/cmdline.txt disable_overscan=1 To disable console from blanking out add "consoleblank=0" to the end of the single line…
Read More

Designing a six channel 24/7 streaming video player for digital signage

Raspberry Pi
So here are the design goals: Provide atleast 6 channels of streaming video. Allow "hot" switching between streams using a remote control. Allow network to fail and be able to have the stream automatically recover. Allow the Pi to autostart on a particular stream when powered. Be flexible enough to potentially provide more than 6 channels of streaming video. System will be hosted on a read-only Micro-SD card to lessen the chance of long term SD corruption. Here are the assumptions: System is based on Raspberry Pi 2 B+ as a minimum (old Pi 1 and Pi zero have not been tested, but should work). System uses HDMI audio and or analogue audio out from Pi's 3.5mm jack. System is limited to 720p and 1080p output. System has been tested…
Read More

Media RSS (MRSS) generator script

Uncategorized
I came across a DOS batch file that generates the necessary xml manifest for Video files on BrightSign's Developer Resources and Utilities page. Since I'm serving my video content to our BrightSign infrastructure from a LAMP stack I ended up rewriting their bat file as a shell script. This enables me to host the shell script in a local directory (/usr/local/bin) and run it from cron every 5 minutes against a folder full of mp4 files and have the MRSS manifest written to this folder as well. Then all that needs to be done is to point the BrightSign MRSS widget at the URL for the xml file (http://server-FQDN.com/VideoMRSS.xml). The crontab entry looks like: */5 * * * * /usr/local/bin/VideoMRSS.sh /var/vhosts/jrnsignage/ >/var/vhosts/jrnsignage/VideoMRSS.xml The script itself is pretty simple. I've tried…
Read More

sweet captcha site has been hacked – rhpop javascript

Uncategorized
Fresh after recovery, I figured I write a small piece before I go home. If you're seeing ad pop-ups or pop-unders from sites that load up something like rhpop-xxxxxx.js then you might have the sweetcaptcha plugin installed on your wordpress site. Let's hope you're the one who installed it -- not the hacker :-), you might want to de-activate it and remove it from your system. Their site has been compromised and the wordpress plugin has also been pulled off the list. More general info here: https://blog.sucuri.net/2015/06/sweetcaptcha-service-used-to-distribute-adware.html Happy hunting.....
Read More

IRadio = Raspberry Pi + Adafruit PiTFT (with buttons) + MPD + NCMPCPP + Bluetooth BeatsPill Speaker + Custom Frame Buffer Pygame code

Apache, audio, Bluetooth, Codec, Electronics, flac, LCD, Linux, Music, Opensource, Raspberry Pi, Tutorial
So over christmas holidays I spent about 5 days to perfect my raspberry pi based internet radio player. You’ll need the following hardware: Raspberry Pi model B USB Wifi dongle (something that works with Raspbian would be nice). I got this one (http://www.adafruit.com/products/1030) from Adafruit. SD card (I’m using a 16GB card, but I think 8GB should be good to start with) Bluetooth 4.0 dongle. I’m using this one from ASUS (http://www.asus.com/ca-en/Networking/USBBT400/) that seems to work fine in Linux/Raspbian PiTFT resistive touch screen assembled from Adafruit (http://www.adafruit.com/products/1601) Pack of 20 tactile buttons from Adafruit (http://www.adafruit.com/products/1489) for the above screen (You need to solder these in…..very simple) Appropriate power USB power supply. Again I’m using the one from Adafruit (http://www.adafruit.com/products/501) Standard A to micro-B USB cable (http://www.adafruit.com/products/592) (optional) PiTFT Enclosure from…
Read More

JWPlayer 6.x plugin for WordPress….RTMP and HLS stream short code definition.

Uncategorized
Not sure why this is such a mystery, but it took the better part of the day to troubleshoot. The main issue with forum posts is that people have the right idea/intention, but the forum software mistreats the actual command line/short code. Spacing really really (did I say really) matters. I'm assuming that you're using the default player definition that comes with the plugin. If you need to change it then make the appropriate change to this code as well. The code to get both RTMP and HLS working depends on defining both of those sources. In my case the source is my Wowza Server and I have two URI's: 1) For HLS I use http://wowza.server.ip.address:1935/live/many/playlist.m3u8 2) For RTMP I use rtmp://wowza.server.ip.address:1935/live/many Obviously as you can see my Wowza application is "live"…
Read More

NAB2014 Report

audio, Codec, conversion, DCinema, HDTV, Media, NAB, NERD, Ryerson University, Technology, Video
DEKTEC: DekTec introduced the DTA-2180 low profile PCIe H.264 encoder. The DTA-2180 is a low latency — 150 to 600 ms -- H.264 hardware encoder based on the Magnum chipset. It supports MPEG-2 and H.264 and up to 16 channels of audio. Audio can be encoded as AC-3, AAC or MPEG-1 Layer 2. The DTA-2180 offers a 10 bit 4:2:2 option for contribution encoding.The DTA-2180 has a 3G –SDI and HDMI input and an ASI output. The compressed stream output — TS encapsulated H.264 or mpeg-2 — is also available on the PCIe for real time streaming, processing and recording. NIMBUS: The WiMi6400T and WiMi6400R provides high quality Full HD encoding/decoding function with low latency of 40ms for encoding and decoding, each. It supports wide range of encoding rate from 1Mbps ~…
Read More

Proxmox VPS for web development recipe….

Apple, Linux, proxmox, Ubuntu, Unix, Virtual Hosts
A little while ago our web developer asked me to look into proxmox containers and how we could take advantage of it to setup a development environment for him. The idea was to use the power of linux containers and enable him to develop fully functional/accessible sites in a private container. Here are the steps we will cover in this article: Install proxmox on a machine with a single public IP address Secure the machine with ufw to only allow connections from a specific IP address space Setup a admin user other than root for proxmox admin interface Setup proxmox to use the single IP address and the vmbridge for masquerading Setup two Linux Ubuntu 12.04 containers with private addresses and enable the to access the internet via the bridge…
Read More

Proving the Network is Not the Problem With iperf – Packet Life

Sysadmin, Tutorial, Unix
Proving the Network is Not the Problem With iperf - Packet Life: "When an application fails to perform as expected, the network is often the first thing blamed. I suppose this is because end users typically view the network as the sole limiting factor with regard to throughput, unaware of the intricacies of application, database, and storage performance. For some reason, the burden of proof always seems to fall onto networkers to demonstrate that the network is not at fault before troubleshooting can begin elsewhere. This article demonstrates how to simulate user traffic between two given points on a network and measure the achievable throughput." (Via.)
Read More