Re: QTKit from UNIX app?

2012-06-10 Thread Jeff Johnson
Hi Todd. FWIW, I have a LSBackgroundOnly application that uses QTKit. Instead of NSApplicationMain(), I do [[NSApplication sharedApplication] run]. Perhaps that's not exactly what you want, but pretty close. It does suggest you might be able to get away with, say, running the run loop man

Re: QTKit from UNIX app?

2012-06-09 Thread Eric Wing
On 6/9/12, Todd Heberlein wrote: > Probably a naive question, but can I use QTKit (or is there a better > library?) to capture images (or videos) inside a UNIX helper application? > > > I've never tried using Cocoa (and related) objects outside a regular Cocoa >

Re: QTKit from UNIX app?

2012-06-09 Thread Fritz Anderson
n command-line tools. The Xcode template for Mac applications, command-line tools, offers "Foundation" as one of the app types. I don't know anything about QTKit. I think I'll try not saying anything about it. — F -- Fritz Anderson Xcode 4 Unleashed: Don't bring you

QTKit from UNIX app?

2012-06-09 Thread Todd Heberlein
Probably a naive question, but can I use QTKit (or is there a better library?) to capture images (or videos) inside a UNIX helper application? I've never tried using Cocoa (and related) objects outside a regular Cocoa application with a GUI, NSApplicationMain(), etc. Is this gene

Re: Adding sound to movie with QTKit

2011-11-16 Thread Eric Matecki
track into the "video only" movie ? I'm really new to Cocoa and QTKit... Thanks. Robert Martin wrote: One way: Save your PCM audio to an AIF file, then open it as a QTMovie. Set the attribute 'QTMovieEditableAttribute' to TRUE. It will just have one audio trac

Re: Adding sound to movie with QTKit

