old transcoding script for mencoder