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?



I only demoed it for a weekend. I like the idea of using the cards to store files. However, they are still very expensive. Outputting the files to my computer was easy using a USB cable. One downside to the camera is the location of the output ports. They are beneath a flimsy door right below the hand grip. It was somewhat difficult to actually plug into the camera and I can forsee that door breaking off very easily. There seem to be many professional features on this camera and it seems to be useful both to novices (i.e., using things in automatic mode) as well as experts (lots of manual settings). Another nice feature is the large number of HD settings, both in terms of resolution (1080i vs 720p) and frame rates (24, 30, 50, 60).


- Tom Polk

Inactive hide details for Alex Shaykevich <email@hidden>Alex Shaykevich <email@hidden>


          Alex Shaykevich <email@hidden>

          06/02/2008 09:21 AM


To

Thomas E Polk/Charlotte/IBM@IBMUS, email@hidden, quicktime-java-bounces+tpolk=email@hidden

cc


Subject

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

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.

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

GIF image

 _______________________________________________
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.