Sidney Parada
Sidney Parada
> > please refer to this link https://www.toutiao.com/article/7271252191200248360/, i give a solution for resolving above problem in windows > > > please refer to this link https://www.toutiao.com/article/7271252191200248360/, i give a...
it is support both file or stream video
> I'll test the code in a week. 都是中国人,直接说中文了,我直接改了miniconda中package中的源代码,加了相关逻辑,你可以整体测试 [ffmpegcv-v2.zip](https://github.com/user-attachments/files/18545332/ffmpegcv-v2.zip) 
> 能问一下,你是做什么开发用途吗,用的是什么相机?我之所以用的 -rtsp_transport tcp ,是因为我用的海康威视监控相机,似乎不支持 upd。用 tcp 的 flag 才可以。我也没有试过其它牌子的相机,比较好奇你实在什么情景下有这个改动需求。 嗯,需求背景类似但是本机调试使用vlc,他是UDP,然后我看客户机器协议有选项是tcp和udp都可以
udp可以通过vlc player的串流功能测试,
> 我检查并测试了代码。 > > 1. 采纳了“ json 替代 xml 来读取 ffprobe 的返回字符串” 的建议。 > 2. 使用 `-rtsp_flags prefer_tcp -pkt_size 736 ` 和 '-analyzeduration {duration_ms * 1000}' 来兼容 rtsp 的 tcp/udp...
啊,这。。不科学。。应该还是有参数我空了在研究一下 > 虽然可以兼容 upd 模式 get info,但是 视频流读取没有进行更新 upd 模式。🥲
for diff base ver of cuda; maybe you can clone code to diff pck as cuda119 cuda117 ; user would not confuse which ver should be used,and you can support...