gpt4 book ai didi

image-processing - 如何从 http 网络摄像头直播中捕获图像

转载 作者:行者123 更新时间:2023-12-04 23:03:26 25 4
gpt4 key购买 nike

我需要从提供的网络摄像头直播中捕获图像 here

有谁知道怎么做?

我找到了this回答,但这对我没有帮助。当我进入

ffmpeg -i rtmp://85.126.233.214/heidelberg-live/stream1.flv -r 1 -f image2 -vcodec mjpeg captured%d.jpg

它返回
[rtmp @ 0xc45f40] Cannot open connection tcp://85.126.233.214:1935
rtmp://85.126.233.214/heidelberg-live/stream1.flv: Connection timed out
Conversion failed!

这是网站的直播部分的样子:
<embed type="application/x-shockwave-flash"  
src="http://www.blitzvideoserver06.de/blitzvideoplayer4.swf"
width="480"
height="420"
style="undefined"
id="blitzvideoplayer"
name="blitzvideoplayer"
bgcolor="#ffffff"
quality="high"
allowfullscreen="true"
flashvars="videofile1=rtmp://85.126.233.214/heidelberg-live/stream1.flv&amp;

live=1&amp;
keinlogo=1&amp;
mitstartbutton=1&amp;
bgc=ffffff">

最佳答案

您可能希望使用 rtmpdump 来指定所有 FLV 元数据并模拟原始 SWF 文件的行为,这肯定会在那里进行自定义。

请在屏幕截图中查看 RTMP 通信期间的自定义握手和重置消息。

enter image description here

此致,

尤金

关于image-processing - 如何从 http 网络摄像头直播中捕获图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35133982/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com