rtmpdump version error

dinkypumpkin dinkypumpkin at gmail.com
Tue Jun 25 16:04:31 EDT 2013


On 25/06/2013 11:03, emmesse at btopenworld.com wrote:
> 2. Here is the output from .\RTMPDump\rtmpdump.exe --help

That all looks as it should, so this is a bit baffling.  I can't 
duplicate the problem on Win7 32-bit, WinXP 32-bit or Win8 64-bit, and 
it presumably is working fine for virtually everyone else on the same 
platforms.  Time to go further down the rabbit hole.

1. Open the get_iplayer command prompt and run:

rtmpdump

Windows should report that the command doesn't exist

2. Then run:

perl -V

The first line of the output should be:

Summary of my perl5 (revision 5 version 16 subversion 2) configuration:

and the last three lines should be:

   @INC:
     C:/Program Files/get_iplayer/lib
     .

3. Then run:

path

On a clean system the output would look like:

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\

but yours may be different.  Include your result in your reply.

4. Attempt a download with get_iplayer and add --verbose to the command 
line.  In the output, between the two warnings you saw before:

> WARNING: Your version of rtmpdump/flvstreamer does not
> support SWF Verification
> WARNING: rtmpdump/flvstreamer 1.8 or later is required -
> please upgrade

You should see:

INFO: .\RTMPDump\rtmpdump.exe version 2.4
INFO: RTMP_URL: [...long URL elided...]

Though the first line presumably won't show "version 2.4" in your case.

5. Run this mess:

perl -e "my $rtmpver= `.\\RTMPDump\\rtmpdump.exe --help 2>&1`; print 
\"$rtmpver\nswfVfy = \", $rtmpver =~ /swfVfy/, \"\n\""

You'll need to reconstruct that into a single line.  Since rtmpdump 
appears to work OK from your command prompt, this command attempts to 
check if something is going wrong when it is executed from Perl.  It 
should print the rtmpdump help message followed by "svfVfy = 1".

6. If #5 succeeds, and you're feeling bored/ambitious, then it's time to 
go deep.  Go to Control Panel > User Accounts and Family Safety > User 
Accounts and click Change User Account Control settings.  In the dialog 
that appears, note the current value and make the setting Never Notify 
and click OK. Now make a a backup copy of C:\Program 
Files\get_iplayer\get_iplayer.pl and open the original in an editor.  If 
you don't have anything better, use WordPad - Notepad won't work.  Make 
your way to line 8200 (search from the top for $rtmpver), which is this:

my $rtmpver = `"$bin->{rtmpdump}" --help 2>&1`;

Immediately below that line insert these two:

print "BORK", $?, "BORK", $rtmpver, "BORK\n";
exit;

Save the file (in WordPad click Yes when asked to save in text-only format).

Now attempt a download with get_iplayer.  The lines you inserted will 
print out the offending bits inside get_iplayer and then immediately 
exit without actually attempting the download.  Include everything 
starting from the the first "BORK" in your reply.

When you're done, make a copy of your altered get_iplayer.pl and replace 
it with the backup of the original file.  Also remember to reset your 
UAC settings to the original value.




More information about the get_iplayer mailing list