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 05-02-2017, 02:36 PM
p1020 p1020 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 22
p1020 is on a distinguished road
Default

cant download the video from this camsite


rtmpdump -v -r "rtmp://rtmp..com:1935/webvideo/host-aaa9" -a "webvideo/host-aaa" -W "http:// .com/libs//customer_code.swf?v=145aaa257000" -p "http://www..com/chat/xxxxxx?nats=MC4wLjQ0LjQ2LjAuMC4wLjAuMA" -y "host-aaa9"
RTMPDump v2.4 GIT-2015-12-14 (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...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Last edited by p1020 : 05-03-2017 at 01:24 PM.
Reply With Quote
  #2  
Old 05-02-2017, 08:28 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: cant download the video from this camsite


Hi,

seems that you have to use a rtmpdump version which supports Handshake 10 or it does fail.If you use H10 then you will also fail but this time with the info (debug) that you are not allowed to play the stream.Now just add another conn string paramter same as your playpath and then it works.
Code:
--conn|-C type:data     Arbitrary AMF data to be appended to the connect string
                        B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
                        Z:(null), NB:name:boolean, NS:name:string, NN:name:number
Code:
-C S:host-12345 -y "host-12345
greetz
Reply With Quote
  #3  
Old 05-03-2017, 01:55 AM
p1020 p1020 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 22
p1020 is on a distinguished road
Default

Re: cant download the video from this camsite


Quote:
Originally Posted by troller12 View Post
Hi,

seems that you have to use a rtmpdump version which supports Handshake 10 or it does fail.If you use H10 then you will also fail but this time with the info (debug) that you are not allowed to play the stream.Now just add another conn string paramter same as your playpath and then it works.
Code:
--conn|-C type:data     Arbitrary AMF data to be appended to the connect string
                        B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
                        Z:(null), NB:name:boolean, NS:name:string, NN:name:number
Code:
-C S:host-12345 -y "host-12345
greetz
add another conn string paramter? how can i got it , use something tool like Wireshark?
Reply With Quote
  #4  
Old 05-03-2017, 06:33 AM
p1020 p1020 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 22
p1020 is on a distinguished road
Default

Re: cant download the video from this camsite


rtmpdump -v -r "rtmp://rtmp..com:1935/webvideo/host-aaaa " -a "webvideo/host- " -f "WIN 25,0,0,148" -W "http://www..com/libs//customer_code.swf?v=1458038257000" -p "http://www..com/chat/girlnamenats=MC4wLjQ0LjQ2LjAuMC4wLjAuMA" -C S:host-aaaa --live -y "host-aaaaa "| "C:\Program Files\VideoLAN\VLC\vlc.exe"
RTMPDump v2.4 GIT-2015-12-14 (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...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

it doesnot work for me when i add this stuff

Last edited by p1020 : 05-03-2017 at 01:25 PM.
Reply With Quote
  #5  
Old 05-03-2017, 11:49 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: cant download the video from this camsite


Hi,

you also need to use the conn / string paramter with the hash you get too but this paramter you didnt post in your first post.Just check this again.Use hash & playpath conn paramters.

greetz
Reply With Quote
  #6  
Old 05-03-2017, 01:03 PM
p1020 p1020 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 22
p1020 is on a distinguished road
Default

Re: cant download the video from this camsite


Quote:
Originally Posted by troller12 View Post
Hi,

you also need to use the conn / string paramter with the hash you get too but this paramter you didnt post in your first post.Just check this again.Use hash & playpath conn paramters.

greetz
newbie just hard to find the hash ,how can i get it
Reply With Quote
  #7  
Old 05-03-2017, 05:56 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: cant download the video from this camsite


Hi,

if you do use RTMPDumpHelper with rtmpsuck then check the command.txt log file there you can see the stream link and the conn hash or try to check in browser or extern debug tools how the hash is build.

greetz
Reply With Quote
  #8  
Old 05-04-2017, 01:37 AM
p1020 p1020 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 22
p1020 is on a distinguished road
Default

Re: cant download the video from this camsite


Quote:
Originally Posted by troller12 View Post
Hi,

if you do use RTMPDumpHelper with rtmpsuck then check the command.txt log file there you can see the stream link and the conn hash or try to check in browser or extern debug tools how the hash is build.

greetz
ERROR: RTMP_ReadPacket, failed to read RTMP packet header just ask how to find the hash
Reply With Quote
  #9  
Old 05-04-2017, 11:01 AM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: cant download the video from this camsite


Hi,

I told you already to use RTMPDumpHelper (check whether it was attached successfully to your browser) and choose rtmsuck.Now visit your site and wait till stream did start and have a look on the cmd window of rtmpsuck to see what infos it gets.On success it does start recording so this you can stop via strg+c combo.Now open the folder and open the Command.txt file and there you got the entire stream paramters and you also can see the conn hash too.Now copy that line and edit it and add another conn / string paramter same as playpath as I told before.Save it .bat file in the folder where you also have a rtmpdump.exe file which supports H10 (or enter path of your rtmpdump H10 into bat file) and execute it etc.If you did all correctly as I told then it will also work like it also works for me too.

greetz
Reply With Quote
  #10  
Old 05-05-2017, 03:25 PM
p1020 p1020 is offline
Junior Member
 
Join Date: Jan 2012
Posts: 22
p1020 is on a distinguished road
Default

Re: cant download the video from this camsite


Quote:
Originally Posted by troller12 View Post
Hi,

I told you already to use RTMPDumpHelper (check whether it was attached successfully to your browser) and choose rtmsuck.Now visit your site and wait till stream did start and have a look on the cmd window of rtmpsuck to see what infos it gets.On success it does start recording so this you can stop via strg+c combo.Now open the folder and open the Command.txt file and there you got the entire stream paramters and you also can see the conn hash too.Now copy that line and edit it and add another conn / string paramter same as playpath as I told before.Save it .bat file in the folder where you also have a rtmpdump.exe file which supports H10 (or enter path of your rtmpdump H10 into bat file) and execute it etc.If you did all correctly as I told then it will also work like it also works for me too.

greetz
thx this very helpful for me ,and i am not sure the rtmpdump H10 am i got too,is it the v2.4 for windows? if not can i use the tool like ffmpeg and youtube-dl stuff ?
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 10:58 PM.


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