The properties are stored in the system registry:
[HKEY_CURRENT_USER\SOFTWARE\Medialooks\MPlatform\MWriter]
and can be set with the PropsSet method. Please refer to this article about prefixes for properties.
Name | Default value | Description |
---|---|---|
statistics.extended | stat | Sets a prefix for gathering statistics of an MLive object after all the conversion and changes. |
rate_control | 0 | Once set to "1", the MWriter object controls playback rate (playback doesn't continue until the MWriter doesn't return an event that a frame has been encoded). |
max_duration | 0.0 | Sets default duration for encoding files. |
external_process | true | Once enabled, the encoding happens in an external MServer.exe process. |
config.path | user_config.xml | Sets a path to a user configuration XML file. |
audio_channels | Default audio channels configuration. See audio management for details. | |
audio_gain | Default audio gain configuration. See audio management for details. | |
config.unicode | dword:00000000 | Once set to "1", a configuration uses Unicode symbols. |
config.load | false | Once enabled, an MWriter object loads a previous configuration from "config.path" file. |
config.save | true | Once enabled, an MWriter object saves the last configuration to "config.path" file. |
play_while_rec | true | Enables Play-while-Rec feature by default. In this mode, you can playback files with external applications (based on Medialooks products) while they are recorded. |
pull_mode | true | Sets pull-mode for MWriter object |
video.buffers | 30 | Sets the maximal size of the buffer for input frames. |
video.drop_frames | false | Once enabled, MWriter can drop frames if encoding takes a long time. |
writer.buffers | 100 | Sets maximum encoding buffer size. |
writer.buffers_min | 1 | Sets minimum encoding buffer size. |
writer.async_start | false | Once enabled, MWriter object starts asynchronously. |
on_frame.sync | false | Makes OnFrame and OnFrameSafe events synchronous, so frame grabbing process won't continue until OnFrame event isn't over. |
on_frame.data | false | Enables objects of OnFrame and OnFrameSafe events to contain MFrame data. |
on_event.sync | false | Makes OnEvent and OnEventSafe events synchronous, so frame grabbing process won't continue until OnFrame event isn't over. |
events.use_window | true | Use events (OnFrame, OnEvent, OnEventSafe and OnFrameSafe) in the thread of your application. If you use a service or an application without windows, then disable this mode. |
anc_capture.tags | Default custom ANC tags. See more for details. | |
scaling_quality | auto | Sets scaling quality for video. Possible values:
|
overlay_rms | false | Enables RMS overlay. |
overlay_rms.pos | 0.13 | Specifies the relative vertical position of the RMS overlay. Available values are from 0.00 to 1.00. |
overlay_rms.color | red |
Specifies RMS overlay color. Possible values:
|
overlay_waveform | false | Enables waveform overlay. |
overlay_waveform.pos | 0.3 | Specifies the waveform overlay position relative to the center. |
overlay_waveform.color | Specifies the waveform overlay color. | |
register_object | true | Once enabled, the MWriter object is registered to the system to gather statistics. |
object_name | MWriter | Default name of the object. Call ObjectNameSet method before you start the object to change the name from code. |
dvb.rate_control | true | Enables rate control by MWriter object for DVB streaming |
experimental.breaks_correct_msec_max | 0 | corrects the input breaks for MWriter (set e.g. 100 msec for breaks correction) |
format.set_default_pixelformat | true | Uses the original pixel format if a video conversion is used |
mfcodecs.enabled | true | Enables a new encoding implementation |
mfcodecs.gpu_frame_encoding | false | Forces GPU-powered video encoding in case of the GPU-pipeline mode |
writer.sync_switch | false | closes current encoder before switching to next |