Mailing Lists: Apple Mailing Lists

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

diferences Movie.fromFile & Movie.fromDataRef



Hi All

 

I have write a program for view several video tracks like a mosaic.

It works if the mp4 file is local

...

     mMovie = Movie.fromFile (omf);

     int numTracks = mMovie.getTrackCount();

...

 

numTracks is OK

 

but if the file is served by Darwin Streaming server

 

...

          String url ="">

              javax.swing.JOptionPane.showInputDialog (null,

                                              "Enter URL");

          DataRef dr = new DataRef (url);

          mMovie = Movie.fromDataRef (dr,

                                 StdQTConstants.newMovieActive);

         int numTracks = mMovie.getTrackCount();

 

...

 

numTracks is 1 when the file has several tracks

 

Someone knows why?

Thanks

 

 

Best Regards,

 

Cristobal Belles

 

 _______________________________________________
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



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.