PDA

View Full Version : RTMPdump stops after few seconds


warah
08-23-2017, 08:48 PM
Hi all!

Im using this rtmpdump command line, and it works for a few seconds (exactly 56s), and then:

WARNING: Larger timestamp than 24-bit: 0xfffffe5e
ERROR: RTMP_ReadPacket, failed to read RTMP packet header


rtmpdump -v -r "rtmpe://cp343719.live.edgefcs.net/live" -a "live" -f "WIN 26,0,0,131" -s "https://www.bet365.com/extra/streamingassets/Player/ExtraPlayerLoader.swf" -p "https://www.bet365.com/extra/df.aspx" --live -y "exchange52580ypUGA_52580_728@s124007?auth=dbFaVcPa kbudUd7b_cSd7cWcBdZcgc6ardW-bzNJVt-eS-eS-JpCCacc&aifp=3" -o "p19.mp4"

The Output

rtmpdump -v -r "rtmpe://cp343719.live.edgefcs.net/live" -a "live" -f "WIN 26,0,0,131" -s "https://www.bet365.com/extra/streamingassets/Player/ExtraPlayerLoader.swf" -p "https://www.bet365.com/extra/df.aspx" --live -y "exchange52580ypUGA_52580_728@s124007?auth=dbFaVcPa kbudUd7b_cSd7cWcBdZcgc6ardW-bzNJVt-eS-eS-JpCCacc&aifp=3" -o "p19.mp4"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting Live Stream
INFO: Metadata:
INFO: presetname Custom
INFO: creationdate Thu Aug 24 02:11:27 2017
INFO: videodevice Decklink Video Capture
INFO: framerate 25.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: videodatarate 600.00
INFO: avclevel 30.00
INFO: avcprofile 77.00
INFO: videokeyframe_frequency2.00
INFO: audiodevice Decklink Audio Capture
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: audioinputvolume 100.00
INFO: audiocodecid mp4a
INFO: audiodatarate 128.00
INFO: trackinfo:
INFO: transcoder:
INFO: audioCodec PASSTHRU
INFO: audioBitrate ${SourceAudioBitrate}
INFO: videoCodec PASSTHRU
INFO: videoBitrate ${SourceVideoBitrate}
4270.918 kB / 56.27 sec
WARNING: Larger timestamp than 24-bit: 0xfffffe5e
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
4608.657 kB / 58.84 sec
Download complete


i've tried replacing -s to -W (like a reply i've seen in this forum) but it doesn't works, any idea??

warah
08-26-2017, 10:41 AM
i've been trying to decompress SWF, and the data (i think) is:

python swfunzip.py ExtraPlayerLoader.swf bet365Nuevo.swf
info : Input file: ExtraPlayerLoader.swf
info : Output file: bet365Nuevo.swf
info : Reading ExtraPlayerLoader.swf
info : zlib compressed swf detected.
info : Filesize in signature: 18995 <<<<<< THIS VALUE >
info : Filesize decompressed: 18995
info : Generating uncompressed data
File decompressed, size increased: 51%

and later:


openssl sha256 -hmac "Genuine Adobe Flash Player 001" bet365Nuevo.swf
HMAC-SHA256(bet365Nuevo.swf)= 22f36d478718f94340901e9c694c99d03f3b0d4016fb0a935c 63af24869a76ee



so i go to the rtmpdump with this data, but no luck.. i think im missing some AMF parameters like "-C S:client -C S:3.0.3.23 -C S:en -C O:1 -C NB:disAllowScriptAccess:0 -C O:0"... what u think? (my export debug goes in the next reply 'cause the entry its too long :P )