IMFReaderDS Interface Methods

For a list of all members of this type, see IMFReaderDS members.

Public Methods
 NameDescription
 MethodReaderAudioLevelGetGets audio level of file  
 MethodReaderCloseCloses a reader (used if reader is used via DirectShow)  
 MethodReaderControlActivePauseGetGets active pause state (for alternative playback control)  
 MethodReaderControlActivePauseSetPlay/Active Pause reader (for alternative playback control), sequential calls switch to next/prev frame (depends on playback rate)  
 MethodReaderControlPosGetGets current position (for alternative playback control)  
 MethodReaderControlPosGetTCGets current position via timecode (for alternative playback control)  
 MethodReaderControlPosSetSets current position (for alternative playback control)  
 MethodReaderControlPosSetTCSets current position via timecode (for alternative playback control)  
 MethodReaderControlRateGetGets playback rate (for alternative playback control)  
 MethodReaderControlRateSetSets playback rate (for alternative playback control)  
 MethodReaderCreateGraphCreate playback graph for specified name, and connect specified renderes or render output pins (specified via _bsPropsList)
connect_video=CLSID/Filter Name/moniker e.g.
connect_video='{CEB13CC8-3591-45A5-BA0F-20E9A1D72F76}' or 'Video Mixing Renderer 9'
connect_audio=CLSID/Filter Name/moniker e.g.
connect_audio='@device:cm:{E0F158E1-CB04-11D0-BD4E-00A0C911CE86}\DirectSound: Speakers (2- Blackmagic Audio)' or 'Decklink Audio Renderer'
or
render_video=true render_audio=true
if _bsPropsList is empty then just insert MFReaderDS into graph
 
 MethodReaderFrameGetGets frame at specified position  
 MethodReaderFrameGetByIdxGet frame by frame index, use negative values for get next frames,
e.g. -1 - next frame, -2 - frame after next (skip one frame), etc.  
 MethodReaderFrameGetByTCGets frame by timecode. Use NULL for get next frame  
 MethodReaderInfoGetGets audio and video properties and duration  
 MethodReaderNameGetGets a file name  
 MethodReaderNameSetSets file name or change current playing file. (PROPS not IMPL yet)
The IN (start), OUT (stop) points specified via parameters (in seconds):
e.g. 'in=10.0 out=20.0'
For insert break the file playback (play the new file and after file reach the end, resume playback of interrupted file),
use BREAK param: e.g. 'in=10.0 out=20.0 break=true'  
 MethodReaderRegisteredExtensionsGetGet register extensions for DirectShow automated rendering (e.g. 'avi mov mp4 ts mpg' etc.)  
 MethodReaderRegisterExtensionsRegister / Unregister specified extensions for DirectShow automated rendering (e.g. 'avi mov mp4 ts mpg' etc.)  
Top
See Also

Reference

IMFReaderDS Interface
MFORMATSDSLib Namespace