demux.py now allows output directory to be specified using the command line.