The properties are stored in the system registry:
[HKEY_CURRENT_USER\SOFTWARE\Medialooks\MForamts\MFReader]
and can be set with the PropsSet method.
Name | Default value | Description |
---|---|---|
crop | Sets default crop configuration. | |
mirror | Sets default mirror configuration. | |
rotate | Sets default rotate configuration. | |
loop | false | Sets default loop behavior. |
object_name | MFReader | Sets default object name. |
register_object | true | Once enabled, the object is registered to the system to gather statistics. |
external_process | true | Makes decoding in an external MServer.exe process. |
decoder.mldv | true | Enables Medialooks DV decoder |
decoder.nvidia | false | Enables NVIDIA-based GPU decoding. |
decoder.force_gpu_out | false | Forces GPU output from a decoder. |
decoder.quicksync | 0 | Enables Intel Quick Sync GPU decoding. |
decoder.mjpeg_threads | 6 | Sets a number of threads to decode MJPEG video. |
interlace | Sets default interlacing type. Possible values:
|
|
deinterlace_fields | 2 |
Determines which frame fields are used for generating new frames when an up rate control conversion is applied. Possible values:
|
aspect_ratio | Sets default aspect ratio in "[arX]:[arY]" format, e.g. "16:9" | |
scale_type | Sets scaling type. Possible values:
|
|
audio_channels | Default audio channels configuration. | |
audio_track | 0 |
Sets default audio track index. Set "-1" to disable audio. Set "all" for all audio tracks at the same time. |
audio.merge_mono_track | true | Once enabled, mono audio tracks are merged into a single audio track (the default behavior for MXF files with 8 mono audio tracks). |
video_track | 0 | Sets default video track index. Set "-1" to disable video. |
subtitle_track | -1 | Sets default subtitle track index. "-1" means to ignore subtitle tracks. |
threads | 0 | Set the number of threads to be used, in case the selected codec implementation supports multi-threading. |
ts_program | 0 | Sets default transport stream program. For example, the quality level of the youtube stream. |
auto_index | false | Enables the auto-indexation features to improve seeking accuracy. |
file.buffer_max | 2.0 | Sets maximal duration (in seconds) for file buffering. |
file.buffer_min | 0.0 | Sets minimal duration (in seconds) for file buffering. |
network.buffer_max | 10.0 | Sets maximal duration (in seconds) for network streams buffering. |
network.buffer_min | 1.0 | Sets minimal duration (in seconds) for network streams buffering. |
network.low_delay | false | Once enabled, tries to open a network source without extra buffering. Reduces the overall delay for RTSP streams, but might affect the stability of streams for other protocols. |
network.open_async | false | Once enabled, network streams are initialized asynchronously (in an extra thread). |
network.reconnect | true | Once enabled, tries to reconnect a network stream when its signal is lost. |
network.reconnect.max_wait | 0 | The maximal amount of time to wait for the reconnect of a stream. 0 means "wait forever". |
network.open_image | Sets a path to a custom image for reconnection. | |
network.show_attempts | true | Shows attempts of reconnection for network streams. |
network.rate_control | true | Enables additional control over buffers for network streams playback. Makes network playback more stable in most cases. |
frame_get_by_index.use_output_fps | false | Once enabled, the FrameGetByNumber method calculates a target frame based on the output frame rate. In disabled mode, it uses the original frame rate. |
open_url.max_wait | 10000 | Sets the maximal waiting time to open a network stream (in msec). |
open_file.max_wait | 10000 | Sets the maximal waiting time to open a file (in msec). |
read_url.max_wait | 3000 | Sets the maximal waiting time to read a frame from a network stream (in msec). |
read_file.max_wait | 3000 | Sets the maximal waiting time to read a frame from a file (in msec). |
mxf.hidden_index | true | Once enabled, a hidden index file is created for big MXF files. When the index is created the next time you open this MXF file, it is opened much faster than the 1st time. |
mxf.force_ffmpeg | false | Forces to use FFmpeg MXF decoding instead of Medialooks MXF Reader. |
mxf.fp500_offset | true | Enables to use FP500 offset data for MXF files. |
mxf.s377_metadata | false | Enables to use S377 metadata for MXF files. |
mxf.open_file_flags |
Sets additional flags for MXF files opening https://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx Where valid flags are listed in dwFlagsAndAttributes parameter. |
|
mxf.source_package_tc | false | Sets a timecode source for MXF files: false - MaterialPackage TC true (or 1) - SourcePackage TC from the 1st source TC track 2,3,... - an index of a source TC track to use (starts with 1). |
anc_file.async_open | false | Sets asynchronous way to open external ANC file with closed captions data. |
img.open_file_flags | -1 | Sets additional flags for still images opening |
play_while_rec.update_len | true | Once enabled, the object updates duration of a recording file. |
audio_only.preroll_msec | 0 | Sets default preroll value in msec for seeking in audio-only files. |
audio_only.block_msec | 0 | Sets default duration of an audio block (for audio-only files) in msec. If "0" then duration equals to video frame time. |
audio.pts_sync_msec | 0 | Sets a limit of asynchronization in milliseconds before force synchronization of video and audio is enabled. |
audio_only.exact_pos | false | Once enabled, seeking within audio-only files uses specified position (not aligned by frame time) |
forward.cache | 3 | Sets the amount of pre-cached frames for a forward playback. |
forward.min_seek | 5 | Sets interval of frames for seeking. |
duration.recalc_on_open | false | Once enabled, the file duration is recalculated once it is opened. It gets a more accurate duration but slightly increases performance and time to open a file. |
scaling_quality | auto | Sets scaling quality for video. Possible values:
|
watch_dog.max_time_file | 1000 | Sets maximal wait time for a watchdog object to control framerate for files. |
watch_dog.max_time_net | 10000 | Sets maximal wait time for a watchdog object to control framerate for network streams. |
experimental.out_video_packets | 0 | Enables experimental mode to output original (non-decoded) video packets. |
experimental.out_audio_packets | 0 | Enables experimental mode to output original (non-decoded) audio packets. |
experimental.mfcodecs | false | Enables an experimental mode for video and audio decoding |
experimental.optimize_cpu | true | Optimizes CPU usage for decoding. Experimental parameter. |
audio.rms_forward_time | 0.0 | Pre-cache duration for audio normalization in a forward direction. |
audio.lufs | false | Enables LUFS audio measurement |
audio.lufs_state | Sets LUFS measurement state. Possible values:"" (continue the calculation), "reset", "pause" | |
audio.lufs_channels | Sets the channels for LUFS measurements | |
audio.gain_normalization | false | Enables the audio gain normalization |
gain_normalization.target_i | -23.0 | Target i value for the normalization |
gain_normalization.gating | -100.0 | The gating parameter for audio normalization |
gain_normalization.loudness_type | rms | Type of audio normalization. Possible values: "rms", "m", "s", "i" |
experimental.rev_max_step_msec | 300 | Maximal interval for reverse playback |
experimental.rev_min_step_msec | 0 | Minimal interval for reverse playback |
experimental.rev_max_gpu_frames | 10 | The maximal number of frames allocated in the GPU. |
experimental.nvidia.async_copy | false | Enables an asynchronous way of video data copy for GPU-pipeline. |
mfcodecs.drop_packets | false | Enables dropping packets for mfcodecs. Not recommended to enable. |
format.set_default_pixelformat | false | Once enabled, the MFReader keeps using the original pixel format in a case of video conversion. |
srt.force_ffmpeg | false | Initializes FFmpeg to read input SRT streams. By default, Medialooks' internal splitter is used. |
output.10bit | false | Enables 10bits output from MFReader (for HDR support) |