obs-outputs: Enable eRTMP Flac and Opus support #11462
Open
+24
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR enables Flac and Opus audio codecs for the eRTMP protocol according the spec.
Note: the eRTMP backend may not accept both codecs.
Motivation and Context
Add more audio codecs to the stream.
How Has This Been Tested?
It has been tested using:
The provided FFMpeg patch makes the modified ffmpeg server accept flac and opus audio codecs inside the eRTMP stream.
Types of changes
Checklist:
Testing
The PR can be tested using a modified FFmpeg library. Modified FFmpeg accept flac and opus audio codecs inside the eRTMP stream.
The following steps are a working example of the testing pipeline.
Preparation
Configure and Run Backend (Linux)
8889
.${port-number}
to the port number, change the${the_folder_with_ffmpeg}
to the real modified FFmpeg path).rtmp-server.sh
.Configure and Run OBS Studio (any OS)
Custom...
rtmp://localhost:8889/live
(the port value must be a port of a backend)We must see the running logs in the backend console, and a proper status notifications in the OBS-Studio.
We must hear the proper audio with automatically runned FFplay.