Today I was pointed towards a video on the Today Tonight website (an Australian current affairs TV show) and told to save a copy. Our client had gained approval to use the video on their site and needed a copy for that purpose. It was a flash video and whilst I’ve never saved one before I knew there were various tools out there to do it.
My first attempt was a couple of different Firefox Add-ons. None of the three I tried would tackle this video, they saved the empty player and a few ads but that was all. After some Googling I jumped on a Windows virtual machine and tried out Orbit Downloader. Its use was a little convoluted but it did indeed seem to identify the RTMP stream and attempt to download it. Unfortunately I think the host was blocking it and it just sat in a loop successfully connecting, then retrying.
Next up I found FLV Recorder. It wasn’t immediately obvious how to get it up and running but after following one of the many guides on the site I discovered that I had to tell it what network interface to listen to. I assume that it eavesdrops on the interface to detect and record the video stream, which is pretty cool.
After the interface was selected I was on my way. I clicked the record button, loaded the webpage and started the video playing. FLV Recorder detected the video and started capturing it. As it is capturing the network traffic it’s necessary to let the video play all the way through in the browser. A few minutes later and I had my video. I was able to play it back in the built-in FLV player before uploading it to YouTube.
During my attempts I was able to determine that the video itself was in Flash video format (FLV) being transferred using RTMP, which according to Wikipedia is, “a proprietary protocol developed by Adobe Systems for streaming audio, video and data over the Internet, between a Flash player and a server”. It seems that the Flash player itself implements RTMP, which I think is why the Firefox Add-on’s weren’t able to see the network activity.
Capturing an RTMP Video Stream with FLV Recorder
If anyone else is in the same position as me I highly suggest you check out FLV Recorder. These are the steps I followed to save my video:
- Set the network interface in the FLV Recorder options to the one that you use to connect to the Internet (This is a once off setting).
- Click the record button in FLV Recorder (bottom left).
- Browse to the page that has the video on it in your web browser.
- Start the video playing that you want to record. FLV Recorder should start recording.
- Let the video play all the way through and you’re done!