HandBrake

HandBrake

Docker 应用程序 from Djoss' Repository

概述

HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. The graphical user interface (GUI) of the application can be accessed through a modern web browser, requiring no installation or configuration on the client side, or via any VNC client. The container is built against Alpine Linux to provide an efficient image in terms of size and resource usage. A fully automated mode is also available: drop files into a watch folder and let HandBrake process them without any user interaction. For a complete documentation of this container, see https://github.com/jlesage/docker-handbrake#readme

运行时参数

网络用户界面
http://[IP]:[PORT:5800]
网络
bridge
特权
false

模板配置

Config DirectoryPathrw

Stores the application's configuration, state, logs, and any files requiring persistency.

目标
/config
默认值
/mnt/user/appdata/handbrake
StoragePathro

Contains files from the host that need to be accessible to the application.

目标
/storage
默认值
/mnt/user
Watch DirectoryPathrw

The location for videos to be automatically converted.

目标
/watch
Output DirectoryPathrw

The destination for converted video files.

目标
/output
Trash DirectoryPathrw

When trash usage is enabled, converted source files are moved here instead of being deleted.

目标
/trash
User IDVariable

ID of the user the application runs as.

目标
USER_ID
默认值
99
Group IDVariable

ID of the group the application runs as.

目标
GROUP_ID
默认值
100
UmaskVariable

Mask controlling permissions for newly created files and folders, specified in octal notation.

目标
UMASK
默认值
0000
Niceness (priority)Variable

Priority at which the application should run. A niceness value of `-20` is the highest, `19` is the lowest and `0` the default. NOTE: Setting a negative value requires additional permissions. Thus, `--cap-add=SYS_NICE` must be added to Extra Parameters (shown when Advanced View is enabled).

目标
APP_NICENESS
默认值
0
Display WidthVariable

Width (in pixels) of the application's window.

目标
DISPLAY_WIDTH
默认值
1920
Display HeightVariable

Height (in pixels) of the application's window.

目标
DISPLAY_HEIGHT
默认值
1080
Dark ModeVariable

When set to `1`, enables dark mode for the application.

目标
DARK_MODE
默认值
0
Web AudioVariable

When set to `1`, enables audio support, allowing audio produced by the application to play through the browser.

目标
WEB_AUDIO
默认值
0
Web File ManagerVariable

When set to `1`, enables the web file manager, allowing interaction with files inside the container through a web browser, supporting operations like renaming, deleting, uploading, and downloading.

目标
WEB_FILE_MANAGER
默认值
0
Web File Manager Allowed PathsVariable

Comma-separated list of paths within the container that the file manager can access. By default, the container's entire filesystem is not accessible, and this variable specifies allowed paths. If set to `AUTO`, commonly used folders and those mapped to the container are automatically allowed. The value `ALL` allows access to all paths (no restrictions).

目标
WEB_FILE_MANAGER_ALLOWED_PATHS
默认值
AUTO
Web File Manager Denied PathsVariable

Comma-separated list of paths within the container that the file manager cannot access. A denied path takes precedence over an allowed path.

目标
WEB_FILE_MANAGER_DENIED_PATHS
默认值
None
Web Desktop NotificationsVariable

When set to `1`, enables the web notification service, allowing the browser to display desktop notifications from the application.

目标
WEB_NOTIFICATION
默认值
0
Web TerminalVariable

When set to `1`, enables access to a terminal from the web interface. It is strongly recommended to configure the container with secure web access (HTTPS).

目标
WEB_TERMINAL
默认值
0
Web AuthenticationVariable

When set to `1`, protects the application's GUI with a login page when accessed via a web browser. Access is granted only with valid credentials.

目标
WEB_AUTHENTICATION
默认值
0
Web Authentication Token Validity TimeVariable

Lifetime of a token, in hours. A token is assigned to the user after successful login. As long as the token is valid, the user can access the application's GUI without logging in again. Once the token expires, the login page is displayed again.

目标
WEB_AUTHENTICATION_TOKEN_VALIDITY_TIME
默认值
24
Web Authentication UsernameVariable

