Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 02-25-2015, 04:32 PM
philj philj is offline
Junior Member
 
Join Date: Feb 2015
Posts: 10
philj is on a distinguished road
Default

Need help on this Stream


HI All

I am using linux, CENTOS 6, and have trouble using rmtpdump to record it. Any thoughts..

http://www.homerun.re/cricket/281230...am-online.html

Thanks in advance
Reply With Quote
  #2  
Old 02-25-2015, 05:37 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Need help on this Stream


You could check the memory too to find all paramters but you have not enough time to build a link so its not long valid to execute it and token you need too.Here exsample link..
Code:
rtmpdump -v -r "rtmp://93.174.93.173:1935/zmtvliveme" -a "zmtvliveme" -W "http://static.zoomtv.me/player/jwplayer.6.5.3.swf" -p "http://www.zoomtv.me" -C S:qLEOVtXDAw -C S:1424906726 -C S:dbd538d18b01883ec74894a1c4282148 -C S:"V>JWhui^@2ESdu0?}>AN" --live -T "Q!lrB@G1)ww(-dQ4J4" -y "qLEOVtXDAw" | "player" -
Code:
RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   presetname              Custom
INFO:   creationdate            Wed Feb 25 21:17:52 2015
INFO:   videodevice             USB 2861 Device
INFO:   framerate               25.00
INFO:   width                   512.00
INFO:   height                  288.00
INFO:   videocodecid            avc1
INFO:   videodatarate           500.00
INFO:   avclevel                31.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 5.00
INFO:   audiodevice             Line (USB Audio Device)
INFO:   audiosamplerate         22050.00
INFO:   audiochannels           1.00
INFO:   audioinputvolume        67.00
INFO:   audiocodecid            .mp3
INFO:   audiodatarate           40.00
955.768 kB / 14.54 sec
Below the dynamic string values on each new load.
Code:
-C S:1424906726 
-C S:dbd538d18b01883ec74894a1c4282148
Code:
Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

07E35C20   00 00 00 00 00 00 00 00  00 00 00 00 30 2C 31 37   ............0,17
07E35C30   39 00 06 73 77 66 55 72  6C 02 00 31 68 74 74 70   9..swfUrl..1http
07E35C40   3A 2F 2F 73 74 61 74 69  63 2E 7A 6F 6F 6D 74 76   ://static.zoomtv
07E35C50   2E 6D 65 2F 70 6C 61 79  65 72 2F 6A 77 70 6C 61   .me/player/jwpla
07E35C60   79 65 72 2E 36 2E 35 2E  33 2E 73 77 66 00 05 74   yer.6.5.3.swf..t
07E35C70   63 55 72 6C 02 00 23 72  74 6D 70 3A 2F 2F 39 33   cUrl..#rtmp://93
07E35C80   2E 31 37 34 2E 39 33 2E  37 31 3A 31 39 33 35 2F   .174.93.71:1935/
07E35C90   7A 6D 74 76 6C 69 76 65  6D 65 00 04 66 70 61 64   zmtvliveme..fpad
07E35CA0   01 00 00 0C 63 61 70 61  62 69 6C 69 74 69 65 73   ....capabilities
07E35CB0   00 40 6D E0 00 00 00 00  00 00 0B 61 75 64 69 6F   .@m?.......audio
07E35CC0   43 6F 64 65 63 73 00 40  AB EE 00 00 00 00 00 00   Codecs.@«î......
07E35CD0   0B 76 69 64 65 6F 43 6F  64 65 63 73 00 40 6F 80   .videoCodecs.@o€
07E35CE0   00 00 00 00 00 00 0D 76  69 64 65 6F 46 75 6E 63   .......videoFunc
07E35CF0   74 69 6F 6E 00 3F F0 00  00 00 00 00 00 00 07 70   tion.??........p
07E35D00   61 67 65 55 72 6C 02 00  35 68 74 74 70 3A 2F 2F   ageUrl..5http://
07E35D10   77 77 77 2E 7A 6F 6F 6D  74 76 2E 6D 65 2F 65 6D   www.zoomtv.me/em
07E35D20   62 65 64 2E 70 68 70 3F  76 3D 68 65 72 62 69 65   bed.php?v=herbie
07E35D30   26 76 77 3D 36 36 30 26  76 68 3D 34 35 30 00 0E   &vw=660&vh=450..
07E35D40   6F 62 6A 65 63 74 45 6E  63 6F 64 69 6E 67 00 00   objectEncoding..
07E35D50   00 00 00 00 00 00 00 00  00 09 02 00 0A 71 4C 45   .............qLE
07E35D60   4F 56 74 58 44 41 77 02  00 0A 31 34 32 34 39 30   OVtXDAw...142490
07E35D70   35 38 32 34 02 00 20 34  38 64 37 37 66 66 32 65   5824.. 48d77ff2e
07E35D80   32 33 65 64 64 61 62 63  38 39 36 34 38 39 34 38   23eddabc89648948
07E35D90   30 39 30 38 36 66 66 02  00 1A 56 26 67 74 3B 4A   09086ff...V>J
07E35DA0   57 68 75 69 5E 40 32 45  53 64 75 30 3F 7D 26 67   Whui^@2ESdu0?}&g
07E35DB0   74 3B 41 4E 00 00 00 00  00 00 00 00 00 00 00 00   t;AN............

Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

