c# - VLClib 错误 : ES_OUT_RESET_PCR

标签 c# c++ opencv vlc libvlc

我在 C# 代码中使用 VLClib 来播放 RTSP 流。和 C++ 中的 OpenCV,用于此流的帧上的某些进程。 在输出窗口中,我收到以下消息:

core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)
core input error: ES_OUT_RESET_PCR called

之后,每次我在调用我的 OpenCV 代码的那一行遇到类似Attempted to read or write protected memory 的问题。我不知道它们是否与此消息相关。

但是无论如何,这些消息的含义和原因是什么? 我进行了搜索,但大部分结果都是关于 VLC 播放器及其与 DVD 的问题。

这是我的全部日志:

Warning: option --plugin-path no longer exists.  
Warning: option --plugin-path no longer exists.  
[1074ff1c] core vout display error: Failed to set on top  
[1074ff1c] core vout display error: Failed to change source AR  
[19ac8a0c] core vout display error: Failed to change zoom  
[19ac8a0c] core vout display error: Failed to set on top  
[19ac8a0c] core vout display error: Failed to change source AR  
[19ac8a0c] core vout display error: Failed to change zoom  
[19ac8a0c] core vout display error: Failed to change source AR  
The thread '<No Name>' (0x173c) has exited with code 0 (0x0).  
[1088902c] core vout display error: Failed to change zoom  
[1088902c] core vout display error: Failed to set on top  
[1088902c] core vout display error: Failed to change source AR  
[04e60e54] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 300 ms)  
[04e60e54] core input error: ES_OUT_RESET_PCR called  
[1088902c] core vout display error: Failed to change zoom  
[1088902c] core vout display error: Failed to change source AR  

最佳答案

这些消息来自 VLC 的访问模块,它提示流中的损坏。如果您正在播放本地内容,这表明您的文件有问题。对于流媒体内容,这很正常,尤其是在使用 WiFi 时,因为数据包可能会丢失。忽略那些错误通常是省事的。

视频显示错误来自视频输出核心,因为您正在部署一个没有说明功能的视频输出模块,这同样是绝对没有问题的。提供这些错误是为了让您不会对某些功能无法正常工作感到惊讶。

关于c# - VLClib 错误 : ES_OUT_RESET_PCR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31636150/

相关文章:

c# - 将 List<string> 转换为 IEnumerator<string>

c# - 使用 EPPlus Excel 库时分配大量内存

c# - 线程同步

c++ - QT OpenCV setMouseCallback "argument type does not match"

c++ - 更正 YUV422 到 RGB 的转换

c++ - 在 OpenCV C++ 中转换数据表示

c# - system.linq groupby 多个元素

c++ - boost::unordered_map 中的运算符 []

c++ - 具有互斥锁缓存的类的 move 构造函数的最佳实践

c++ - 使用特征参数进行模板推导