通过rtsp为timelapse提供服务的实用程序
Gstreamer-Timelapse-RTSP-Server的Python项目详细描述
提供从静态图像获取的时间点的rtsp流。
基本用法
按如下方式启动服务器,其中“path to folder”是指向 包含要在timelapse流中使用的图像的文件夹:
fromGstTimelapseRtspServer.ServersimportGstTimelapseServergts=GstTimelapseServer("path to folder")gts.run()
播放流:
ffplay rtsp://localhost:9994/timelapse