HandBrake-for-Nvidia

HandBrake-for-Nvidia

Docker app from jsrk's Repository

Overview

HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. The GUI of the application is accessed through a modern web browser (no installation or configuration needed on the client side) or via any VNC client. A fully automated mode is also available: drop files into a watch folder and let HandBrake process them without any user interaction. This is template for zocker160's container to simplify installation. You need to install ich777's nvidia driver before using this. For a complete documentation of this container, see https://github.com/jlesage/docker-handbrake#readme

Runtime arguments

Web UI
http://[IP]:[PORT:5800]
Network
bridge
Shell
sh
Privileged
false
Extra Params
--runtime=nvidia --device /dev/dri:/dev/dri/

Template configuration

StoragePathro

This location contains files from your host that need to be accessible to the application.

Target
/storage
Default
/mnt/user
Value
/mnt/user
Watch DirectoryPathrw

This is the watch folder of the automatic video converter. Any video copied into this folder will be automatically converted by HandBrake.

Target
/watch
Output DirectoryPathrw

This is the default output folder for converted videos. Also used by the automatic video converter.

Target
/output
Automatic Video Converter: PresetVariable

Preset used by the automatic video converter. Identification of the preset must follow the format 'CATEGORY/PRESET NAME'. Name of all available presets can be seen via the HandBrake GUI.

Target
AUTOMATED_CONVERSION_PRESET
Default
General/Very Fast 1080p30
Value
General/Very Fast 1080p30
Automatic Video Converter: FormatVariable

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

Target
AUTOMATED_CONVERSION_FORMAT
Default
mp4
Value
mp4
Automatic Video Converter: Keep Source FilesVariable

Set to 0 to remove successfully converted videos from the watch folder, 1 to keep them.

Target
AUTOMATED_CONVERSION_KEEP_SOURCE
Default
1
Value
1
Automatic Video Converter: Non-Video File ActionVariable

Set to

Target
AUTOMATED_CONVERSION_NON_VIDEO_FILE_ACTION
Default
ignore
Value
ignore
Automatic Video Converter: Output directoryVariable

Root directory, inside the container, where converted videos should be written.

Target
AUTOMATED_CONVERSION_OUTPUT_DIR
Default
/output
Value
/output
Automatic Video Converter: Output SubdirectoryVariable

Subdirectory of the output folder into which converted videos should be written. Leave value empty to save converted videos directly into

Target
AUTOMATED_CONVERSION_OUTPUT_SUBDIR
NVIDIA_DRIVER_CAPABILITIESVariable
Default
all
Value
all
NVIDIA_VISIBLE_DEVICESVariable
Default
all
Value
all
Config DirectoryPathrw

This is where the application stores its configuration, states, log and any files needing persistency.

Target
/config
Default
/mnt/user/appdata/HandBrake
Value
/mnt/user/appdata/HandBrake
Trash DirectoryPathrw

When trash usage is enabled, this is where the automatic video converter moves converted files instead of deleting them.

Target
/trash
User IDVariable

ID of the user the application runs as.

Target
USER_ID
Default
99
Value
99
Group IDVariable

ID of the group the application runs as.

Target
GROUP_ID
Default
100
Value
100
UmaskVariable

Mask that controls how file permissions are set for newly created files. The value of the mask is in octal notation.

Target
UMASK
Default
0000
Value
0000
Niceness (priority)Variable

Priority at which the application should run. A niceness value of -20 is the highest priority and 19 is the lowest priority. NOTE: Setting a negative value requires additional permissions. Thus,

Target
APP_NICENESS
Default
0
Value
0
Display WidthVariable

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

Target
DISPLAY_WIDTH
Default
1920
Value
1920
Display HeightVariable

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

Target
DISPLAY_HEIGHT
Default
1080
Value
1080
Dark ModeVariable

When set to

Target
DARK_MODE
Default
0
Value
0
Web AudioVariable

When set to

Target
WEB_AUDIO
Default
0
Value
0
Web AuthenticationVariable

When set to

Target
WEB_AUTHENTICATION
Default
0
Value
0
Web Authentication UsernameVariable

Optional username to configure for the web authentication. This is a quick and easy way to configure credentials for a single user. To configure credentials in a more secure way, or to add more users, see the documentation.

Target
WEB_AUTHENTICATION_USERNAME
Web Authentication PasswordVariable

Optional password to configure for the web authentication. This is a quick and easy way to configure credentials for a single user. To configure credentials in a more secure way, or to add more users, see the documentation.

Target
WEB_AUTHENTICATION_PASSWORD
Secure ConnectionVariable

Whether or not an encrypted connection should be used to access the application's GUI. Set to

Target
SECURE_CONNECTION
Default
0
Value
0
Secure Connection VNC MethodVariable

Method used to perform the secure VNC connection. Possible values are

