--swfVfy failing

Steve Anderson steve at twindx.co.uk
Thu May 27 06:23:57 EDT 2010


On 27 May 2010 10:20, David Woodhouse <dwmw2 at infradead.org> wrote:

> Pfft. It's not mine either.

You're doing markedly better than me!

> Can you show the actual rtmpdump command line? If you give the --debug
> argument to rtmpdump, you should see it.
>
> What do you see if you just run 'rtmpdump --swfVfy'?

Right, first of all - part of the problem seems to be that I'm saddled
with Vista. Despite making changes to the script (which has version
2.77 set correctly) it's - somehow - still telling me it's running
2.72. It seems to be some kind of cockamamie OS protection getting in
the way for files in the Program Files directory. That'll teach me to
install things in the default locations. It's confused the hell out of
me and I can't see any logical way it has functioned this far.

Anyway. Running the script with "perl get_iplayer" in a working
directory results in the correct version being returned - hurrah - but
the swfVfy thing still not working correctly.

Heading backwards, "rtmpdump --swfVfy" returns what would be expected:

RTMPDump v2.2d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump\rtmpdump: option `--swfVfy' requires an argument
unknown option: ?

... followed by the options details.

However, the rtmpdump command line has --swfUrl instead of --swfVfy:

INFO: Command: rtmpdump/rtmpdump.exe --port 1935 --protocol 0
--playpath mp4:iplayerstream/secure_auth/480kbps/Everythings_Rosie_Episode_14_b00shhys.mp4
--host bbcmedia.fcod.llnwd.net --swfUrl
http://www.bbc.co.uk/emp/10player.swf?revision=18269_19216 --tcUrl
rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/Everythings_Rosie_Episode_14_b00shhys.mp4&et=1274961431&fmta-token=01e970b6d033c23fd2c6da7a3add61f05dee7864f98aad6e3913e09222838abb
--app a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/Everythings_Rosie_Episode_14_b00shhys.mp4&et=1274961431&fmta-token=01e970b6d033c23fd2c6da7a3add61f05dee7864f98aad6e3913e09222838abb
--pageUrl  --resume -o C:\Users\Steve\Desktop\iPlayer
Recordings/Everythings_Rosie_-_14._Bossy_Bluebird_b00shpqf_default.partial.mp4.flv
--timeout 10 --verbose --debug


Now that I know that Vista was being a tit I've hardcoded in --swfVfy
again and it's all working correctly, which suggests to me that the
detection of verification support is failing on this machine.

Wait a minute. I've just noticed that what rtmpdump returns isn't the
same as what get_iplayer is checking for:

option `--swfVfy' requires an argument

There's a 'smart' apostrophe at the beginning there, instead of the
plain one in the code. That'll be the problem, won't it...?

Steve


-- 
Irregular Shed - http://www.twindx.co.uk



More information about the get_iplayer mailing list