Failed to tag MP4 file

dinkypumpkin dinkypumpkin at gmail.com
Fri Oct 21 11:29:38 EDT 2011


On 21/10/2011 14:46, Claire wrote:
> At the end I can see the following lines:
>
> ANDA1 -> -1
> ANDA2 -> .\RTMPDump\rtmpdump.exe
> ANDA3 ->

Thanks for taking the time to check that.  That output confirms that 
rtmpdump.exe does not execute properly from within get_iplayer.  But I 
guess that isn't exactly news :}  Presumably there is an incompatibility 
between your system and the Perl runtime packaged with get_iplayer, 
though I've no idea what it might be.  Perhaps someone else here has 
seen something similar and knows the answer.

I can only leave you with another ridiculous hack.  It is silly, but it 
might at least enable you download some dinosaurs for your viewing pleasure.

1. Restore C:\Program Files\get_iplayer\get_iplayer.pl to its original 
condition (if you haven't already), but keep a copy of the pristine version.

2. Open the file in Wordpad (or other editor) as before

3. Search for the lines below:

	if ( $rtmpver < 1.8 ) {
		main::logger "WARNING: rtmpdump/flvstreamer 1.8 or later is required - 
please upgrade\n";
		return 'next';
	}

They should be around line #8049 in the file

4. Insert a hash character in front of "return", so it now reads:

	if ( $rtmpver < 1.8 ) {
		main::logger "WARNING: rtmpdump/flvstreamer 1.8 or later is required - 
please upgrade\n";
		#return 'next';
	}

5. Save the file

6. Re-run your download command *with* --verbose, and only use a single 
mode value.  The effect of the above change should be to force 
get_iplayer to attempt to execute rtmpdump.exe.  It should fail, but as 
part of the verbose output you will now see a line similar to:

INFO: Command: .\RTMPDump\rtmpdump.exe --port 1935 --protocol 0 
--playpath 
mp4:iplayerstream/secure_auth/800kbps/MP/b016453w_1319150744.mp4 --host 
bbcmedia.fcod.llnwd.net --swfVfy 
http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 
--tcUrl 
rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/800kbps/MP/b016453w_1319150744.mp4&et=1319215169&fmta-token=b080361483b65c594d357aadb3719a2b26412737231b84037b808740a76d306d 
--app 
a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/800kbps/MP/b016453w_1319150744.mp4&et=1319215169&fmta-token=b080361483b65c594d357aadb3719a2b26412737231b84037b808740a76d306d 
--pageUrl 
http://www.bbc.co.uk/iplayer/episode/b0164551/BBC_Weather_20_10_2011/ 
--resume -o 
D:\Downloads\Flashget\BBC_Weather_-_20_10_2011_b0164551_default.partial.mp4.flv 
--timeout 10 --verbose

7. Copy the above line from your output log into you editor.  You can 
turn it into a full rtmpdump command by adding double quotes around all 
the non-numeric parameter values, like so:

.\RTMPDump\rtmpdump.exe --port 1935 --protocol 0 --playpath 
"mp4:iplayerstream/secure_auth/800kbps/MP/b016453w_1319150744.mp4" 
--host "bbcmedia.fcod.llnwd.net" --swfVfy 
"http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576" 
--tcUrl 
"rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/800kbps/MP/b016453w_1319150744.mp4&et=1319215169&fmta-token=b080361483b65c594d357aadb3719a2b26412737231b84037b808740a76d306d" 
--app 
"a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/800kbps/MP/b016453w_1319150744.mp4&et=1319215169&fmta-token=b080361483b65c594d357aadb3719a2b26412737231b84037b808740a76d306d" 
--pageUrl 
"http://www.bbc.co.uk/iplayer/episode/b0164551/BBC_Weather_20_10_2011/" 
--resume -o 
"D:\Downloads\Flashget\BBC_Weather_-_20_10_2011_b0164551_default.partial.mp4.flv" 
--timeout 10 --verbose

8. Copy the edited command and paste it at the prompt in your 
get_iplayer window.  You should be able to execute it and download the 
programme to the .flv file referenced in the command, as would occur 
from inside get_iplayer

9. If you can't play the .flv file, you can convert it to a .mp4 file 
with this command like this in the get_iplayer window:

.\FFmpeg\ffmpeg-0.8-win32-static\bin\ffmpeg.exe -i 
"D:\Downloads\Flashget\BBC_Weather_-_20_10_2011_b0164551_default.partial.mp4.flv" 
-vcodec copy -acodec copy -y 
"D:\Downloads\Flashget\BBC_Weather_-_20_10_2011_b0164551_default.mp4"



More information about the get_iplayer mailing list