原創|使用教程|編輯:郝浩|2013-09-05 14:44:06.000|閱讀 856 次
概述:TVideoGrabber是一個功能全面、易于使用的視頻捕捉工具和多媒體播放器,本文搜集了一些TVideoGrabber的技術問答,幫助遇到此類疑的朋友。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關鏈接:
TVideoGrabber是一個功能全面、易于使用的視頻捕捉工具和多媒體播放器,本文搜集了一些TVideoGrabber的技術問答,并針對于有的朋友遇到的疑難給出了解答。
一、在TVideoGrabber錄制過程中,怎么樣用編程的方式來選擇編碼器來壓縮文件呢?
VideoGrabber.VideoDevice = VideoGrabber.VideoDeviceIndex ("Dazzle DVC170") VideoGrabber.AnalogVideoStandard = VideoGrabber.AnalogVideoStandardIndex ("PAL B") VideoGrabber.VideoCompressor = VideoGrabber.VideoCompressorIndex ("Pinnacle MPEG 2 Encoder") VideoGrabber.AudioCompressor = VideoGrabber.AudioCompressorIndex ("Pinnacle MPEG Layer-2 Audio Encoder") VideoGrabber.VideoDevice = VideoGrabber.VideoDeviceIndex ("Dazzle DVC170") VideoGrabber.CompressionMode = cm_CompressOnTheFly VideoGrabber.AudioRecording = true VideoGrabber.StartRecording
——選擇Dazzle DVC170
——選擇PAL B模擬視頻模式
——選擇Pinnacle MPEG 2編碼器
——選擇“on the fly”壓縮
——啟用音頻錄制
——開始錄制
二、怎么樣用TVideoGrabber同步的記錄2個相機呢?
需要在調用StartRecording之前,啟用同步屬性,像下面這個樣子:
VideoGrabber1.Synchronized := True; VideoGrabber2.Synchronized := True; VideoGrabber1.VideoDevice := 0; // e.g. index of the 1st camera in the VideoDevices list VideoGrabber2.VideoDevice := 1; // e.g. index of the 2nd camera in the VideoDevices list VideoGrabber1.StartRecording; VideoGrabber2.StartRecording; // then both recordings will start at the same time end;
三、TVideoGrabber 中可以創建我喜歡的那部分視頻的索引嗎?可以用來回放視頻的那種索引···
這個是可以的,不過需要通過指定開始和停止的倍數,用100ns單位表達的那種,比如1s=10000000,調用OpenPlayerAtTimePositions
四、當我用TVideoGrabber在開始預覽或這是打開播放器的時候,出現了一個黑色的窗口,但是有時候又是出現一個白色的窗口,真是奇怪····怎么回事呢?
導致這種問題的原因可能有2方面:
五、在進行圖像和文本覆蓋的時候,TVideoGrabber的chroma key運行不起 ,怎么回事?
這個是由于微軟的windowscodec.dll有可能在某些平臺上丟失了,就是那個Windows成像組件,需要用ImageOverlay_ChromaKeyRGBColor 屬性,來指定要使用的RGB顏色值。
六、在使用TVideoGrabber時,我可以減少關閉一個剪輯并打開另一個剪輯之間的時間么?
這個是可以的,當你要關閉一個剪輯并打開另一個時,不要調用Stop、StopPlayer或 ClosePlayer。直接就調用OpenPlayer、 OpenPlayerAtTimePositions或OpenPlayerAtFramePositions,這個樣子時間就會短了。
>>>TVideoGrabber 下載
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:慧都控件