07C10030                                                 73                  s
07C10040   65 63 75 72 65 54 6F 6B  65 6E 12 51 21 6C 72 42   ecureToken.Q!lrB
07C10050   40 47 31 29 77 77 28 2D  64 51 34 4A 34 13 73 65   @G1)ww(-dQ4J4.se
07C10060   63 75 72 65 54 6F 6B 65  6E 52 65 73 70 6F 6E 73   cureTokenRespons
07C10070   65 0F
greetz
Reply With Quote
  #3  
Old 02-25-2015, 05:41 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Need help on this Stream


Quote:
Originally Posted by philj View Post
HI All

I am using linux, CENTOS 6, and have trouble using rmtpdump to record it. Any thoughts..

http://www.homerun.re/cricket/281230...am-online.html

Thanks in advance
Code:
-T 'Q!lrB@G1)ww(-dQ4J4'
Code:
rtmpdump -r "rtmp://93.174.93.70:1935/zmtvliveme" -a "zmtvliveme" -f "WIN 16,0,0,235" -W "http://static.zoomtv.me/player/jwplayer.6.5.3.swf" -p "http://www.zoomtv.me/embed.php?v=herbie&vw=660&vh=450" --live -C S:qLEOVtXDAw -C S:1424906869 -C S:deff5929cef8e60b32655a636dd724d3 -C S:'V>JWhui^@2ESdu0?}>AN' -y "qLEOVtXDAw" -o "2015-02-26_12-27-50_qLEOVtXDAw.flv" -T 'Q!lrB@G1)ww(-dQ4J4'
but in red, code changes each loading video, so it works only once, so you have to find your own code with rtmpsrv

green I have added ' ' because of special characters

PS: on my linux debian i need use ' ' and not " " for special characters
PS: @ troller12 sorry I did not see your answer, but I think that is complementary
Reply With Quote
  #4  
Old 02-25-2015, 05:56 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Need help on this Stream


Twice answer is better than nothing.

greetz
Reply With Quote
  #5  
Old 02-25-2015, 06:41 PM
philj philj is offline
Junior Member
 
Join Date: Feb 2015
Posts: 10
philj is on a distinguished road
Default

Re: Need help on this Stream


Hi Troller12 and biezom and All

Thanks for the brilliant answer. I just want to be sure I get this.

First question: Once I access the URL new dynamic string values are generated each time.
i.e., -C S:1424906726 and -C S:dbd538d18b01883ec74894a1c4282148 in your examples?

Second question: How do I use rtmpsrv in this case to grab the dump in order to see the dynamic string values?

Thanks in advance
Reply With Quote
  #6  
Old 02-25-2015, 06:59 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Need help on this Stream


Quote:
Originally Posted by philj View Post
Hi Troller12 and biezom and All

Thanks for the brilliant answer. I just want to be sure I get this.

First question: Once I access the URL new dynamic string values are generated each time.
i.e., -C S:1424906726 and -C S:dbd538d18b01883ec74894a1c4282148 in your examples?

Second question: How do I use rtmpsrv in this case to grab the dump in order to see the dynamic string values?

Thanks in advance
1) yes
2)
a) in a first administrator terminal
Code:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
b) in a second administrator terminal
Code:
rtmpsrv
c)load your video (it does not start, it's normal)
d) rtmpsrv generate the code like
Code:
rtmpdump -r "rtmp://89.248.160.252:1935/zmtvliveme" -a "zmtvliveme" -f "WIN 16,0,0,235" -W "http://static.zoomtv.me/player/jwplayer.6.5.3.swf" -p "http://www.zoomtv.me/embed.php?v=herbie&vw=660&vh=450" --live -C S:qLEOVtXDAw -C S:1424907032 -C S:7e67fbd8fe3dd45ebda7494f78ff508e -C S:V>JWhui^@2ESdu0?}>AN -y "qLEOVtXDAw" -o "2015-02-26_12-30-36_qLEOVtXDAw.flv"
it's an exemple