Optional username for web authentication. Provides a quick and easy way to configure credentials for a single user. For more secure configuration or multiple users, see the documentation.

目标
WEB_AUTHENTICATION_USERNAME
Web Authentication PasswordVariable

Optional password for web authentication. Provides a quick and easy way to configure credentials for a single user. For more secure configuration or multiple users, see the documentation.

目标
WEB_AUTHENTICATION_PASSWORD
Secure ConnectionVariable

When set to `1`, uses an encrypted connection to access the application's GUI (via web browser or VNC client).

目标
SECURE_CONNECTION
默认值
0
Secure Connection VNC MethodVariable

Method used for encrypted VNC connection. Possible values are `SSL` or `TLS`.

目标
SECURE_CONNECTION_VNC_METHOD
默认值
SSL
Secure Connection Certificate Check IntervalVariable

Interval, in seconds, at which the system checks if web or VNC certificates have changed. When a change is detected, affected services are automatically restarted. A value of `0` disables the check.

目标
SECURE_CONNECTION_CERTS_CHECK_INTERVAL
默认值
60
Web Listening Port (Non-Bridge Network Type)Variable

Port used by the web server to serve the application's GUI. This port is internal to the container and typically does not need to be changed. NOTE: This setting is relevant only when the Network Type is set to something else than Bridge.

目标
WEB_LISTENING_PORT
默认值
5800
VNC Listening Port (Non-Bridge Network Type)Variable

Port used by the VNC server to serve the application's GUI. This port is internal to the container and typically does not need to be changed. NOTE: This setting is relevant only when the Network Type is set to something else than Bridge.

目标
VNC_LISTENING_PORT
默认值
5900
HandBrake GUI StateVariable

Setting this to `1` enables the HandBrake GUI; `0` disables it.

目标
HANDBRAKE_GUI
默认值
1
HandBrake GUI StateVariable

Action to be taken on the HandBrake GUI queue at startup. When set to `PROCESS`, HandBrake automatically starts encoding items in the queue. When set to `CLEAR`, the queue is cleared. Any other value results in no action on the queue.

目标
HANDBRAKE_GUI_QUEUE_STARTUP_ACTION
默认值
NONE
Automatic Video Converter: StateVariable

Setting this to `1` enables the automatic video converter, `0` disables it.

目标
AUTOMATED_CONVERSION
默认值
1
Automatic Video Converter: PresetVariable

Preset used by the automatic video converter. The preset must be identified in the format `CATEGORY/PRESET NAME`. Available presets can be seen via the HandBrake GUI.

目标
AUTOMATED_CONVERSION_PRESET
默认值
General/Very Fast 1080p30
Automatic Video Converter: FormatVariable

Video container format used by the automatic video converter for output files, typically the video filename extension.

目标
AUTOMATED_CONVERSION_FORMAT
默认值
mp4
Automatic Video Converter: Keep Source FilesVariable

When set to `0`, a successfully converted video is removed from the watch folder.

目标
AUTOMATED_CONVERSION_KEEP_SOURCE
默认值
1
Automatic Video Converter: Video File ExtensionsVariable

Space-separated list of file extensions considered as video files. By default, this list is empty, allowing HandBrake to automatically detect if a file is a video, regardless of its extension (except for extensions defined by `AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS`, which are always considered non-video). This variable is typically unnecessary but useful when only specific video files need conversion.

目标
AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS
Automatic Video Converter: Non-Video File ActionVariable

When set to `ignore`, non-video files in the watch folder are ignored. If set to `copy`, non-video files are copied as-is to the output folder.

目标
AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION
默认值
ignore
Automatic Video Converter: Non-Video File ExtensionsVariable

Space-separated list of file extensions considered non-video. Most non-video files are properly rejected by HandBrake, but some files, like images, may be convertible despite not being videos.

目标
AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS
默认值
jpg jpeg bmp png gif txt nfo
Automatic Video Converter: Watch DirectoryVariable

