The Idea
aka How to break a (butter)fly on the wheel [Fly].
You can stream locally the whole movie with all the audio and subtitle tracks, e.g. with vlc
.
Then it will be "enough" to connect two clients to that stream, selecting the language (and/or subtitles) and the different audio output (that we assume already configured).
Moreover with a new television, tablet or mobile phones it is not needed to run the clients on the computer... and when you put in pause the streamer you put in pause all... and it should work with windows too (always assumed the audio output already configured maybe with third part programs, in the case you want to run the two clients on the computer).
Some words more
A typical streaming command line can be similar to
vlc "movie.mkv" --sout-all --sout="#rtp"
It is needed the option --sout-all
[SO]
--sout-all, --no-sout-all Enable streaming of all ES (default disabled) Stream all elementary streams (video, audio and subtitles) (default disabled)
Read vlc -H
to have some hints for the other (tons of) options available.
To "play" the stream
vlc rtp://239.255.100.100:5004 --audio-track=x
where x is the number of the audio stream you want to listen on that client.
All should be easily done from the server/client GUI too...
References and further readings
You may want to read more from the Luuk's blog page "Use VLC to play multiple video clips on multiple computers in sync" [1], you can eventually try to add external audio track starting from this wiki page of videolan [2], or you can play with Gstreamer and different output as suggested by Antonio in this answer [3].
GStreamer:
# The number and order of the tracks must be known…
gst-launch-1.0 \ filesrc location=example.mkv ! decodebin name=decoded \ decoded.src_0 ! queue ! autovideosink \ decoded.src_1 ! queue ! audioconvert ! alsasink device=”hw:1,0″ \ decoded.src_2 ! queue ! audioconvert ! alsasink device=”hw:2,0″
The above Gstreamer command can be a minimal working answer by itself or a path to save the (butter)fly...
... but seldom I'm tempted to defend my own nickname.