e) copy the code
f) close your video
g) stop rtmpsrv (CTRL +C)
h ) in the first administrator terminal
Code:
iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
i) in an user terminal paste the code without forget add -T 'Q!lrB@G1)ww(-dQ4J4' and the ' ' for V>JWhui^@2ESdu0?}>AN

I think I have forgotten nothing
Reply With Quote
  #7  
Old 02-26-2015, 12:31 AM
philj philj is offline
Junior Member
 
Join Date: Feb 2015
Posts: 10
philj is on a distinguished road
Default

Re: Need help on this Stream


Hi biezom and All

I appreciate the great response. I am focused on the second question.

In 2(d) you get a rtmp string from rtmpsrv but it does not have the Token and string values? These you get from the process of looking at the process core?

As an exercise I did
http://www.skysportslive.tv/bt-sport-1-live-stream.php

rtmpsrv gave me
rtmpdump -r "rtmp://31.220.0.206/redirect/" -a "redirect/" -f "LNX 11,2,202,442" -W "http://p.jwpcdn.com/6/11/jwplayer.flash.swf" -p "http://reytv.co/embedu.php?live=btx11a&vw=620&vh=490" -y "btx11a" -o btx11a.flv

My problem is I am not sure. With gdb->gcore-> okteta I think gave me

-T '%Zrey(nKa@#Z' and
-C S:BC9ahgShNRQbE4HRU9gujKmpZItJYh5j/+ltVg==

See attached screen shot.

Any thoughts
Attached Images
File Type: jpg screen_shot2.jpg (69.1 KB, 0 views)
Reply With Quote
  #8  
Old 02-26-2015, 02:11 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Need help on this Stream


in this case no -C S:....... option
if it exists, rtmpsrv normally gives us

so in this case the token enough
Code:
rtmpdump -r "rtmp://31.220.0.206/redirect/" -a "redirect/" -f "WIN 16,0,0,235" -W "http://p.jwpcdn.com/6/11/jwplayer.flash.swf" -p "http://reytv.co/embedo.php?live=btx11a&vw=620&vh=490" -y "btx11a" -o "btx11a.flv" -T '%Zrey(nKa@#Z'
Reply With Quote
  #9  
Old 02-26-2015, 02:57 AM
philj philj is offline
Junior Member
 
Join Date: Feb 2015
Posts: 10
philj is on a distinguished road
Default

Re: Need help on this Stream


Hi biezom and All

When I run it I get
Code:
rtmpdump -r "rtmp://31.220.0.206/redirect/" -a "redirect/" -f "WIN 16,0,0,235" -W "http://p.jwpcdn.com/6/11/jwplayer.flash.swf" -p "http://reytv.co/embedo.php?live=btx11a&vw=620&vh=490" -y "btx11a" -o "btx11a.flv" -T '%Zrey(nKa@#Z'
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Am I missing something?
Reply With Quote
  #10  
Old 02-26-2015, 03:07 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Need help on this Stream


Quote:
Originally Posted by philj View Post
Hi biezom and All

When I run it I get
Code:
rtmpdump -r "rtmp://31.220.0.206/redirect/" -a "redirect/" -f "WIN 16,0,0,235" -W "http://p.jwpcdn.com/6/11/jwplayer.flash.swf" -p "http://reytv.co/embedo.php?live=btx11a&vw=620&vh=490" -y "btx11a" -o "btx11a.flv" -T '%Zrey(nKa@#Z'
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Am I missing something?
try with -T "%Zrey(nKa@#Z" " " instead of ' '

if it doesn't works i think your a too older version of rtmpdump
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:31 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons