diff --git a/frameloom b/frameloom index 083a38a..c36a150 100755 --- a/frameloom +++ b/frameloom @@ -380,6 +380,8 @@ async function render (output, avconv) { /** * Parses the arguments and runs the process of exporting, sorting and then * "weaving" the frames back into a video + * + * @param {object} arg Object containing all arguments **/ async function main (arg) { let input = arg.input.split(':') @@ -408,6 +410,10 @@ async function main (arg) { avconv = true } + if (arg.tmp) { + TMPDIR = arg.tmp + } + if (arg.pattern) { pattern = arg.pattern.split(':') pattern = pattern.map(el =>{