WMEncoder.TimecodeFrameRate
![]() |
The TimecodeFrameRate property specifies and retrieves the time code of the frame rate for the encoding session when generating a new time code for the output.
Syntax
Long = WMEncoder.TimecodeFrameRate
WMEncoder.TimecodeFrameRate = Long
Parameters
This property takes no parameters.
Property Value
A Long indicating the frame rate.
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. |
| E_INVALIDARG | 0x80070057 | The specified frame rate is invalid. |
Remarks
The time code format is hhmmssff, so if the duration is 10 seconds and 21 frames, the time code is 1021.
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also
.gif)