Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] add parameter to redirect temporarily path #80

Closed
lsylsy2 opened this issue Jun 27, 2021 · 2 comments
Closed

[Feature request] add parameter to redirect temporarily path #80

lsylsy2 opened this issue Jun 27, 2021 · 2 comments

Comments

@lsylsy2
Copy link

lsylsy2 commented Jun 27, 2021

Scenario:
When capturing videos using a server (VPS, Cloud server, etc.), it's usual to have system disk and data disks seperated, and /tmp mouted to the system disk which is not big enough to hold all the segment files.
Adding a parameter allowing to save temp files in specified path can solve this problem.

@Last-Order
Copy link
Owner

Last-Order commented Jun 27, 2021

You can use environment variables (TEMP on Windows or TMPDIR on common Linux distributions) to set the directory of temprorary files.

On Windows:

set TEMP=D:/temp/&& minyami ...

On Linux

export TMPDIR=/foo/bar && minyami ...

@Last-Order
Copy link
Owner

Docs updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants