Linux – How to play and seek video and audio from separate sources simultaneously


I have these files:

  • video.mkv (with no sound)
  • audio_en.mp3
  • audio_ru.mp3
  • audio_pl.mp3

And I want to simultaneously play video.mkv and audio_en.mp3 and simultaneously seek in those files (move forward and backward) while playing.

Even better would be playing and seeking at the same time in multiple audio files.

  • video.mkv
  • audio_env.mp3
  • audio_music.mp3
  • audio_spek.mp3
  • audio_translation.mp3

The reason I want to do this is obvious, large files and many different audio tracks. That's why I don't want to concatenate vid and audio1, vid and audio2…

Best Answer

Cinelerra or other software for video, audio manipulation can play from multiple sources. So it can seek (play) in multiple sources.

MPlayer can also play from separate sources. Which is basically what I was looking for:

mplayer video.mkv -audiofile audio_en.mp3

In older versions of MPlayer, the option was called just -audio.