BTW, how are you liking that camera? I've been very interested in it,
the only major downside being lack of an SD shooting mode.
Good luck.
--Alex
*/Thomas E Polk <email@hidden>/* wrote:
I recently took some sample video that produced an MPEG-4 video
format file (I was using a Sony XDCam EX that shoots in either 1080i
or 720p high definition with various frame rates). When I try to
load the file into my simple QTJava player, I get the following error:
quicktime.std.StdQTException[QTJava:7.4.0g],-2010=invalidMovie,QT.vers:7408000
at quicktime.std.StdQTException.checkError(_StdQTException.java:38_)
at quicktime.std.movies.Movie.fromFile(_Movie.java:202_)
at quicktime.std.movies.Movie.fromFile(_Movie.java:165_)
at tom.tennis.view.SimpleQTPlayer.<init>(_SimpleQTPlayer.java:35_)
at tom.tennis.view.SimpleQTPlayer.main(_SimpleQTPlayer.java:75_)
Here is the relevant code:
...
QTSession./open/();
// get movie from file
File f = getMovieFile();
OpenMovieFile omFile =
OpenMovieFile./asRead/ (*new* QTFile (f));
movie = Movie./fromFile/ (omFile); <-- This is the line where the
error is thrown
mController = *new* MovieController(movie);
...
I am able to play these same files in a free player I downloaded
after I also downloaded an mpeg4 codec. I am somewhat under-educated
in all this codec business. My basic question is, is there a way to
get my program to now play these files (perhaps some new codec or
some libraries I would need to install and somehow reference from my
program)? Or, will I have to just find a converter to convert the
MP4 files to something QTJava can already read?
Thanks in advance for any insight.
- Tom Polk