-
Notifications
You must be signed in to change notification settings - Fork 25
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
Question: How to deal with different track allocation in input with 8 audio streams? #29
Comments
No, currently there is no better way to handle this. But we plan to do improvements on handling audio layouts. Maybe adding the possibility to define custom channel layouts would help? Like |
Yes, I think a possibility to define custom channel layouts would be a good solution in this case. |
Revisiting this, I found what I believe is a cleaner solution: parameterizing the Example profile
application.yml
|
That's a clever solution! But I still believe we'll have to improve handling of channel layouts. We should support layouts that aren't defined as standard in Ffmpeg, at least as input. |
I want to transcode stereo audio from existing stereo mix in inputs. I have two different types of inputs:
a) Audio is in 8 mono streams, with StereoLeft allocated to stream 0 and StereoRight allocated to stream 1
b) Audio is in 8 mono streams, with StereoLeft allocated to stream 6 and StereoRight allocated to stream 7
I cannot seem to find a non-hacky way to handle this. The best way I found is to define a pan-mapping from
7.1(wide)
to stereo that selects stream 6 and 7 for stereo. Then if I set channelLayout on the job input to7.1(wide)
I get what I want in case b. For case a, I set a default-pan for stereo that just uses stream 0 and 1. This solution feels a bit hacky though since the channel layout in case b is not really 7.1(wide). Is there currently a better way to handle this?The text was updated successfully, but these errors were encountered: