-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Multiple (different language) audio outputs #675
Comments
IMO this is a pretty obscure (almost fringe) feature. It's pretty hard to synchronize two audio outputs at once (they'll slowly but certainly desync, unless you do "something"), so I'd rather not do it. Maybe you should look at tings like syncplay instead, which synchronize two separate players. |
Can you explain why audio outputs will desync? mpv already keeps the audio synced to the video, why would adding another change that? If both audio outputs were synced to the video, it'd be fine. |
At the time this was posted, mpv could only only synchronize video to audio. Synchronizing video to audio is pretty simple (you just adjust the video timing), while synchronizing audio to anything else requires resampling (which can get tricky because you need to pick the right resampling ratio, without making it "wobble"). At the present time, having multiple audio outputs would still be hard, because the synchronization code is hardcoded to deal with video only. I plan to change that, and then maybe having multiple audio outputs would be relatively simple to do. |
I see, thanks for the explanation. :) |
I found this thread when searching how to play two audio tracks at once. I record videos in OBS Studio and record the audio on separate tracks. Being able to play multiple audio tracks at once would allow me to preview the video before editing. |
Additional personal use case: (FYI, VLC doesn't merge audio; GridPlayer doesn't sync operation other than "pause" and is not maintained any more I guess.) |
Could you add a possibility to playback multiple audio tracks at the same time, using different audio devices?
Here's an example scenario in which this would be very helpful:
You want to watch a movie together with some other person. But while he/she wants to hear to her his/her native language's synchro, you want to hear the original English sound track. This would be no problem if you could output the different tracks to different devices.
The text was updated successfully, but these errors were encountered: