Skip to main content

Use commands

Aim

To control video recording with another program that can send commands, for example, EthoVision XT.

Procedure

In your application, browse to the program program MRCmd.exe exe that is by default located in the folder C:\Program Files\Noldus\MediaRecorder 6 and specify the command.

For example, use the following command line to start video recording:

“C:\Program Files\Noldus\MediaRecorder 6\MRCmd.exe /R”

note    If you installed MediaRecorder in another folder than the default one, the program MRCmd.exe is present in this folder. Adjust your command lines accordingly.

Available commands

  • Start MediaRecorder MediaRecorder – MRCmd.exe or MRCmd.exe /E
  • Start recording recording — MRCmd.exe /R
  • Stop recording recording —MRCmd.exe /S
  • Close MediaRecorder MediaRecorder — MRCmd.exe /X — Closes MediaRecorder program.
  •   Load a configuration file — MRCmd.exe /C=[filename.mrs].See See Load a configuration file  
  • Set the file base name — MRCmd.exe /B=[basename]. See  See Set file base name

There is a space between between MRCmd.exe exe and the slash.

Load a configuration file

The command command /loads a configuration file with the settings for your cameras (Save the camera settings). This is, for example, useful to open MediaRecorder with the correct cameras. Make sure MediaRecorder is not recording at that moment.

By default default MRCmd.exe exe loads a file from the folder C:\Users\Public\Public Documents\Noldus\MediaRecorder. If the file is located in another folder, you must type the full path. If the file name or the path contains spaces you must type it in between quotation marks.

Example 1 - Open MediaRecorder and load load Configuration_observation_room.mrs mrs from C:\Users\Public\Public Documents\Noldus\MediaRecorder:

MRCmd.exe /E /C=Configuration_observation_room.mrs

Example 2 - Opening MediaRecorder and load load Configuration Control Room Room from C:\Configuration files:

MRCmd.exe /E /C=”C:\Configuration files\Configuration Control Room.mrs”

Set file base name

The command command /B  sets the File base name.

See See Set video file base name

Example - Set the the File base name name to to Observation room:

MRCmd.exe /B=”Observation room”

This option cannot be used together with other commands.

Notes

Delay

Allow enough time between the commands. If a command is sent before the previous one is carried out, the second command is not carried out. For example, if the command Start Recording is sent before MediaRecorder is completely open, recording does not start.

There may be a delay between the command Start Recording and the moment the recording actually starts. This delay depends on the number of cameras, camera settings, the processor speed and programs running in the background.

In the most common scenarios with MediaRecorder and The Observer XT, the videos are automatically synchronized with the events, so the delay is not important.

See also also Synchronize videos with events in  in MediaRecorder with The Observer XT