我不知道如何下载此 RTMP 流。我从 Firefox 中提取了以下所有信息:
netstreambasepath=http://streamin.to/embed-stx1jx4ysd5a-828x480.html
id=vplayer
file=85/1612548173_n.flv?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq
streamer=rtmp://95.211.214.98:1935/vod?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq
skin=http://streamin.to/player/skin.zip
duration=6173
controlbar.position=over
volume=0
mute=true
我正在尝试使用 rtmpsrv 执行以下操作:
如何使用 rtmp 协议下载流媒体视频?来自 Harvard Extension,更具体地说
我试过了 :
rtmpdump.exe -r "rtmp://95.211.214.98:1935/" -y "85/1612548173_n.flv?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq"
RTMPDump v2.3
(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
和
rtmpdump.exe -r "rtmp://95.211.214.98:1935/vod?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq"
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a playpath (--playpath) or url (-r "rtmp://host[:port]/playpath") containing a playpath
和
rtmpdump.exe -t "rtmp://95.211.214.98:1935/vod?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq"
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname
我在这里遗漏了什么?
答案1
我解决了:
rtmpdump.exe -r "rtmp://95.211.214.98:1935/vod?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq" -y "85/1612548173_n.flv?h=3kipfvn55tuzcg3h5eksbdvhzmsxwlhpsbk7m2ab3ybz34efqrdxpbba7ozq"