#!/bin/bash
mplayer -ao alsa:device=hw=1.0 -slave -idle -input file=video_cmd &
echo loadfile bad_apple_orig.avi > video_cmd; { echo seek 0; echo play; } | tee video_cmd | mplayer bad_apple.wav -slave
