stash/pkg/ffmpeg
Nodude 4ca6fcb5c0 Allow hardware acceleration for generation tasks
Adds a separate generationHardwareAcceleration config toggle that opts
the preview, marker, transcode, and clip-thumbnail tasks into the
existing HW pipeline. Generator methods take path/width/height
primitives; the marker task only probes for HW when a video preview is
actually requested.

On NVENC: 8K/41min/15-marker scene goes from 8m to 5m; 1080p/9min with
no markers 15s to 14s. Short 720p clips are slower. Reduce concurrent
tasks if VRAM is limited.
2026-04-22 19:59:08 +02:00
..
transcoder Custom sprite generation (#6588) 2026-02-20 15:09:59 +11:00
browser.go Add Opus as supported audio for mp4 (#5030) 2024-07-01 11:19:38 +10:00
codec.go pkg/ffmpeg: refactor codec args and hardware API 2026-04-22 19:57:34 +02:00
codec_hardware.go pkg/ffmpeg: refactor codec args and hardware API 2026-04-22 19:57:34 +02:00
container.go Restructure ffmpeg (#2392) 2022-04-18 10:50:10 +10:00
downloader.go Bump linux ffmpeg URL for latest version (#5172) 2024-08-28 09:07:49 +10:00
ffmpeg.go Perform hardware codec checks on separate go routine (#6414) 2025-12-15 14:57:00 +11:00
ffmpeg_test.go Scan video orientation (#5189) 2024-09-03 16:33:15 +10:00
ffprobe.go Scan video orientation (#5189) 2024-09-03 16:33:15 +10:00
filter.go Allow hardware acceleration for generation tasks 2026-04-22 19:59:08 +02:00
format.go Restructure ffmpeg (#2392) 2022-04-18 10:50:10 +10:00
frame_rate.go Simple hardware encoding (#3419) 2023-03-10 11:25:55 +11:00
generate.go Simple hardware encoding (#3419) 2023-03-10 11:25:55 +11:00
media_detection.go Restructure ffmpeg (#2392) 2022-04-18 10:50:10 +10:00
options.go Restructure ffmpeg (#2392) 2022-04-18 10:50:10 +10:00
stream.go Scan video orientation (#5189) 2024-09-03 16:33:15 +10:00
stream_segmented.go pkg/ffmpeg: refactor codec args and hardware API 2026-04-22 19:57:34 +02:00
stream_transcode.go pkg/ffmpeg: refactor codec args and hardware API 2026-04-22 19:57:34 +02:00
types.go Scan video orientation (#5189) 2024-09-03 16:33:15 +10:00