Archive for the ‘programs’ Category

How to Download Encrypted FLVs

Thursday, April 22nd, 2010

picture-5

Ok. First: Don’t to this. Theoretical exercise. Technical experience. DRM stuff. People getting mad, etc etc etc.

HOW TO DO IT.
or really… how I did it because I’m sure there are a million easier ways. This method involves using terminal and looking at webpage source code, so if those things make you nervous… uuuhhh…. sorry.

  • 1. Lets say you’re watching the Colbert report and you want to download the video thats there. For later, like to watch on the train. Route around in the source and find the asset which makes the video play. Probably has *.swf in there somewhere (but probably not at the end of the string)*. Copy that to your clipboard and then paste it in your location bar. Hit enter.

  • *If it DOES have something like .flv or .mp4 or .mov RIGHT AT THE END of a string – no ? or & or = or fancy stuff – you’re probably in luck. If it doesn’t download (or appear to save) right away when you put it into your location bar, then try giving wget in terminal a try. Just simply
    wget http://thiswebsite/iwant/tostealavideofrom/thisvideo.mp4

  • 2. So now you have a screen which is one big flash player. Hit play if you want, but again: view the source. There’s another tag in there, probably an object tag, and it has an src attribute. Copy the contents of that SRC attribute to your clipboard.
  • 3. Google “url decoder” or use your favorite url decoder if you already have one. Paste that src tag into the decoder, decode it. Copy it, paste it into your location bar and hit enter. You get something that looks like an xml document
  • 4. Now, if it hasn’t already (which it probably has) this is where things will begin to vary differently depending upon which service is provided the encrypted stream. Basically, use your brains and eyes to locate the link in this weird xml document that looks like its either linking to an array of resources, or one specific video resource. For Colbert, it looks something like this:

    http://www.comedycentral.com/comedycentral/video/data/[REDACTED]?uri=mgid:cms:item:comedycentral.com:270712

  • 5. Copy this resource and put it into your location bar; hit enter. 1 of two things might happen: either 1.) you’ll be looking at a video for you to download or 2.) you’ll be looking at a string of resources. Those resources probably begin with the RTMPE or RTMP protocol. Copy the RTMPE protocol location of the video you want to view. Might look like:

    rtmpe://[REDACTED]/ondemand/mtvnorigin/gsp.comedystor/com/colbert/season_06/episode_049/cr_06049_04_512x288_625.mp4

  • 6. Download, install and use RTMPDUMP to copy this stream to a file: http://rtmpdump.mplayerhq.hu/
  • 7. Beer o’clock

Loveland

Monday, April 19th, 2010


+

I’m doing some work for an old and great pal, Jerry Pfaffendorf. His latest venture is a website where civilians are able to purchase square inches of land in Detroit for $1, and are able to do whatever they want with said land, with the obvious restriction that … well… it’s in Detroit. We’re hoping to solve a bunch of the proximity troubles through some internet hackatation and clevervility; we’ll see how it goes.

The end goal is a robust and sweet looking AR setup, but right now Jerry and some pals are just working on getting the camera going (an iPhone hooked up to a solar charged battery. The phone runs custom software which takes a photo and uploads it to flickr every couple minutes). Once thats up, I’ll be coding some simple image overlays so people can see how their inches measure up (har har!) IRL.

picture-2So, right now the recipe is something like flickr api, imagick, php and maybe some perl. Not to mention Lovelands own little URL based Api. Before long we’re talking some avidemux and ffmpeg, which I’m psyched about. More on this stuff when I’m not so pooped and there are slightly prettier images to look at.

More 7 Things Comments (and a book)

Thursday, December 3rd, 2009

picture-1

Managed to get upwards of about 10,000 comments from the 7 Things comment feed in clean XML. Worked with Patrick for a little to get it all styled and looking somewhat pleasant in XML. There is this somewhat unpleasant PDF… but if you want to be one of the cool kids you should totally BUY THE EFFING LULU BOOK WE MADE.

Monome Mach 01

Thursday, April 16th, 2009

Edit: 4-16-09. Further Progress.

(more…)

Jitter Patches used @ MemeFactory

Monday, March 30th, 2009

After the jump you’ll find the jitter patches I used to make the Me Doing Nothing videos and Advice Dog pictures from Memefactory. Things you will be missing: 5 30 video clips of Magibon doing nothing & the Oh! Exploitable! pic of Advice Dog.

(more…)