Ubuntu – How to view video file with external ac3 audio track

mplayersoundvideovideo player

I can listen to view the video with built-in audio (ac3) and listen to the audio track as regular sound file, but how to do these same time?

Can't see such options in Totem, Kplayer, VLC, KMplayer, Gnome-Mplayer.

Also I can't find how to do this using mplayer, though I may be lost in its huge man file.

Thanks.

Best Answer

And here's how to do this with VLC via the command line:

vlc videofile --input-slave audiofile

, then select the audio channel.

NB. Though not strictly related, --sub-file <subfile> will also load subtitles.