m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerHello,
I have used rtmpdump with rtmpsrv last week without problem. This morning, I am unable to use it because I am getting this error: ERROR: RTMP_ReadPacket, failed to read RTMP packet header I can however view the video without problem with my browser. Can someone have an hint on the problem ? Thanks ! Here is the verbose output: Code:
rtmpdump -V -r "rtmpe://groupemsix.fcod.llnwd.net:1935/a2883/d1/" -a "a2883/d1/" -f "LNX 10,0,45,2" -W "http://groupemsix.vo.llnwd.net/o24/u/replayrelease/libs/StatPlaylibrary2.swf" -p "http://www.m6replay.fr/#/emissions/top-chef/9660" -y "mp4:production/regienum/m6_top-chef_30284_150320102040.mp4" -o m6_top-chef_30284_150320102040.mp4 |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerSame problem here. Even though I am not from France, it worked perfectly a few weeks ago. Then they started to remove some crucial XML files and now it's not even possible to get information like the playpath easily. See also my thread other thread on Ubuntu-fr.org: http://forum.ubuntu-fr.org/viewtopic...09369#p3309369
I hope they are "fixing" this problem because depending on the RTL.nl stream ("http://stream.rtl.nl/tvistream01") just to watch Nouvelle Star every Wednesday is a bit harsh. (The quality sucks too). I can't understand why they are so restrictive. Those streaming sites are the perfect opportunity to spread the French language and to attract a crowd of highly interested language learners. Are there any other French sites you're aware of? |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerInterstingly they kept the encrypted XML file with the playpaths untouched ("http://www.m6replay.fr/catalogue/catalogueWeb2.xml"). I've already tried to decrypt the Flash file to get the algorithm but "flare" couldn't extract anything useful.
|
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerHello,
I had a look at the rtmpdump code, and the events leading to the bug are: 1) invoking onBWDone leads to invoke _checkbw 2) when reading the returned packet, the packet size is exactly zero (r->m_sb.sb_size = 0 and RTMPSockBuf_Fill(&r->m_sb) < 1) So it seems that wether the sent packet is malformed or the server detect something wrong and doesn't send any information back. Anyway, I managed to download the stream by removing the "-W url". I absolutely have no idea why it works like this (it makes no sense at all !). Maybe you can try with this "trick" ? If you don't have the XML file for finding the correct path, you can use rtmpsrv as described here: http://forum.ubuntu-fr.org/viewtopic...09369#p3309369 |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerThis command works alright: (Thanks John!)
rtmpdump -r rtmpe://groupemsix.fcod.llnwd.net:1935/a2883/d1/ -y mp4:production/regienum/m6_top-chef_30284_150320102040.mp4 -o m6_top-chef_30284_150320102040.mp4 Regarding the catalog issue: I think "http://www.m6replay.fr/catalogue/catalogueWeb2.xml" is Base64. But decoding it gives a string which is not really useful to me. Perhaps it's also encrypted somehow? |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerI have sniffed the response of the download.php file. They are using a hash which is only valid for a few seconds. Therefore I couldn't use wget to get that file.
Quote:
Quote:
Unfortunately, catalogueWeb3.xml is also encrypted. :( |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerOk I begin to understand rtmpdump a little better.
Removing the "-W url" remove the SWFVerification, so although you got temporarily access to the stream, you will be interrupted very soon. So I keep having to resume the download dozens of times, not very practical. I'll try to help the RTMPdump hackers on the mailing-list and keep this forum informed. |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerIt seems that it's related to the Flash 10 handshake.
A totally new SWF hash method has been introduced which will take more work to decode. Follow-up in the rtmpdump mailing-list for those interested. |
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerThe number after the "catalogueWeb" seems to stand for the month because they've already added a catalogueWeb4.xml file which makes sense.
|
Re: m6replay.fr: rtmpdump error: RTMP_ReadPacket, failed to read RTMP packet headerI have progressed a bit:
We could use mChicheReplay which works fine but is very bloated and only runs on Windows. I've already tried Mono and Wine. Nothing worked. But I could get useful information through disassembling the binary. (although I didn't get any code only function names and a few variables) wget http://www.m6replay.fr/catalogue/catalogueWeb4.xml base64 -d catalogueWeb4.xml > out From mChicheReplay.exe.config: Code:
<setting name="K1" serializeAs="String"> 87JGH1kOJghkj0777bj326PoVhg $ echo RWxGc2cuT3Q= | base64 -d ElFsg.Ot The crypto algorithm for the XML file is Blowfish ECB. $ openssl bf-ecb -d -in out -out out.dec I tried both keys, none of them worked. The developer also included swfmill, no idea why. Perhaps K1 and K2 are updated regularly and these values are hidden somewhere within it. Hints and suggestions are appreciated. I've now spent over two hours and did not really get further. Thanks! |
All times are GMT -6. The time now is 01:35 AM. |