Skip to content

Fix AV1 encoder availability for custom RTMP streaming services#1690

Merged
aleksandr-voitenko merged 1 commit intostagingfrom
fix-aV1-encoder-availability
May 7, 2026
Merged

Fix AV1 encoder availability for custom RTMP streaming services#1690
aleksandr-voitenko merged 1 commit intostagingfrom
fix-aV1-encoder-availability

Conversation

@aleksandr-voitenko
Copy link
Copy Markdown
Collaborator

@aleksandr-voitenko aleksandr-voitenko commented May 6, 2026

Description

Fix AV1 encoder availability for custom RTMP streaming services.

OBS-node previously treated a streaming service with no explicit supported video codec list as incompatible with all service-gated encoders. That caused AV1 encoders such as AOM AV1 and SVT-AV1 to be filtered out, or to fail start validation with "Invalid video encoder", when the runtime service was rtmp_custom.

This change mirrors OBS Studio’s behavior:

  • keep explicit service codec lists authoritative
  • when a service has no codec list, resolve the compatible streaming output from the service protocol/preferred output
  • fall back to obs_get_output_supported_video_codecs(outputType) for codec compatibility

This keeps platform restrictions intact while allowing custom RTMP services to use codecs supported by their output, including AV1 over RTMP/RTMPS.

Motivation and Context

YouTube protected mode can use a custom RTMP service at runtime even though settings may query YouTube through rtmp_common. rtmp_custom does not expose obs_service_get_supported_video_codecs(), so OBS-node rejected AV1 encoders even though the RTMP output supports AV1.

OBS Studio already handles this case by falling back to output-supported codecs for custom/no-codec-list services.

OBS References

How Has This Been Tested?

QA, Windows only.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

@aleksandr-voitenko aleksandr-voitenko changed the title Fix AV1 encoder availability for custom RTMP streaming services. Fix AV1 encoder availability for custom RTMP streaming services May 6, 2026
@aleksandr-voitenko aleksandr-voitenko merged commit 050bdde into staging May 7, 2026
46 of 49 checks passed
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.

3 participants