WMEncoder.StartingTimecode
The StartingTimecode property specifies and retrieves the value at which to start the time code when the original time code is not used.
Syntax
WMEncoder.StartingTimecode = Long
Long = WMEncoder.StartingTimecode
Parameters
This property takes no parameters.
Property Value
A Long that indicates the starting time code.
If this property fails, it returns an error number.
Return code | Number | Description |
NS_E_INVALIDCALL_WHILE_ENCODER_RUNNING | 0xC00D1B66L | This property cannot be set while the encoder engine is running. |
NS_E_INVALID_TIMECODE | 0xC00D1BD6L | The specified time code is not valid. |
Remarks
Set the EnableTimecode property to True to use time codes in your video content, and then set the PreserveSourceTimecode property to False to insert a new time code. A new time code of 01:00:00:00 is used. Use this property to change the starting time code.
The format for specifying the time code is a Long ANSII. To represent a time code of 19 hours, 23 minutes, 45 seconds, and 20 frames, the format would be "0x19234520" as a Long (the String format would be "19:23:45:20").
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also