Target
SECURE_CONNECTION_VNC_METHOD
Default
SSL
Value
SSL
Secure Connection Certificate Check IntervalVariable

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

Target
SECURE_CONNECTION_CERTS_CHECK_INTERVAL
Default
60
Value
60
Web Listening Port (Non-Bridge Network Type)Variable

Port used by the web server to serve the UI of the application. This port is used internally by the container and it is usually not required to be changed. NOTE: This setting is relevant only when the Network Type is set to something else than Bridge.

Target
WEB_LISTENING_PORT
Default
5800
Value
5800
VNC Listening Port (Non-Bridge Network Type)Variable

Port used by the VNC server to serve the UI of the application. This port is used internally by the container and it is usually not required to be changed. NOTE: This setting is relevant only when the Network Type is set to something else than Bridge.

Target
VNC_LISTENING_PORT
Default
5900
Value
5900
HandBrake GUI StateVariable

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

Target
HANDBRAKE_GUI
Default
1
Value
1
Automatic Video Converter: StateVariable

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

Target
AUTOMATED_CONVERSION
Default
1
Value
1
Automatic Video Converter: Video File ExtensionsVariable

Space-separated list of file extensions to be considered as video files. By default, this list is empty, meaning that the automatic video converter will let HandBrake automatically detects if a file, no matter its extension, is a video or not (note that extensions defined by the Non-Video File Extensions list are always considered as non-video files). Normally, this variable doesn't need to be set. Usage of this variable is useful when only specific video files need to converted.

Target
AUTOMATED_CONVERSION_VIDEO_FILE_EXTENSIONS
Automatic Video Converter: Non-Video File ExtensionsVariable

Space-separated list of file extensions to be considered as not being videos. Most non-video files are properly rejected by HandBrake. However, some files, like images, are convertible by HandBrake even if they are not video files.

Target
AUTOMATED_CONVERSION_NON_VIDEO_FILE_EXTENSIONS
Default
jpg jpeg bmp png gif txt nfo
Value
jpg jpeg bmp png gif txt nfo
Automatic Video Converter: Overwrite DestinationVariable

Setting this to 1 allows the final destination file to be overwritten if it already exists.

Target
AUTOMATED_CONVERSION_OVERWRITE_OUTPUT
Default
0
Value
0
Automatic Video Converter: Source File Stable TimeVariable

Time (in seconds) during which properties (e.g. size, time, etc) of a video file in the watch folder need to remain the same. This is to avoid processing a file that is being copied.

Target
AUTOMATED_CONVERSION_SOURCE_STABLE_TIME
Default
5
Value
5
Automatic Video Converter: Minimum Title DurationVariable

Minimum title duration (in seconds). Shorter titles will be ignored. This applies only to video disc sources (ISO file, VIDEO_TS folder or BDMV folder).

Target
AUTOMATED_CONVERSION_SOURCE_MIN_DURATION
Default
10
Value
10
Automatic Video Converter: Main Title DetectionVariable

Setting this to 1 enables HandBrake main feature title detection to try to guess and select the main title.

Target
AUTOMATED_CONVERSION_SOURCE_MAIN_TITLE_DETECTION
Default
0
Value
0
Automatic Video Converter: Check IntervalVariable

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

Target
AUTOMATED_CONVERSION_CHECK_INTERVAL
Default
5
Value
5
Automatic Video Converter: Number of Watch FoldersVariable

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

Target
AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS
Default
5
Value
5
Automatic Video Converter: Disable Progress in GUIVariable

Set to 1 to disable display of the video conversion progress in HandBrake GUI.

Target
AUTOMATED_CONVERSION_NO_GUI_PROGRESS
Default
0
Value
0
Automatic Video Converter: Custom HandBrake ArgumentsVariable

Custom arguments to pass to HandBrake when performing a conversion.

Target
AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS
Automatic Video Converter: Install PackagesVariable

Space-separated list of Alpine Linux packages to install. This is useful when the automatic video converter's hooks require tools not available in the container image. See https://pkgs.alpinelinux.org for the list of available Alpine Linux packages.

Target
AUTOMATED_CONVERSION_INSTALL_PKGS
Automatic Video Converter: Use Trash DirectoryVariable

Set to 1 to enable usage of the trash directory. So when the automatic video converter is configured to not keep sources, it will move files to the trash directory (/trash inside the container) instead of deleting them.

Target
AUTOMATED_CONVERSION_USE_TRASH
Default
0
Value
0
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

Target
5800
Default
7803
Value
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

Target
5900
Default
7903
Value
7903

Download Statistics

622,929
Total Downloads
11,841
This Month
6,734
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
zocker160/handbrake-nvenc:latest
Last Updated2025-10-31
First Seen2024-08-26

Run HandBrake-for-Nvidia on Unraid.

HandBrake-for-Nvidia is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.