使用两个登录身份验证记录IP摄像机流

问题描述

我正在尝试使用ffmpeg,VLC或OBS记录流,在查看流播放器之前,您需要使用Microsoft帐户登录,URL就是这样

https://yourwebsite.msappproxy.net/Camera/player.html?stats=1

登录后,您必须输入用户名和密码才能观看想要观看的摄像机。

我有.m3u8并试图在VLC上播放它,但没有开始流式传输,搜索我发现您可以将凭据添加到流式链接中,但这也不起作用

https://user:password@yourwebstite.msappproxy.net/Camera/hls/live.stream.m3u8

我也在Firefox上使用扩展名“ Video DownloadHelper”进行了尝试,该扩展名能够下载流,但有时会停止下载,您需要在网站上重新登录

编辑: 添加了VLC输出日志

-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main: playlist is empty
-- logger module stopped --

我尝试在Firefox上使用“在VLC中打开”扩展名,以便您可以打开要在VLC上播放的链接

捕获此扩展名的URL如下

    https://yourwebsite.msappproxy.net/Camara/hls/live.stream-152121.ts

VLC输出日志

-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
ps warning: this does not look like an MPEG PS stream,continuing anyway
ps warning: garbage at input from 509,trying to resync...
ps warning: this does not look like an MPEG PS stream,trying to resync...
-- logger module stopped --

编辑2(解决方案): 我使用此chrome扩展程序解决了问题

Stream Recorder Chrome

使用此扩展程序,我可以不中断地捕获流

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)