在VLC和python中提取rtmp流时遇到问题,无法找到直接流位置

2024-05-28 18:34:11 发布

您现在位置:Python中文网/ 问答频道 /正文

位于佛罗里达群岛的“Smoken Tuna Bar”有一个实时网络摄像头:http://www.smokintunasaloon.com/bar-cam.php

在浏览完页面源代码之后,唯一的摄像头链接在这里:http://www.floridakeyswebcams.tv/client-cam/smokin-tuna-bar.cfm

在浏览了页面源代码之后,我发现只有几行后端代码:

    <!-- Flowplayer -->
    <a style="display:block;width:540px;height:304px" id="rtmpplayer">
    </a>
    <script type="text/javascript" src="/flowplayerflash/flowplayer-3.2.13.min.js"></script>
    <script type="text/javascript">
        flowplayer("rtmpplayer", "/flowplayerflash/flowplayer-3.2.18.swf", {
            clip: {
                url: 'mp4:smokintunabar.stream',
                live: true,
                provider: 'rtmp'
            },

            plugins: {

                controls: {
                    url: "/flowplayerflash/flowplayer.controls-3.2.16.swf"
                },

                rtmp: {
                    url: "/flowplayerflash/flowplayer.rtmp-3.2.13.swf",
                    netConnectionUrl: 'rtmp://wowza.floridakeysmedia.com:8090/smokintunabar/'
                }
            }
        });
    </script>

这就是我被困的地方。无论我做什么,我都不能在VLC或pythonrtmp中打开流。所有链接都不会下载或打开,rtmp文档: https://www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf

已经很没用了。如果任何有RTMP经验的人能帮助我,并告诉我视频是从哪个流到的,那将非常感谢。在


Tags: comhttpurl源代码链接wwwscriptbar
1条回答
网友
1楼 · 发布于 2024-05-28 18:34:11

If anyone could show me where the video is streaming from...

RTMP链接由两部分组成:服务器。将它们组合起来形成完整的URL。

这是你的安装程序{/cd2>的开始。在

要在VLC player中使用的完整URL应该如下所示:

网址:rtmp://wowza.floridakeysmedia.com:8090/smokintunabar公司/smokintunabar.stream公司

相关问题 更多 >

    热门问题