I am trying to download some videos using ubuntu and RTMPdump.
rtmpsrv outputs the following when I load the video.
Code:
rtmpdump -r "rtmp://lb.mmod.net/vod/bpp" -a "vod/bpp" -f "LNX 11,2,202,451" -W "http://s3-eu-west-1.amazonaws.com/images.mediaondemand.net/flowplayer.swf" -p "http://hosting.mmod.net/play/bpp/11841/201508302237/bTi1Ic1_tVIkiJyZ1hEQU_yuDzCm62zTntYGBsnHd0A_" -y "XICFARKT13.01B15.mp4" -o XICFARKT13.01B15.flv
However when I run this command, the download never completes.
I have to force abort the script (ctrl + c), which outputs:
Code:
ERROR: RTMP_ReadPacket, failed to read RTMP packet header [...]
There are about 100+ videos I intend on downloading. I have tried several and all have the same problem. The download stops at a specific percent (typically between 20%-30% and at the exact same percentage per video, indicating that there is some server interference stopping the download)
I am really not sure why this is happening, but my guess is that this is either caused by the use of a SecureToken or because I have to log in to access the video and the server is doing a cookie-check, and naturally the connection through terminal will not send any HTTP cookies.
The SWF is
http://s3-eu-west-1.amazonaws.com/im...flowplayer.swf. I tried to decompile it to look for a token but I couldn't spot one. There was also something which looked like it could be a token on the HTML embed code, but that didn't work either.
Any suggestions?
I need to download these videos ASAP before my subscription expires.