问题描述
我正在使用Directshow和Decklink Studio 2开发视频捕获应用程序,并使用Main Concept MPEG-2编码器将捕获的视频保存在Mpeg-2中.我的应用程序如下所示:
Decklink视频捕获-> MC MPEG-2视频编码器-> .....
................................................... ................................... MC MPEG MUXER->文件编写器(.mpg)
Decklink音频捕获-> MC MPEG-2音频编码器-> .....
一切正常,但是我想实时显示捕获持续时间,如何获取捕获时的持续时间?
有人可以帮我提供示例或示例代码的方法吗?
预先谢谢您.
Hi,
I am developing a video capture application using Directshow with Decklink Studio 2 and saving the captured video in Mpeg-2 using Main Concept MPEG-2 Encoder.My application looks like this:
Decklink Video Capture -> MC MPEG-2 Video Encoder ->.....
............................................................................ MC MPEG MUXER -> File Writer(.mpg)
Decklink Audio Capture -> MC MPEG-2 Audio Encoder ->.....
Everything works fine, but I want to display capture duration in real time.How can I get duration while capture?
Can anyone help me with example or sample code how to do that?
Thank you in advance.
推荐答案
这篇关于如何显示/显示捕获的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!