Skip to content

HLS encoder profiles - #271

Merged
kookster merged 3 commits into
mainfrom
feat/hls-encoder-profiles
Sep 30, 2026
Merged

kookster merged 3 commits into
mainfrom
feat/hls-encoder-profiles

Conversation

@kookster

@kookster kookster commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds support for different encoders like x264 (the default), but also using video toolbox if you're on Apple silicon, or more to the point, using h264_nvenc and cuda if there's an Nvidia gpu available.

Controlled by an env var to indicate which encoder to use, a default in the preset, and a couple of checks to make sure ffmpeg will support the encoder.

Also, fixed the ffmpeg calls to look more like the transcode job, so it uses open3 now to capture stdout and stderr separately, and logs the full output when there is an error, so we can debug this thing.

@kookster kookster changed the title Feat/hls encoder profiles HLS encoder profiles Sep 30, 2026
@kookster
kookster marked this pull request as ready for review September 30, 2026 16:48
@kookster
kookster requested a review from farski September 30, 2026 16:49

@farski farski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't dig into all the various encoder flags and options that this touches, but the general approach to modularizing encoders feels solid. Appreciate the extensive commenting.

@kookster
kookster merged commit 7623c3b into main Sep 30, 2026
4 checks passed
@kookster
kookster deleted the feat/hls-encoder-profiles branch September 30, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants