quicktime

How can I get image data from QTKit without color or gamma correction in Snow Leopard?

Since Snow Leopard, QTKit is now returning color corrected image data from functions like QTMovies frameImageAtTime:withAttributes:error:. Given an uncompressed AVI file, the same image data is displayed with larger pixel values in Snow Leopard vs. Leopard. Currently I'm using frameImageAtTime to get an NSImage, then ask for the tiffR...

Export 2 min QuickTime movie clip in Cocoa

I want to know how to export a 2 minute QuickTime movie in Cocoa. ...

Play QT movie located in application bundle

I'm trying to run a QT Movie located in my application bundle. Can't get it to work. Can someone advise? thanks. paul -(IBAction)runInternalMovie:(id)sender [ NSString *internalPath; NSURL *internalURL; QTMovie *internalMovie; internalPath = [[NSBundle mainBundle] pathForResource: @"bundledMovie" ofType: @"mp4"]; internalURL = ...

hardware acceleration / performance and linkage of different macosx graphics apis, frameworks and layers

the more i read about the different type of views/context/rendering backends, the more i get confused. regarding to http://en.wikipedia.org/wiki/Quartz_%28graphics_layer%29 MacOSX offers Quartz (Extreme) as a render-backend which itself is part of Core Graphics. in the Apple docs and in some books too they say that in any case somehow y...

How can I make custom UI controls for the QuickTime Player?

How can I make custom UI controls for the QuickTime Player in HTML pages? (like Apple does on its site) ...

GetNextInterestingTime() gets the same frame multiple times

I want to export every frame in a *.mov-Movie-File, so I do this: GoToBeginningOfMovie(movie); TimeValue startPoint = 0; long gnitFrames = 0; while (startPoint >= 0) { GetMovieNextInterestingTime(movie, nextTimeStep, 0, &whichMediaType, startPoint, 0, &startPoint, NULL); gnitFrames++; } the problem is, the count of gnitFrame...

Using canvas to grab pixel data from page

Hi canvas experts, If I have a QT video on a page (where QT is a requirement that can't be changed) how can I grab the pixel data of the current frame that is being shown with canvas? I am aware that this is possible with getImage(videoElement, .....) but I am looking for a solution that uses QT. If getting the pixel data is not possib...

Movie time from QTVisualContext given CVTimeStamp in CAOpenGLLayer rendering method?

I'm using the standard CoreVideo Display Link + QTVisualContext to render a QuickTime movie into an NSOpenGLView subclass. I would now like to synchronize a timeline view with movie playback. The timeline view is implemented as a layer hosting view, hosting a CAOpenGLLayer subclass that renders the timeline. I chose this architecture bec...

a cross platform video framework?

Hi all we are looking for a cross platform video framework to add to our application, that would allow us to read video files in various formats, get their frames and play them. One suggestion was VLC/VideoLan, but its a GPL framework and therefore we can't use it We thought of Apple's QuickTime, but it can't read WMV files (and needs...

Quicktime Timecode

I'm trying to readnon-drop timecode data using the quicktime com component. Unfortunately I don't seem to be able to find any documentation on this at all. I can pull up the timecode with 0 starttime but I need the real timecode embedded in the clip. It looks to me like I need access to the MediaHandler to get SMPTE timecode. I can't s...

Inserting a Quicktime Player similar to apple.com

Looking at Apple Website they do an outstanding job with the quicktime movies they show off to their users. When I've included quicktime links before, the player that actually shows to users is quite bland, and across browsers really differs from what it looks like in safari, chrome, ie, firefox. Apple seems to handle all these conditi...

How to export audio-media from a MOV-file with QuickTime-API?

I want to export the audio-media of a MOV-File with the QuickTime-API and save it to an WAV-File (or something equivalent). How can I do that? I use Windows XP. ...

How do I embed a quicktime movie into an iphone web app using javascript?

I'm creating an iphone webapp in dashcode for the first time and I can not figure out the code for embedding a video into the webapp.I have an html file and have a few pages it switches between but I need to create a function in javascript so when I click a button that it will pull up a video I in quicktime. Any sample code or thoughts? ...

How do I embed a quicktime movie into an iphone web app using dashcode?

I have a functional webapp that I have created through dashcode, but I want to add a video by clicking a button. Any idea on how to code a handler to do that or any sample code? thanks here is what I have but it wont do anything in the simulator function myClickHandlerVideo(event) { var vidElem=document.createElement("video"); ...

is it possible to resolve Plugin file not found on iPhone?

how can i fix this warning? warning: Unable to read symbols for "/XcodeBeta/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2 (7D11)/Symbols/System/Library/Internet Plug-Ins/QuickTime Plugin.webplugin/QuickTime Plugin" (file not found). ...

Is it possible to resize an embedded .mov?

I embed .mov clips that sometimes are bigger than the place where I show it, so I want to resize the clip. Have tried with width and height but that only changes the area to display it; it does not resize the actual movie. Is it possible to resize the movie size? If yes, how? ...

Can you play a <video> inside the page with Safari iPhone?

I would like to play a video from inside the rendered page with an iPhone/Safari. When I put a <video>, it's always opened and played in a separate full-screen Quicktime window. Is there a way to play the video directly from the page? (a similar question http://stackoverflow.com/questions/751627/iphone-play-video-not-in-full-screen-mod...

Using QTVisualContextCopyImageForTime to unpack Quicktime movies in YUV

I am creating a pixel buffer using QTPixelBufferContextCreate with the native size for current movie. Then opening the movie on the context and cue to required frame, checking using QTVisualContextIsNewImageAvailable. Then calling QTVisualContextCopyImageForTime to readback the frame for further cpu based image processing. This has all ...

Accessing Quicktime Framework from Java on Snow Leopard

I'm trying to embed a simple video player in a java application, and I'm considering using Quicktime since the application is Mac-specific. From what I'm seeing though it looks like Apple may have deprecated the Quicktime for Java library on Snow Leopard. Is that true? Is there another way to interface with Quicktime through Java? ...

How to stop Quicktime movie in web page from auto loading?

I have two quicktime movie files embedded in one web page. I have set autoplay="false" to prevent them both from playing at the same time, but they still load at the same time. Can I prevent them from loading until the user clicks the play button? autohref="false" is supposed to do this but it does not seem to work. Apple's documentati...