PDA

View Full Version : rtmpsuck output -> rtmpdump arguments


MoshePupkin
02-07-2017, 06:22 PM
So, I got rtmpsuck up and running and saving videos.

The problem is, that when I try to run rtmpdump with the same argument I get "ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)" error.

Any bright ideas?

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app: ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEagbBceccbBcjaAdabdbPdTd1dkdCajdO-byMMYk-b4-HGvDrnFBuFxl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000
flashVer: LNX 24,0,0,194
swfUrl: https://neulionms-a.akamaihd.net/nba/player/v5/nba/legacy/vod.swf
tcUrl: rtmp://cp118328.edgefcs.net:1935/ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEagbBceccbBcjaAdabdbPdTd1dkdCajdO-byMMYk-b4-HGvDrnFBuFxl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000
pageUrl: https://watch.nba.com/video/teams/warriors/2017/02/07/1486509904380-wt-draymond-1210218
Playpath: mp4:s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600.mp4?auth=daEagbBceccbBcjaAdabdb PdTd1dkdCajdO-byMMYk-b4-HGvDrnFBuFxl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000&nltid=nba&nltdt=0
Saving as: wt_draymond_1_1600.mp4

rtmpdump -r rtmp://cp118328.edgefcs.net -a "ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEagbBceccbBcjaAdabdbPdTd1dkdCajdO-byMMYk-b4-HGvDrnFBuFxl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000" -W "https://neulionms-a.akamaihd.net/nba/player/v5/nba/legacy/vod.swf" -t "rtmp://cp118328.edgefcs.net:1935/ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEagbBceccbBcjaAdabdbPdTd1dkdCajdO-byMMYk-b4-HGvDrnFBuFxl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000" -p "https://watch.nba.com/video/teams/warriors/2017/02/07/1486509904380-wt-draymond-1210218" -y "mp4:s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600.mp4?auth=daEagbBceccbBcjaAdabdb PdTd1dkdCajdO-byMMYk-b4-HGvDrnFBuFxl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000&nltid=nba&nltdt=0"

j_cool
02-08-2017, 07:48 AM
How did you get rtmpsuck up and running ?

j_cool
02-20-2017, 05:14 AM
No reply yet ?




Any bright ideas?




Answer to your question is you would be better served with parameters from rtmpsrv.

You would had been a gentleman had you posted here how did you get rtmpsuck running in linux.

Here is how it works in windows:


rtmpdump -r "rtmp://cp118328.edgefcs.net:1935/ondemand" ^
-a "ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEbQaQdpatdub_a5dTbrawdcdzcccdasdz-byQTP9-b4-DFqEslMDnErl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000" ^
-f "WIN 24,0,0,221" ^
-W "https://neulionms-a.akamaihd.net/nba/player/v5/nba/legacy/vod.swf" ^
-p "https://watch.nba.com/video/teams/warriors/2017/02/07/1486509904380-wt-draymond-1210218" ^
-C B:0 ^
-y "mp4:s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600.mp4?auth=daEbQaQdpatdub_a5dTbra wdcdzcccdasdz-byQTP9-b4-DFqEslMDnErl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000&nltid=nba&nltdt=0" ^
-o "c:\TEST_%d%.flv"



C:\>rtmpdump -r "rtmp://cp118328.edgefcs.net:1935/ondemand" -a "ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEbQaQdpa
tdub_a5dTbrawdcdzcccdasdz-byQTP9-b4-DFqEslMDnErl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_dray
mond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_dray
mond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000" -f "WIN 24,0,0,221" -W "http
s://neulionms-a.akamaihd.net/nba/player/v5/nba/legacy/vod.swf" -p "https://watch.nba.com/video/teams/warriors/2017/02/07
/1486509904380-wt-draymond-1210218" -C B:0 -y "mp4:s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_1600.mp
4?auth=daEbQaQdpatdub_a5dTbrawdcdzcccdasdz-byQTP9-b4-DFqEslMDnErl&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2017/02/07/wt
_draymond/wt_draymond_1_400;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_800;s/as3/nlds_vod/nbatv/vod/2
017/02/07/wt_draymond/wt_draymond_1_1600;s/as3/nlds_vod/nbatv/vod/2017/02/07/wt_draymond/wt_draymond_1_3000&nltid=nba&nl
tdt=0" -o "c:\TEST_2017-02-20_12-06-21.flv"
RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 452.00
INFO: moovPosition 32.00
INFO: width 960.00
INFO: height 540.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 77.00
INFO: avclevel 31.00
INFO: aacaot 2.00
INFO: videoframerate 29.97
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: trackinfo:
INFO: length 13558545.00
INFO: timescale 30000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 19933184.00
INFO: timescale 44100.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
14355.064 kB / 77.08 sec (17.0%)