" -vf fps=1/5 out%d.-6ren">
gpt4 book ai didi

python - 从实时非 youtube 视频流中提取图像帧

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

我正在尝试提取在 earthcam.net、skyline.net 等上实时流式传输的 https 视频。我一直在,

FFmpeg -i "https://<>" -vf fps=1/5 out%d.png
但它给出了 Invalid data found when processing input

最佳答案

最好的方法是在 python 中使用 streamlink。这将为您提供可由 opencv cam = VideoCapture(streamlink_output) 读取的 m3u8 文件

关于python - 从实时非 youtube 视频流中提取图像帧,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62626222/

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