精通
英语
和
开源
,
擅长
开发
与
培训
,
胸怀四海
第一信赖
i have a 10 megapixel IP camera that runs at about 5 fps. The control will show proper frames every so often, but most come out like the linked image. VLC will show frames like this for 5 seconds maybe, then it is ok. ffplay and mplayer don't have the problem at all. I played around with your StreamPlayer.dll source, recompiling with a few additional ffmpeg codec options, but I was unsuccessful. I fear it has to do with the reading of the stream. Any ideas?
我有一个10兆像素的IP摄像机,运行参数为5帧/秒。控件时常显示为一帧一帧的,不连贯。 VLC将稳定显示帧5秒,它处理的好。 ffplay和mplay也没有问题。 我钻研你的StreamPlayer dll源代码,与一些附加的ffmpeg编码选项重新编译,但是没有成功。 我担心必须分析流才能解决问题,有什么好主意吗?
Thank you!谢谢你们!
Hi! 嗨!
Thanks for your feedback! Looks like I lose some packets during the decoding procedure. 谢谢你的反馈! 看起来像解码过程中失去一些数据包。
I will try to find out what is the reason, but please do not expect a quick fix, as I do not have such a stream to test it. 我将试着找出是什么原因,但请不要期望快速修复,因为我没有用过这样的流测试它。
I understand, thank you for looking into it. I'm trying some things on my end too. I may try to implement a packet queue and use SDL for threading. Most ffmpeg player implementations I've seen, like ffplay, use SDL and a queue. If I can get it going I'll see what I can share.
我明白了,谢谢你。 我先结束我的工作。 我可以尝试实现一个数据包队列,并使用SDL来支持线程。 我见过的情况里,最常见的ffmpeg播放器实现,像ffplay,使用SDL和队列。 如果我明白了我可以分享给你们。
Has anyone had any luck with this bug? 有没有人有过这种错误?
In order to fix it I need to reproduce it first. Do you have a reproduction scenario (a rtsp url)?
为了解决这个问题我需要先复制它。 你有复制场景(rtsp url)么?
Please try this url for test: 请试试这个url测试:
rtsp://193.40.133.138/live/kurg
It works fine in VLC, but on StreamPlayerDemo many artefacts appears
VLC没问题,但在StreamPlayerDemo出现许多重影
Thank you! FFplay also works fine with that url, so I will try to handle packets in the ffplay way.
谢谢你们! url FFplay也没问题,所以我将试着处理数据包,以FFplay的方式。