if (args.length != 1) {
System.out.println (
"Usage: TrivialAudioPlayer <file>");
return;
}
try {
QTSessionCheck.check();
QTFile f = new QTFile (new File(args[0]));
OpenMovieFile omf = OpenMovieFile.asRead(f);
Movie movie = Movie.fromFile (omf);
TaskAllMovies.addMovieAndStart();
movie.start();
} catch (QTException e) {
e.printStackTrace();
}