2

如何以帧级同步在不同窗口中播放两个或多个视频文件/流?

我可以使用哪些工具、库或 API 来做到这一点?

帧级同步是指我的解决方案必须保证每个视频文件的每一帧都必须同时显示,同时显示其对应的帧(来自其他文件)。

例如:

            in sync         out of sync
Time     -+-+-+-+-+-+ ... +-+-+-+-+-+-+         
video 1   fr1 fr2 fr3     fr1  fr2  fr3
video 2   fr1 fr2 fr3 ...   fr2 fr3 fr4
video N   fr1 fr2 fr3      fr1   fr2  fr3
4

3 回答 3

1

On windows it should be possible to create custom directshow filters/components to do this. We use c# and directshow.net to achieve something similar, however we do not yet have "true" frame synchronization and I am in fact searching for a solution as well. The caveat here is that you can not just use the default/provided directshow filters, I fear one would have to write some new filters or perhaps modify the base classes a bit.

于 2009-06-08T18:46:20.470 回答
0

在 OS X 上,Core Video框架将完成这项工作。Core Video 的明确目的是在 QuickTime 媒体(例如音频和视频)和 Quartz 合成系统之间提供帧级同步的链接。

于 2008-11-04T19:33:18.653 回答
0

您能否稍微扩展一下“帧级同步”的含义?

当播放多个视频并且您旋转桌面时,compiz 会执行此操作

opengl 可以在立方体的侧面同时渲染多个视频等

于 2008-11-04T19:34:48.353 回答