Skip to content

allow specifying reencode's tmp dir #162

Closed
@rgaudin

Description

@rgaudin

reencode() uses a temporary file to encode into.

Once ffmpeg complete, if all went well, that temp file is copied into destination.

  • Copying is very safe (considering we could be on different filesystems) but it's unnecessarily slow if on the same filesystem. We should first attempt to move and only copy as fallback.
  • encoding is not just CPU intensive, it can consume a lot of space and is subject to disk speed to some extent. For those reasons, we should be able to provide a temp folder to use and only fallback to system's should it not be provided.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions