ImageEn, unit ieds

TIEDirectShow


Declaration

TIEDirectShow = class;


Description

Provides access to DirectShow features, such as video capture, audio capture, multimedia files capture as well video rendering, and multimedia file writing.
It is generally accessed via TImageEnView.IO.DShowParams.




Overview




Demos

Demo  Demos\VideoCapture\DirectShow1\DShow.dpr
Demo  Demos\VideoCapture\DirectShow2\DShowCap.dpr
Demo  Demos\VideoCapture\VideoEffects\VideoEffects.dpr
Demo  Demos\Display\VideoPlayer\VideoPlayer.dpr


Example

// Read from a multimedia file, and save with another compression

ImageEnView1.IO.DShowParams.FileInput := 'input.avi';
ImageEnView1.IO.DShowParams.FileOutput := 'output.avi';
ImageEnView1.IO.DShowParams.SetVideoCodec( ... );
ImageEnView1.IO.DShowParams.SetAudioCodec( ... );

ImageEnView1.IO.DShowParams.EnableSampleGrabber := True;
ImageEnView1.IO.DShowParams.Connect;

Methods and Properties


General
Public Property  CaptureMode
Public Method  Connect
Public Property  Connected
Public Method  ConvertTimeFormat
Public Method  Disconnect
Public Property  Duration
Public Property  EnableSampleGrabber
Public Property  EndOfStream
Public Property  GetAverageTimePerFrame
Public Method  GetEventCode
Public Method  GetSample
Public Method  GetSupportedTVStandards
Public Method  GetVideoRenderNativeSize
Public Method  Pause
Public Property  Position
Public Property  Rate
Public Property  ReferenceClock
Public Property  RenderAudio
Public Property  RenderVideo
Public Method  Run
Public Method  SetTVStandard
Public Method  SetVCRHorizontalLocking
Public Method  ShowPropertyPages
Public Method  State
Public Method  Step
Public Method  Stop
Public Property  TimeFormat
Public Property  TunerChannel
Public Method  TunerFindSignal

DVD Methods
Public Method  DVDActivateButton
Public Method  DVDGetProperty
Public Property  DVDInputPath
Public Method  DVDPlayAdvanced
Public Method  DVDPlayAt
Public Method  DVDSelectAt
Public Method  DVDShowMenu

Codecs and Format
Public Property  AudioCodecs
Public Method  GetCurrentVideoFormat
Public Method  SetCurrentVideoFormat
Public Method  SetAudioCodec
Public Method  SetVideoCodec
Public Property  VideoCodecs
Public Property  VideoCodecQuality
Public Property  VideoFormats
Public Property  VideoFormatsCount

Input and Output
Public Property  AudioInputs
Public Method  FileInput
Public Property  FileOutput
Public Method  Refresh
Public Method  SetAudioInput
Public Method  SetVideoInput
Public Property  VideoInputs
Public Property  VideoInputSource
Public Property  VideoInputSources

Advanced
Public Method  BufferToTIEBitmap
Public Property  ClockErrorTolerance
Public Method  GetVideoRenderRect
Public Property  GraphBuilder
Public Property  NotifyWindow
Public Method  RepaintVideo
Public Method  SaveGraph
Public Method  SetNotifyWindow
Public Method  SetVideoRenderRect