View Single Post
  #10  
Old 03-27-2015, 06:32 AM
anrelou anrelou is offline
Junior Member
 
Join Date: Mar 2015
Posts: 6
anrelou is on a distinguished road
Default

Re: Spoofing RTMP urls


@hasomaso

Quote:
Originally Posted by hasomaso View Post
@anrelou

Code:
rtmpdump -v -r "rtmpe://195.13.206.150/live" -a "live/" -W "https://www.lattelecom.tv/static/m_player.swf?t=1426590732" -p "https://www.lattelecom.tv/tiesraide/" -y "mp4:lattelecom_lv_hq.stream" -T "252789c27626cb86de1ddfdff61d75f0" -o "output.flv"
Code:
Starting Live Stream
INFO: Metadata:
INFO:   videocodecid            avc1
INFO:   width                   853.00
INFO:   height                  480.00
INFO:   frameWidth              640.00
INFO:   frameHeight             480.00
INFO:   displayWidth            853.00
INFO:   displayHeight           480.00
INFO:   framerate               25.00
INFO:   audiochannels           2.00
INFO:   audiosamplerate         44100.00
INFO:   audiocodecid            mp4a
INFO: trackinfo:
INFO:   timescale               0.00
INFO:   language                eng
INFO: sampledescription:
INFO:   type                    video
INFO:   profile-level-id        4d401e
INFO:   sprop-parameter-sets    Z01AHpZSgUB7Yd6goKC+AAADAAIAAAMAZSg=,aP88gA==
INFO:   description             {H264CodecConfigInfo: codec:H264, profile:Main,
level:3.0, frameSize:640x480, displaySize:853x480, frameRate:25.0, PAR:4:3}
INFO:   timescale               0.00
INFO:   language                eng
INFO: sampledescription:
INFO:   type                    audio
INFO:   config                  1210
INFO:   description             {AACFrame: codec:AAC, channels:2, frequency:4410
0, samplesPerFrame:1024, objectType:LC}
INFO: rtpsessioninfo:
INFO:   protocolversion         0
INFO:   connectiondata          IN IP4 239.255.15.30
INFO:   timing                  0 0
INFO:   origin                  - -1115399521 -1115399521 IN IP4 127.0.0.1
INFO:   name                    WowzaMediaServer
INFO: attributes:
INFO:   range                   npt=now-
15693.220 kB / 63.23 sec
Wow, that is an amazing result, thanks! I tried the same code with another channel, which is now seeable only when logged in and it didn't work.

Command was:
Code:
rtmpdump -v -r "rtmpe://195.13.206.155/live" -a "live/" -W "https://www.lattelecom.tv/static/m_player.swf" -p "https://www.lattelecom.tv/tiesraide/ltv1" -y "mp4:ltv1_lv_lq.stream" -T "fi+x3eigJ5Bm3+LX+sP8j52y4MPpb7Uq3H6tlVrqHaX9udn0paTgYHn3OOLqImu8b4/kxY/Y5YKPoRNXGItnvJqeXOvZ/Ns8" -o "output3.flv"
Output was:
Code:
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: connection lost while downloading swfurl https://www.lattelecom.tv/static/m_player.swf
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
What did I miss out? I put the auth token from this xml: https://www.lattelecom.tv/xmls/tiesraide/ltv1.xml

UPD. Maybe, it might help, that for m3u8 link looks smth like:
Code:
http://195.13.216.2/mobile/mp4:ltv1_lv_lq.stream/playlist.m3u8?resource_id=c-ltv1&auth_token=<.....>
Reply With Quote