Skip to content

Support {date} and {time} placeholders in Default Path #8261

Open

Description

@stefan-schiffer

Description of the feature or enhancement you'd like to see in HandBrake

Description of the requested enhancement

Please allow the Default Path field (Preferences → Output Files → Automatic File Naming) to use some of the predefined placeholders that are already supported in the File Format field, wherever technically appropriate.

In particular, {date} and {time} should also work in directory paths.

Currently, HandBrake supports these placeholders for output filenames but not for output directories. I see no compelling reason for this difference, especially since HandBrake can automatically create destination directories when necessary.

Concrete use case

I regularly transcode entire folders containing MKV files ripped from DVDs.

Each DVD has its own source directory. I would like HandBrake to automatically create a corresponding output directory at the same hierarchical level as the source directory, preserving the original directory name but prefixing it with the time of transcoding.

My desired Default Path expression is:

{source_path}\..\{time} {source_folder_name}

For example, given this source file:

D:\Rips\Movie A\title.mkv

If transcoding is initiated at 11:49, the desired output would be:

D:\Rips\11-49 Movie A\title.mp4

This would allow me to distinguish original DVD rips from their transcoded versions while retaining the original folder names and sorting the output directories chronologically by their creation time. This way, I could easily see when each transcoding batch was initiated.

Suggested implementation

  1. Make existing filename placeholders such as {date} and {time} available in the Default Path field.
  2. Ideally, provide support for additional filename placeholders in Default Path wherever they are meaningful and valid in directory names.
  3. Apply Windows-compatible formatting rules. For example, {time} should produce 11-49 or 1149 rather than 11:49.
  4. Continue creating destination directories automatically when they do not exist.

Relation to previous feature request

I am aware of issue #6307, which requested more flexible default-path expressions.

My request is narrower: it does not require a new expression language or additional folder-navigation placeholders. It primarily asks HandBrake to reuse its existing date/time placeholder functionality for destination directory names.

The parent-directory component ..\ is simply standard Windows path syntax.

I believe this would be a useful and relatively small improvement to HandBrake's batch-processing workflow.

Operating system: Windows 11

What Operating System are you running?

Windows 11

What version of HandBrake are you running?

1.11.2 (2026060700)

Where did you download HandBrake from?

No response

Activity Log, Crash Log or any other details


Activity

  1. github-actions commented on Nov 13, 2026

    @github-actions

    Hello, and welcome to the HandBrake repository.

    This is an automated message from the HandBrake Bot.

    Important

    Please make sure you have completed the issue template and provide all the requested information.

    Warning

    Be cautious of replies asking you to download DLLs or other files from third-party websites, particularly from users who are not members of the HandBrake team. These downloads may be malicious.
    HandBrake team members have a “Member” label beside their comments.

    Tip

    See the HandBrake documentation for guidance and troubleshooting. Please also follow our Code of Conduct.

    Thank you,
    The HandBrake Bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions