Hi,
Is it possible to play two (or more) audio streams from a video file simultaneously (provided that alsa have different outputs for it). E.g. what if I want to play a movie audio in some language to speakers, and in another language -- to headphones.
No.
@kkkrackpot I play multiple audio files this way. I don't know if this suit with your purpose. (for different output; speaker & headpone. I don't know about that)
(mpv beach.mp3 --loop-file &);mpv birds.mp3 --loop-file
This way you can play multiple song at once. with volume control missing (you have to adjust the volume manually from your sound mixer)
Can be done with --lavfi-complex.
And with amix filter...