Ffmpeg 使用两个登录身份验证录制ip摄像头流媒体

Ffmpeg 使用两个登录身份验证录制ip摄像头流媒体,ffmpeg,stream,vlc,ip-camera,m3u8,Ffmpeg,Stream,Vlc,Ip Camera,M3u8,我正在尝试用ffmpeg、VLC或OBS录制一个流,在您查看流播放器之前,您需要使用microsoft帐户登录,URL如下所示 https://yourwebsite.msappproxy.net/Camera/player.html?stats=1 https://yourwebsite.msappproxy.net/Camara/hls/live.stream-152121.ts 登录后,您必须插入用户名和密码才能观看您想要观看的摄像机 我已经得到了.m3u8,并试图在VLC上播

我正在尝试用ffmpeg、VLC或OBS录制一个流,在您查看流播放器之前,您需要使用microsoft帐户登录,URL如下所示

https://yourwebsite.msappproxy.net/Camera/player.html?stats=1
    https://yourwebsite.msappproxy.net/Camara/hls/live.stream-152121.ts
登录后,您必须插入用户名和密码才能观看您想要观看的摄像机

我已经得到了.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 --
-- 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, continuing anyway
ps warning: garbage at input from 509, trying to resync...
-- logger module stopped --
我在Firefox上尝试了“在VLC中打开”扩展,这样你就可以打开你想在VLC上玩的链接

捕获此扩展的URL如下所示

https://yourwebsite.msappproxy.net/Camera/player.html?stats=1
    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.
main: playlist is empty
-- logger module stopped --
-- 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, continuing anyway
ps warning: garbage at input from 509, trying to resync...
-- logger module stopped --
编辑2(解决方案): 我用这个chrome扩展解决了这个问题


使用此扩展,我能够捕获流而无需剪切

您可以共享完整的VLC日志吗?