Source.
On
15 Nov 2010, Danny Choo (and ors) appeared on
Channel News Asia's
Prime Time Morning breakfast TV show. Now whatever one may think about CNA and/or their editorial policy, I still think they are still better than the waste of tax payers money that is
Bernama TV. (Or what ever
it is called these days)
Someone called "
YuKi-To" at Dannychoo.com's
post on the event kindly
posted a link to the
video on CNA's online video website. While handy, made for difficult watching when CNA's video server isn't the fastest around, and streaming the video of the interview was, well, stuttery at best.
So, how do you download a video that is encapsulated in its own .swf player? Answer: a whole afternoon.
First the link:
http://video2.channelnewsasia.com/cnavideos/multiplevideos_no_watermark.asp?skin=player1.swf&bgskin=playerbackground.swf&filename=101115_ptm_anime.flv&adfilebefore=cna%20video2.flv&adfileafter=&playmode=S
As one can see, its a GET, which passes a few parameters into a ASP file. Crucially, it also includes a file name, "101115_ptm_anime.flv".
So, putting
http://video2.channelnewsasia.com/cnavideos/101115_ptm_anime.flv
into your browser should work right?
Er, no.

Viewing the source wasn't much more inspiring. I could see it was a Javascript (ugh) function that checked the Adobe Flash version, passed it into a
hasRightVersion() function, and used
document.write(oeTags); to embed the flash video.
Running it through an
online Javascript interpreter wasn't much help either.

It gave me what I expected, but still based on the
GET passed into
player1.swf. However, there were more clues. In particular, the
folderName parameter. So I tired:
http://video2.channelnewsasia.com/cnavideos/videos/101115_ptm_anime.flv
Still no go.
Frustrated, I fired up Wireshark, hoping to at least capture the stream to extract it. However, it didn't resolve the slow download speed from CNA's video server. Bored, I started to look through the Wireshark captures.

The video stream was being piped through port 1935 of
video2.channelnewsasia.com. And with the elusive video folder. Surely, I had finally found it? Typing
http://video2.channelnewsasia.com:1935/videos/101115_ptm_anime.flv
into my browser, I got this:

Success was mine, I thought. However, it was short lived, when I saw this:

Despite the server returning that the file was there, not a single byte was coming down. Looking closer at the Wireshark dump, it seemed like when a
GET request for the resource was sent to the server, it responded with
FIN's. Clearly it wasn't as simple as hitting save.
I played around with browser headers, refers, to no avail. The file was there on the server, yet I couldn't get it. It was very annoying and painful at the same time.
Then it struck me: what protocol does flash video use? From the deep recesses of my mind I remembered it wasn't your bog standard
HTTP. Then I saw it:

Surely, it couldn't be as simple as changing the protocol name?

Figured as much. So, how do you access a resource behind the
RTMP protocol?
Solution: a command line application called
rtmpdump. (Thanks Andrej Stepanchuk and Howard Chu for making it and releasing a Windows binary!)

There you have it. The elusive
101115_ptm_anime.flv. rtmpdump gave more information on the file, namely it came from a mpeg (CNA is still broadcast in
PAL 576i after all), done not much longer after
the broadcast was done.

I must say for a 8 minute and 44 second length video, it is terribly big, with the file size clocking at just under 30MB. And not that it's high quality either:

Encoded with the (ugh)
VP6 codec, at 352 x 288, its just around half the standard PAL 576i resolution. I feel much of the filesize bulk is due to the audio.
I'm no media expert, so I will demure on the performance of everyone in the video. However, I do have to echo
the words of iron2000: "The presenters of Primetime Morning, Suzanne Jung Ki Eng and Steven Chia, really don't seem to know any anime stuff". And that's fine really. Breakfast TV shows are always with the weird and unusual.
If nothing else, Danny Choo can add CNA to his list which includes CNN, the BBC and NHK.

So there you have it. How to extract flash video files. And there goes my life. ^_^''
Edit: a copy of the file is here: http://www.mediafire.com/?tuv79jdxb4bqyvz.