0 Replies Latest reply: Jul 18, 2012 10:51 AM by 950339 RSS

    StdQTException

    950339
      Hi all,
      I'm using quick time for java and facing a problem while instantiating the MovieController. Mentioned below is code:

      OpenMovieFile omFile =
                     OpenMovieFile.asRead (new QTFile(f1));
                     Movie movie = Movie.fromFile (omFile);

      MoviePlayer moviePlayer = new MoviePlayer(movie);
      MovieController movieController = new MovieController(movie);

      Mentioned below is the exception:

      quicktime.std.StdQTException[QTJava:6.1.0g1],-32766=Unknown Error Code,QT.vers:6528000
           at quicktime.std.StdQTException.checkError(StdQTException.java:38)
           at quicktime.std.movies.MovieController.allocate(MovieController.java:142)
           at quicktime.std.movies.MovieController.<init>(MovieController.java:61)
           at quicktime.std.movies.MovieController.<init>(MovieController.java:49)
           at BasicQTURLController.main(BasicQTURLController.java:67)

      As soon as new MovieController(movie); is invoked I get an exception. Appreciate your help.

      Thanks,
      Joe.