CLI Documentation
Save video to custom path
The stop
command in MarinaBox CLI supports custom video saving options, allowing you to specify where and how session recordings are saved.
Command Syntax
Options:
--video-dir
: (Optional) Specifies a custom directory to save the session recording--video-filename
: (Optional) Sets a custom filename for the session recording
Description
When stopping a session, you can customize how the recording is saved:
- Custom Directory: Specify where to save the video file
- Custom Filename: Choose a specific name for the video file
- Both Combined: Full control over the video file location and name
Example Usage
Save to Custom Directory:
Use Custom Filename:
Custom Directory and Filename:
Example Output:
Configuration Options
-
Video Directory (
--video-dir
):- Accepts absolute paths
- Directory must exist and be writable
- If not specified, uses default MarinaBox videos directory
-
Video Filename (
--video-filename
):- Must end with
.mp4
- If not specified, uses session ID as filename
- Special characters are allowed but not recommended
- Must end with
Notes
- Custom filenames must end with
.mp4
- Existing files with the same name will be overwritten
- Directory paths should be absolute to avoid confusion
- Both options can be used independently or together
Get Support & Join Our Community
- Discord: https://discord.gg/nAyFBSSU87
- Email: askmarinabox@gmail.com