Archive for April, 2010

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

Objects without History

Wednesday, April 21st, 2010


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.

Recently Penned Over-Wrought Potential Songtitles

Monday, April 5th, 2010

Photo by http://www.flickr.com/photos/valerianasolaris/

  • i hear myself in this
  • if not now, when?
  • if i can forgive myself one thing, let it be this
  • memories of things which have no history (or something along these lines)
  • it comes and then probably, yeah : it goes.

Just Some Notes

Sunday, April 4th, 2010

4376708570_6ca3483c9d_b
photo by crunchcandy.

The First.

A man who is able to – and perhaps compulsively does – take notes of every occurrence within his immediate surroundings. That is to say, he able within the span of one minute to record the entirety of that minutes happenings restricted on to his current locus. Does this ability betray further special skills: Time travel? Extremely quick handwriting? Omniscience? Perhaps the man is not a normal man, but perhaps he is. Were he not a normal man, who would he be… God, perhaps? Were he a “normal” man, it’s rather unlikely you’d welcome such hurried scribblings as anything of import.

Not the Library of Babel, The Author of The Library of Babel.

A chorus which counts off the seconds, minutes and hours related to his note taking. A clock which keeps time / tempo. A clock like one of those old train time-table clocks, with the numbers made of slats which fall into one another. This is the sound which keeps the time. Sync’d to midi, probably. An ensemble, as well.

Does this man live on the train? Probably not.

The Second.

  • A band begins to play.
  • A video cassette is inserted into a VCR
  • Play is pushed
  • The very first images on the screen are perfectly in time with the music

The Third

5 sisters.
4 Porn Stars.

And an irrational fear of the mundane.