锐英源软件
第一信赖

精通

英语

开源

擅长

开发

培训

胸怀四海 

第一信赖

当前位置::锐英源 / 英语翻译 / 基于ffmpeg的视频播放器和支持RTSP/RTMP的视频播放器 / 用队列、SDL和线程解决播放不连贯问题
服务方向
人工智能数据处理
人工智能培训
kaldi数据准备
小语种语音识别
语音识别标注
语音识别系统
语音识别转文字
kaldi开发技术服务
软件开发
运动控制卡上位机
机械加工软件
软件开发培训
Java 安卓移动开发
VC++
C#软件
汇编和破解
驱动开发
联系方式
固话:0371-63888850
手机:138-0381-0136
Q Q:396806883
微信:ryysoft

用队列、SDL和线程解决播放不连贯问题

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的方式。

友情链接
版权所有 Copyright(c)2004-2021 锐英源软件
公司注册号:410105000449586 豫ICP备08007559号 最佳分辨率 1024*768
地址:郑州大学北校区院(文化路97号院)内