Finding the actual RTMP Stream URL?

末鹿安然 提交于 2019-12-04 12:52:27

问题


Let me go with an example. This is the video embed code:

<script type="text/javascript" src="jwplayer/jwplayer.js"></script>

<div id="container">Loading the player ...</div>

<script type="text/javascript">
    jwplayer("container").setup({
        flashplayer: "jwplayer/player.swf",
        file: "bmw/250413/vod.flv",
        streamer:'rtmp://216.185.104.75/vod',
        autoplay:"true",
        icons:"true",
        skin:"glow.zip",
        controlbar:"over",
        height: 270,
        width: 480,
        image: "images/bmw1.jpg"
    });
</script>

And this is the actual page: http://www.24framesdigital.com/bmw/webcast/250413/vod.html

Now, what would be the URL of the RTMP stream? I've tried:

rtmp://www.24framesdigital.com/bmw/250413/vod.flv
rtmp://www.24framesdigital.com/bmw/webcast/250413/bmw/250413/vod.flv
rtmp://216.185.104.75/vod/bmw/250413/vod.flv
rtmp://216.185.104.75/bmw/250413/vod.flv

...among a few others. None work. I'm using curl to stream/download the video:

curl rtmp://.../vod.flv -o vod.flv

回答1:


curl -o vod.flv 'rtmp://216.185.104.75/vod playpath=bmw/250413/vod'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3341k    0 3341k    0     0  97954      0 --:--:--  0:00:34 --:--:--  261k

More info in the man



来源:https://stackoverflow.com/questions/16230872/finding-the-actual-rtmp-stream-url

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!