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

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