Video 查找实际的RTMP流URL?
让我举个例子。这是视频嵌入代码:Video 查找实际的RTMP流URL?,video,streaming,video-streaming,rtmp,Video,Streaming,Video Streaming,Rtmp,让我举个例子。这是视频嵌入代码: <script type="text/javascript" src="jwplayer/jwplayer.js"></script> <div id="container">Loading the player ...</div> <script type="text/javascript"> jwplayer("container").setup({ flashplaye
<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>
…还有其他一些。没用。我正在使用curl流式传输/下载视频:
curl rtmp://.../vod.flv -o vod.flv
curl-o vod.flv'rtmp://216.185.104.75/vod playpath=bmw/250413/vod'
%总接收百分比%x平均速度时间电流
数据加载上载总左速度
100 3341k 0 3341k 0 0 97954 0--::--0:00:34--::--261k
更多信息
另外,我只是想知道为什么要删掉:
$rtmpdump-rrtmp://216.185.104.75/vod -y宝马/250413/vod-o a.flv
?(如果它是好的,请保留在答案中——这个答案的版本中没有。)好的,最后一件事。为什么playpath
或-y
应该是bmw/250413/vod
,而不是bmw/250413/vod.flv
(显然,它不起作用)如代码中所示?你是怎么推断出应该是那样的?@TheoneManis我用了RTMPH。这是一个痛苦,但是,因为它只适用于Windows,不确定Linux解决方案。顺便说一句,对于MS Windows命令提示符,不要忘记使用双引号而不是单引号“rtmp://216.185.104.75/vod playpath=bmw/250413/vod”。
curl rtmp://.../vod.flv -o vod.flv
% 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