gacopl / dvmkv2mp4

Convert any Dolby Vision/HDR10+ MKV to DV MP4 that runs on many devices
198 stars 36 forks source link

Change directory for temp files #36

Closed banjopotato closed 1 year ago

banjopotato commented 1 year ago

This is a great tool. Thanks.

My machine has a fairly small root partition and when I run dvmkv2mp4 on large files, I get a warning about not having enough space.

How can I change the script to use another partition (say, /home) for the temporary files? I've looked at the script but don't know what to change.

gacopl commented 1 year ago

scripts is using space where it was started so just move the original file to place where you have space and run it there.

banjopotato commented 1 year ago

I did that: moved it to ~/bin. Still using root partition…

gacopl commented 1 year ago

it will use space wherever the source video file is not where the script is

banjopotato commented 1 year ago

I think it must be log files then. I get a ton of these when using it:

[hevc-h265] SEI user message type 3 size error (3 but 1 remain), skipping SEI message

Is there a way to turn off logging or redirect the logs somewhere else?

gacopl commented 1 year ago

log is written where the video files are but maybe mp4box is creating some temp files. try adding this switch to mp4box in the script

-tmp (string) specify directory for temporary file creation

banjopotato commented 1 year ago

That worked! Thanks and thanks for writing this useful script.