rtmpdump -v -m6 -B6 -r rtmp://URL -o /tmp/test.flv &> /tmp/rtmpdump.info; cat /tmp/rtmpdump.info | grep INFO
Archive | Media
mencoder / ffmpeg encoding conversion commands
Links: http://wiki.dvbowners.com/index.php/Mencoder http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide
Tweak to fix slow & choppy video playback on VLC
In VLC Preferences: Subtitles & OSD: – Enable On Screen Display (OSD): unchecked – Show media title on video start: unchecked Input & Codecs: – Use GPU accelerated decoding: checked – Video quality post-processing level: set to 3 or lower – Skip H.264 in-loop deblocking filter: set to All Please comment if you have any […]
Tesseract OCR
OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage: convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif decode with tesseract tesseract output.tif result; cat result.txt
SparkleShare + Dashboard
SparkleShare: # Run all of the following commands as the root su # Fetch the Dazzle script curl https://raw.github.com/hbons/Dazzle/master/dazzle.sh \ –output /usr/bin/dazzle && chmod +x /usr/bin/dazzle # Run the initial setup dazzle setup # Link SparkleShare clients using their link codes (found # on the client in the SparkleShare folder) dazzle link # Create a […]
Driftnet – misc scripts
#!/bin/bash mpixW=250 mpixH=300 if [ “x`which identify`” != x ] ; then echo `which identify` found! echo Tossing images less than $mpixW pixels. while true ; do read img imgType=$( expr `identify -format ‘%e’ “$img”` ) if [ “$imgType” == “jpeg” ] ; then sizeW=$( expr `identify -format ‘%w’ “$img”` ) sizeH=$( expr `identify -format […]
Hulu location check work arounds
Method 1: Add this to the hosts file: 127.0.0.1 releasegeo.hulu.com Method 2: With Firefox and Foxyproxy addon. First add your proxy to the Foxyproxy proxies and “http://releasegeo.hulu.com/geoCheck” to the whitelist. Now make sure to use the “Use proxies on their pre-defined patterns and priorities”-mode. (Right click on the bottom right where is says “FoxyProxy:”) This […]