Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I view MPEG-4 files in my QTJ Java app?



Hi,

Alex Shaykevich wrote:
I second Andrea's suggestion. Your only real hope is that the software for playing the EX1 files also installs a Quicktime plugin that allows playback. From what I know about that camera, I know there is a Final Cut software pack that will allow editing in EX1 files in FCP. Since FCP is built on top of Quicktime, there may be a little hope.

that would be a MacOS X only potential solution... no luck for the Windows environment quite likely.


andrea


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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden
References: 
 >Re: How do I view MPEG-4 files in my QTJ Java app? (From: Alex Shaykevich <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.