PDA

View Full Version : cant download the video from this camsite


p1020
05-02-2017, 01:36 PM
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

troller12
05-02-2017, 07:28 PM
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.
--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
-C S:host-12345 -y "host-12345
greetz

p1020
05-03-2017, 12:55 AM
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.
--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
-C S:host-12345 -y "host-12345
greetz

add another conn string paramter? how can i got it , use something tool like Wireshark?

p1020
05-03-2017, 05:33 AM
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

troller12
05-03-2017, 10:49 AM
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

p1020
05-03-2017, 12:03 PM
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

troller12
05-03-2017, 04:56 PM
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

p1020
05-04-2017, 12:37 AM
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

troller12
05-04-2017, 10:01 AM
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

p1020
05-05-2017, 02:25 PM
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 ?