Path to the watch directory within the container. When set to `AUTO` (the default), the path is set to `/watch` for the first watch directory and `/watchX` for additional ones, where `X` is the index (e.g., `2` for the second).

目标
AUTOMATED_CONVERSION_WATCH_DIR
默认值
AUTO
Automatic Video Converter: Output DirectoryVariable

Root directory inside the container where converted videos are written.

目标
AUTOMATED_CONVERSION_OUTPUT_DIR
默认值
/output
Automatic Video Converter: Output SubdirectoryVariable

Subdirectory of the output folder where converted videos are written. By default, videos are saved directly to `/output/`. If set to `Home/Movies`, videos are written to `/output/Home/Movies`. Use `SAME_AS_SRC` to match the source subfolder. For example, if the source is `/watch/Movies/MyMovie/MyMovie.mkv`, the output is written to `/output/Movies/MyMovie/`.

目标
AUTOMATED_CONVERSION_OUTPUT_SUBDIR
Automatic Video Converter: Overwrite DestinationVariable

When set to `1`, allows overwriting an existing destination file.

目标
AUTOMATED_CONVERSION_OVERWRITE_OUTPUT
默认值
0
Automatic Video Converter: Source File Stable TimeVariable

Time (in seconds) during which properties (e.g., size, time) of a video file in the watch folder must remain unchanged to avoid processing a file being copied.

目标
AUTOMATED_CONVERSION_SOURCE_STABLE_TIME
默认值
5
Automatic Video Converter: Minimum Title DurationVariable

Minimum title duration (in seconds). Shorter titles are ignored. Applies only to video disc sources (ISO files, `VIDEO_TS` folders, or `BDMV` folders).

目标
AUTOMATED_CONVERSION_SOURCE_MIN_DURATION
默认值
10
Automatic Video Converter: Main Title DetectionVariable

When set to `1`, enables HandBrake's main feature title detection to guess and select the main title. Applies only to video disc sources (ISO files, `VIDEO_TS` folders, or `BDMV` folders).

目标
AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION
默认值
0
Automatic Video Converter: Check IntervalVariable

Interval (in seconds) at which the automatic video converter checks for new files.

目标
AUTOMATED_CONVERSION_CHECK_INTERVAL
默认值
5
Automatic Video Converter: Number of Watch FoldersVariable

Maximum number of watch folders handled by the automatic video converter.

目标
AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS
默认值
5
Automatic Video Converter: Disable Progress in GUIVariable

When set to `1`, progress of videos converted by the automatic video converter is not shown in the HandBrake GUI.

目标
AUTOMATED_CONVERSION_NO_GUI_PROGRESS
默认值
0
Automatic Video Converter: Custom HandBrake ArgumentsVariable

Custom arguments to pass to HandBrake during conversion.

目标
AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS
Automatic Video Converter: Use Trash DirectoryVariable

When set to `1`, the automatic video converter uses the trash directory. This applies only when the converter is configured not to keep source files. In that case, they will be moved to the trash directory (`/trash` inside the container by default) instead of being permanently deleted.

目标
AUTOMATED_CONVERSION_USE_TRASH
默认值
0
Automatic Video Converter: Trash DirectoryVariable

Location of the trash directory inside the container.

目标
AUTOMATED_CONVERSION_TRASH_DIR
默认值
/trash
WEB Port for GUI (Bridge Network Type)Porttcp

Port to access the application's GUI via the web interface. NOTE: This setting is relevant only when the Network Type is set to `Bridge`.

目标
5800
默认值
7803
VNC Port for GUI (Bridge Network Type)Porttcp

Port to access the application's GUI via VNC protocol. Optional if no VNC client is used. NOTE: This setting is relevant only when the Network Type is set to `Bridge`.

目标
5900
默认值
7903

下载统计数据

48,360,081
下载总数
256,357
本月
218,878
平均每月

长期下载总量

加载图表...

详细信息

存储库
jlesage/handbrake
最后更新2026-05-30
初见2018-09-19

在Unraid 上运行 HandBrake 。

HandBrake 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。