MXF Reader Lib

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
Line 25: Line 25:
 
{{AVOProp|duration|double|ReadOnly|File duration in second}}
 
{{AVOProp|duration|double|ReadOnly|File duration in second}}
 
{{AVOProp|ext_audio|bool|ReadWrite|Enable external audio file,as example for Panasonic P2 }}
 
{{AVOProp|ext_audio|bool|ReadWrite|Enable external audio file,as example for Panasonic P2 }}
{{AVOProp|fw_play|bool|ReadWrite|Play direction, true for forward, false  fo backward}}
+
{{AVOProp|fw_play|bool|ReadWrite|Play direction, ''true'' for forward, ''false'' for backward}}
 
{{AVOProp|aes_key|BSTR|ReadWrite|Encription key for DCI files in HEX format XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX, dots may be omnited or replaced to any delimiter}}
 
{{AVOProp|aes_key|BSTR|ReadWrite|Encription key for DCI files in HEX format XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX, dots may be omnited or replaced to any delimiter}}
 
{{AVOProp|streams|array of objects|ReadWrite|Array of media streams for file}}
 
{{AVOProp|streams|array of objects|ReadWrite|Array of media streams for file}}

Revision as of 07:59, 11 July 2014

This page is a copy of the original page on the AVObjects' web site and can also be viewed here.


TODO: Description

Overview

TODO: Overview

Interfaces&Methods

Object implements follows methods of IAVObject Interface

IAVProperties Interface used for sets ang gets values of MXF Reader Lib properties.

Properties

formatBSTRReadOnly
File format
format_nameBSTRReadOnly
File format description
sourceBSTRReadWrite
Name of file
start_timedoubleReadOnly
Start timecode
durationdoubleReadOnly
File duration in second
ext_audioboolReadWrite
Enable external audio file,as example for Panasonic P2
fw_playboolReadWrite
Play direction, true for forward, false for backward
aes_keyBSTRReadWrite
Encription key for DCI files in HEX format XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX.XX, dots may be omnited or replaced to any delimiter
streamsarray of objectsReadWrite
Array of media streams for file

Samples

Trace all object's properties

//Query IAVProperties interface
CComQIPtr<IAVProperties> spProps(spObject);
 
//Get list name=value pairs separated CR
//for all properties of object
CComBSTR cbsPropsList;
HRESULT hr = spProps->PropsGet(L"\n", cbsPropsList);
ATLASSERT(hr == S_OK);
 
//Trace properties	
ATLTRACE2(atlTraceGeneral, 2, L"Qbject's properties:\n%s\n", 
  spPropsList);
Personal tools