Quote:
Originally Posted by Okie
type in both commands in the same line separated by either && or |
|
&& represents “AND” and will run the second instance
after the first instance (only if the first instance exited successfully).
| represents a pipe, and will run both simultaneously (but the input of the second will be borked/uncontrollable because it will be connected to the output of the first).
& is your most likely best option. It will put the first instance in “the background”, allowing the second instance to run. Of course, mplayer is expecting a terminal for stdin, so you might have to tell it otherwise (i.e., use the “-slave” option).