2011-11-16 Thread Robert Martin
One way: Save your PCM audio to an AIF file, then open it as a QTMovie. Set the attribute 'QTMovieEditableAttribute' to TRUE. It will just have one audio track. Then: QTTimeRange videoRange = QTMakeTimeRange(QTZeroTime, [videoTrkOnlyMovie duration]); [

Adding sound to movie with QTKit

2011-11-16 Thread Eric M.
Hello, I create my movie this way: QTMovie* qtMovie = [[QTMovie alloc] initToWritableFile: path error: &nserror]; NSDictionary* attributes = [NSDictionary dictionaryWithObjectsAndKeys: @"mp4v", QTAddImageCodecType,

Re: QTKit: surely this should be trivial?

2011-11-08 Thread Graham Cox
Thanks :) I really should not code at the end of an 16 hour day, it seems to make me blind…. --Graham On 09/11/2011, at 1:04 AM, Michael Babin wrote: > QTMovieDidEndNotification (sent by QTMovie). ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Re: QTKit: surely this should be trivial?

2011-11-08 Thread Michael Babin
On Nov 8, 2011, at 7:27 AM, Graham Cox wrote: > I want to run a movie in a window, and get notified when it has finished. > > I'm using QTMovieView, and it plays fine. But I can't see how I can get > called when it finishes. I expected to see some sort of delegate protocol, or > failing that a

QTKit: surely this should be trivial?

2011-11-08 Thread Graham Cox
I want to run a movie in a window, and get notified when it has finished. I'm using QTMovieView, and it plays fine. But I can't see how I can get called when it finishes. I expected to see some sort of delegate protocol, or failing that a property I could observe, but neither of these things app

Re: QTKit Exception

2010-11-29 Thread Mark Ritchie
Hey, On 27/Nov/2010, at 7:41 PM, Francisco Garza wrote: > ... unrecognized selector sent to instance 0x119fd0 ... This makes me think that you're not talking to the object that you think you are... ;-) NSZombieEnabled has been useful when tracking down similar cases in the past. Good luck! M.

QTKit Exception

2010-11-27 Thread Francisco Garza
I keep getting an exception from QTKit when quickly moving through a playlist of songs. Here is the console log and the portion of my code where the exception is thrown. I am using garbage collection on Snow Leopard. 2010-11-27 21:33:37.852 QTKitServer[15546:903] -[QTTrack_QuickTime

QTKit

2010-11-16 Thread albert jordan
? I'm hoping that I can leverage QTKit as much as possible. Thanks in advance, Albert ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-a

Re: QTKit Question

2010-07-31 Thread Kyle Sluder
On Sat, Jul 31, 2010 at 4:39 PM, douglas welton wrote: > - use a layer-backed view and apply a CI scaling filter > - use the movie view delegate and apply a CI scaling filter > -  use raw QuickTime and futz with the movie matrix > - use the View's -scaleUnitSquareToSize method to affect the view's

Re: QTKit Question

2010-07-31 Thread douglas welton
Matthew, I believe that the zoom button being referred to by this method is the zoom button on the QuickTime VR movie Controller. Is the movie being displayed in your QTMovieView linear or a VR movie? If your movie is linear, then you can scale it using one of the following: - use a layer-bac

QTKit Question

2010-07-31 Thread Matthew Weinstein
I'm using a QTMovieView in my project and a user would like be able to zoom in. Looking at the API there seems to be a setZoomButtonsVisible: selector, but it doesn't seem to work on my set up. Does this only work if they have bought QT Pro? I'm on the latest snow leopard, and I notice it says

Re: New Developer Docs for Cocoa and QTKit Developers with Snow Leopard Release

2009-09-01 Thread Ariel Feinerman
Hi Tom, I want to capture the rendering from OpenGL app (for example game) in high resolution and save one as a mov file for demo. Does your tutorial help me? -- best regards Ariel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

New Developer Docs for Cocoa and QTKit Developers with Snow Leopard Release

2009-08-30 Thread Tom Maremaa
Hello Cocoa and QTKit developers, Just a short announcement to the mailing list about the availability of three new and updated QTKit developer docs for you to take a look at, with the worldwide release of Snow Leopard: • The "QTKit Application Tutorial" (70 pages in PDF

Re: Reading MP3 data into a NSDocument using QTKit, -readFromData:, and QTDataReference

2009-02-09 Thread Kyle Sluder
On Mon, Feb 9, 2009 at 10:56 AM, elliott cable wrote: > I'm sort of new to Cocoa, and C - as a learning project, I'm trying to > write a very simple music/MP3 player. If you're not using QuickTime for a specific purpose, try just using NSSound. --Kyle Sluder _

Re: Reading MP3 data into a NSDocument using QTKit, -readFromData:, and QTDataReference

2009-02-09 Thread Michael Ash
days beating my head against that snippet, and trying to > figure out why it failed to actually play any file that wasn't a > simple .mov file, I found this old thread on this list: > <http://lists.apple.com/archives/QuickTime-Users/2008/Nov/msg00026.html> > > I was exci

Reading MP3 data into a NSDocument using QTKit, -readFromData:, and QTDataReference

2009-02-09 Thread elliott cable
y file that wasn't a simple .mov file, I found this old thread on this list: <http://lists.apple.com/archives/QuickTime-Users/2008/Nov/msg00026.html> I was excited, because it seemed to be the same problem as mine - playing anything that isn't .mov using QTKit. Unfortunately, aft

Re: QTKit Error loading DesktopVideoOut.component

2008-07-26 Thread Nick Zitzmann
On Jul 25, 2008, at 10:39 PM, chaitanya pandit wrote: 2008-07-26 00:34:31.173 diary[11433:813] Error loading /Library/ QuickTime/DesktopVideoOut.component/Contents/MacOS/DesktopVideoOut: dlopen(/Library/QuickTime/DesktopVideoOut.component/Contents/MacOS/ DesktopVideoOut, 262): no suitable im

QTKit Error loading DesktopVideoOut.component

2008-07-25 Thread chaitanya pandit
Hi, In my application i use a QTMovieView to display/play movies, but whenever init a QTMvoveView i get the following log, Any idea what might be wrong? Thanks for help. Running… =shlibs-removed,shlib- info=[num="116",name="AudioIPCPlugIn",kind="B",dyld- addr="0x15306000",reason="dyld",requ

Re: set posterImage in QTKit?

2008-07-21 Thread douglas welton
Vince, use the -setAtrribute:forKey: method with the QTMoviePosterTimeAttribute key and a value that is the current frames QTTime later, douglas On Jul 21, 2008, at 6:55 PM, vince wrote: Thanks , Is there a Cocoa method to set and save the current frame of a QT Movie as the poster fr

set posterImage in QTKit?

2008-07-21 Thread vince
Thanks , Is there a Cocoa method to set and save the current frame of a QT Movie as the poster frame? -v. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: QTKit Capture Filtering

2008-04-04 Thread douglas a. welton
CIVideoDemoGL sample code. later, douglas On Apr 4, 2008, at 3:53 AM, Bridger Maxwell wrote: Hello, I would like a little help in designing my application, before I veer off into the wrong direction. I am making an application that captures input from a webcam using QTKit Capture, runs the

QTKit Capture Filtering

2008-04-04 Thread Bridger Maxwell
Hello, I would like a little help in designing my application, before I veer off into the wrong direction. I am making an application that captures input from a webcam using QTKit Capture, runs the image through a few filters (background subtraction, contrast, high pass) then runs that image