通过DirectShow从电视录制视频 [英] recording video from TV via DirectShow

查看:102
本文介绍了通过DirectShow从电视录制视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个通过DirectShow从电视录制视频的应用程序.使用的功能是

I''m working on a application recording video from TV via DirectShow. The function used is

SetOutputFileName() 


参数:MEDIASUBTYPE_Avi
如果应用压缩滤镜(Radius的Cinepak编解码器),则记录的视频严重丢帧.
如果未应用压缩过滤器,则记录的视频文件将在两个时间段内最大为2GB.
在两种情况下,视频和音频都不同步.


parameter : MEDIASUBTYPE_Avi
If compression filter (Cinepak Codec by Radius) is applied, the video recorded is suffering severe frame dropping.
If no compression filter is applied, the video file recorded is as large as 2GB in two mintues.
In both cases, video and audio are not synchronized.

How to deal with it?

推荐答案

您需要使用更好的编解码器并获得更快的计算机,或者使用更低的图像大小或帧速率.您正在丢帧b/c您的计算机无法跟上,并且您不同步,因为Windows附带的编解码器都烂透了. DivX是一个很好的编解码器.使用慢速计算机可以做的另一件事是捕获未压缩的文件,然后再压缩.
You need to use a better codec and get a faster machine, or use a lower image size or frame rate. You''re dropping frames b/c your computer can''t keep up, and you''re out of sync because the codecs that come with windows all suck. DivX is a good codec. The other thing you can do with a slow machine is to capture uncompressed, and compress later.


致克里斯蒂安·格劳斯(Christian Graus),
在Win7中找不到DivX.
如果我们捕获未压缩的文件,则太大.
To Christian Graus,
DivX cannot be found in Win7.
It''s too large if we capture uncompressed.


这篇关于通过DirectShow从电视录制视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