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: creating reference movie without using user dialog




On 12-sep-06, at 2:13, Quach, Hau wrote:


What I really wanted here was to create a reference movie from a URL, e.g. “rtsp://172.21.9.165/my_movie.sdp”.  I created a reference movie using this code:


 

      char  url[] = "rtsp://172.21.9.165/my_movie.sdp";;

      urlDataRef = NewHandle(strlen(url) + 1);

      BlockMoveData(url,*urlDataRef,strlen(url) + 1);

      err = NewMovieFromDataRef(&movie,newMovieActive,nil,urlDataRef,URLDataHandler SubType);

      FlattenMovie(movie,0,&outSpec,0,smCurrentScript,createMovieFileDeleteCu rFile,nil,0L);

 

The Movie was created without error but could not play back from QT player.  What did I do wrong?

Then we have a misunderstanding here. In my terminology you are just opening the movie.
By "reference movie" I mean a file that only holds a movie resource but no movie samples.
Since I am not into streaming someone else will have to answer your question. My guess is FlattenMovie cannot handle streaming input.


Jan E.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >RE: creating reference movie without using user dialog (From: "Quach, Hau" <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.