Two audio tracks to different devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



Greetings,

How is it possible to play several audio tracks at once, sending each to a 
separate ALSA device? Something like

mplayer -aid 1 -ao alsa:device=headphones -aid 2 -ao 
alsa:device=speakers /srv/video/movie.mkv

I want to be able to watch a film in its original language while other family 
members would also be interested in the film but would prefer the track in 
their native language.

A solution that should work would be to use SMPlayer, have it run a script 
rather than /usr/bin/mplayer, have the script spawn two slave MPlayers and 
tee the commands to both while choosing different audio tracks and having one 
of the MPlayers show no video. Are there any less ugly solutions that would 
allow pausing, seeking and so on?

-- 
TIA
Roman.
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux