rtmpdump通过命令行检查状态

时间:2014-05-02 03:52:50

标签: linux ffmpeg rtmp

我试过做rtmpdump -r“rtmp-raw = rtmpe://watch.playfooty.tv/live playpath = nba1569 swfUrl = http://www.playfooty.tv/play/player/player.swf live = 1 pageUrl = http://www.playfooty.tv/” 但输出就像离线一样

RTMPDump v2.2e
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
WARNING: Unknown protocol!

DEBUG: Parsed host : watch.playfooty.tv
DEBUG: Parsed app : live playpath=nba1569 swfUrl=http:/
DEBUG: Protocol : RTMP
DEBUG: Hostname : watch.playfooty.tv
DEBUG: Port : 1935
DEBUG: Playpath : www.playfooty.tv/play/player/player.swf live=1 pageUrl=http://www.playfooty.tv/
DEBUG: tcUrl : rtmp://watch.playfooty.tv:1935/live playpath=nba1569 swfUrl=http:/
DEBUG: app : live playpath=nba1569 swfUrl=http:/
DEBUG: live : no
DEBUG: timeout : 30 sec

我尝试了很多列表的链接,并且看起来离线了这个命令,但是当我在软件中播放它时它起作用了。

有没有人知道如何测试这种链接是活着还是死亡?

谢谢!

1 个答案:

答案 0 :(得分:1)

rtmpdump -i "rtmpe://watch.playfooty.tv/live playpath=nba1569 swfUrl=http://www.playfooty.tv/play/player/player.swf live=1 pageUrl=http://www.playfooty.tv/"

不可否认,关于RtmpDump的在线文档很差,但确实如此 在命令行帮助中列出

--url|-i url   URL with options included
               (e.g. rtmp://host[:port]/path swfUrl=url tcUrl=url)

http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-July/002016.html

相关问题