Skip to content

fix(ffmpeg): enable PGS subtitle decoder - #55

Merged
birros merged 1 commit into
media-kit:mainfrom
brianrisk:fix/enable-pgssub-decoder
Sep 14, 2026
Merged

birros merged 1 commit into
media-kit:mainfrom
brianrisk:fix/enable-pgssub-decoder

Conversation

@brianrisk

@brianrisk brianrisk commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • enable FFmpeg’s pgssub decoder in the default video flavor
  • allow libmpv to decode HDMV PGS bitmap subtitle tracks

Motivation

The default build uses an explicit FFmpeg decoder allow-list. It currently recognizes hdmv_pgs_subtitle tracks, but selecting one fails with:

Could not find subtitle decoder for format hdmv_pgs_subtitle.

FFmpeg provides the built-in pgssub decoder for this codec, but it was not included in video_default_options.

Testing

  • git diff --check
  • Full Nix/Xcode build not run locally because Nix is unavailable; upstream CI can exercise the native build matrix.

Closes #54

@birros
birros merged commit aadae8c into media-kit:main Sep 14, 2026
1 check passed
@brianrisk
brianrisk deleted the fix/enable-pgssub-decoder branch September 14, 2026 16:07
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.

Enable FFmpeg pgssub decoder in default macOS video build

2 participants