采集卡连摄像机选择模拟输入源

用AMCAP看,发现了两个输入源,默认的那个总是出不来数据,需要在DS采集模块里设置一下。

	IAMCrossbar *pXBar1 = NULL;
	hr = _dsInfo.GetCpatureGraphBuilder2Ptr()->FindInterface(&LOOK_UPSTREAM_ONLY, NULL,
		_captureFilter,IID_IAMCrossbar, (void**)&pXBar1);
	if(FAILED(hr))
	{
		WEBRTC_TRACE(webrtc::kTraceError, webrtc::kTraceVideoCapture, _id,
			"IAMCrossbar Failed to FindInterface.");
	}
	else
	{
		long OutputPinCount = 0;
		long InputPinCount = 0;
		long PinIndexRelated;
		long PhysicalType;
		long inPort = 0;
		long outPort = 0;
		pXBar1->get_PinCounts(&OutputPinCount,&InputPinCount);

		for(int i =0;i<InputPinCount;i++)
		{
			pXBar1->get_CrossbarPinInfo(TRUE,i,&PinIndexRelated,&PhysicalType);
			if(PhysConn_Video_Composite==PhysicalType)
			{
				inPor
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
高清视频采集软件 http://strony.aster.pl/paviko/ HDVSplit version 0.75 HDVSplit - utility for capturing HDV stream from your camcorder with scene splitting by timestamp. You can also split MPEG2 Trasnport Stream files captured earlier - new scenes are detected by date and time read from .m2t file. Preview is available if MPEG2 decoder is installed (for free decoder look at ffdshow). Discussions threads: SonyHDVInfo Doom9's Forum Supported HDV camcorders: Sony HDR-HC1 Sony HVR-A1 (thanks Ratan for checking it out) Sony HDR-FX1 (thank you Sportster) Requirements: Windows XP DirectX 9.0 Recommended system for preview: Pentium 4 3GHz or Athlon XP 3200+ TODO: - Simple cutting of m2t files with GOP accuracy Setting ffdshow video decoder: 1. Download and install ffdshow (http://sourceforge.net/projects/ffdshow) 2. In start menu open "ffdshow" -> "Video decoder configuration" 3. Choose "Codec" tab 4. Find in the table, under "Format" column, "MPEG2" row. 5. In "Decoder" column choose "libavcodec" for "MPEG2". 6. Choose "Apply" and "OK" Setting ffdshow audio decoder: 1. In start menu open "ffdshow" -> "Audio decoder configuration" 2. Choose "Codec" tab 3. Find in the table, under "Format" column, "MP1,MP2" row. 4. In "Decoder" column choose "mp3lib" for "MP1,MP2" 5. Choose "Apply" and "OK" Usage for capturing: 1. Install camcorder drivers (DVHS driver). For instruction go here: http://hdvforever.com/hdv/hdrhc1/freecapture/default.htm 2. Connect your camcorder through firewire port and turn it on. 3. Run HDVSplit. 4. Choose file name and output directory. 5. When camcorder is in play/edit mode you can control tape transport. 6. Choose how to name each scene: add number to the end of file name e.g. 0001 ("Count" option) or add date and time to the end of file name e.g. 2005_10_12-12_10_42 ("Date and time" option) 7. You can change the date and time format. Input any text, which is proper for file names and use variables: %Y shortcut for year, %M for month, %D for day, %h for hour, %m for minute, % for second. Variables are case sensitive. 8. If you don't want to split to scenes deselect "Scenes split". 9. If you don't want to force synchronization of audio and video deselect "Synchronize audio and video" (synchronization is only available when doing scenes splitting). 10. Start capturing by clicking "Record" button. 11. Click "Stop" to end capturing. Usage for splitting already captured files: 1. Run HDVSplit tool and choose "Scenes splitting" tab. 2. Add captured files to list for spliting. 3. If you want to change the output file name, select "New file name" and input desired file name. 4. If you want to change the output directory, choose "Output directory ..." 5. Choose how to name each scene: add number to the end of file name e.g. 0001 ("Count" option) or add date and time to the end of file name e.g. 2005_10_12-12_10_42 ("Date and time" option) 6. You can change the date and time format. Input any text, which is proper for file names and use variables: %Y shortcut for year, %M for month, %D for day, %h for hour, %m for minute, % for second. Variables are case sensitive. 7. If you don't want to force synchronization of audio and video deselect "Synchronize audio and video". 8. Click "Start" to begin splitting of file. Version changes: Version 0.75 - 05.03.2006 - fixed crash on exit when MPEG2 decoder could not be found - added detection of dropped frames/packets during capture Version 0.7 - 19.02.2006 - preview added (3rd party decoder needed, e.g. free ffdshow) Version 0.55 - 05.02.2006 - saving user preferences to file - possibility to choose date and time format Version 0.53 - 25.01.2006 - fixed serious bug with line artifacts in frames introduced in 0.51 Version 0.52 - 12.01.2006 - fix to hack from 0.5 version, now not only split is correct, but also date and time Version 0.51 - 08.01.2006 - added option to synchronize audio and video (thanks to domain for pointing it out!) Version 0.5 - 31.12.2005 - new feature: direct capture from camcorder - fixed incorrect split when non-video packet appeared during search for split - hack for strange behaviour (noticed with HC1) - sometimes wrong timestamp is written to tape ?! Version 0.1 alpha - 10.12.2005 - first release

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值