-
Notifications
You must be signed in to change notification settings - Fork 50
Muxing silent audio channels #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
valnoel
merged 8 commits into
avTranscoder:develop
from
valnoel:muxing_silent_audio_channels
Sep 28, 2017
Merged
Muxing silent audio channels #304
valnoel
merged 8 commits into
avTranscoder:develop
from
valnoel:muxing_silent_audio_channels
Sep 28, 2017
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If the InputStreamDesc filename is empty, a generator is set up as input
Instead of using the getFirstInputStreamIndex() private method.
…t as input User should use the StreamTranscoder(IOutputFile&, const ProfileLoader::Profile&) constructor to handle this case.
Since the input profile cannot be guessed from such inputs.
1 similar comment
6 similar comments
@cchampet Could you review this PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The idea of this PR is to enable muxing of generated streams into a multichannel output stream.
To indicate we want to generate such a channel, we can now create one or more InputStreamDesc with empty filename, and add it to the input sources of a Transcoder. A generator will be used as channel source.
However, we cannot generate an output stream will only generated channels with this method, since we can use Transcoder::addGenerateStream() method with the corresponding output profile.
But for instance, we can now create a 5.1 audio stream with a silent LFE channel.