Subscribe to
Posts
Comments
NSLog(); Header Image

Trimming UI for Cocoa, QuickTime

I've got what you could consider a movie view in a window that looks like this:

Trim UI

What I'd like to add are some trimming controls, ideally something similar to the ones used in QuickTime Player:

Trim QT

Are there any open source, free, or even paid libraries that contain this type of UI, or is Apple keeping it all to themselves for now (and nobody else has seen fit to roll their own)?

If I'm not able to find something (or modify something) to do this, I'll have to create my own method of trimming. For simplicity, consistency, and the visual appeal I'm hoping someone knows of a way to trim like QuickTime Player…

P.S. Yes, trimming is coming to Analyzr.

4 Responses to "Trimming UI for Cocoa, QuickTime"

  1. Aside from the built-in trimming support in QTKit, I don't know of anything. The QTKitPlayer sample code has video editing enabled. You shift-click in the movie timeline to select a clip. (Then select the Trim menu item.) It's awkward, but it works. (Basically it's the same interface that the old Carbon versions of QuickTime Player had.)

    Unfortunately there isn't anything like iOS's UIVideoEditorController in Mac OS X.

    Hopefully someone will build a good controller to use with AVFoundation on Lion.. what QTKit provides just doesn't cut it. (Of course, it would be nice if Apple would give us what QuickTime Player uses, but I don't see that happening soon.)

  2. Yeah, Tim, those are basically my thoughts. I was holding out hope that there was something out there I didn't know about…

    Looks like I'll be creating my own UI for trimming. iTunes does it just by typing in numbers. I don't like that.

  3. [...] a quick follow-up to yesterday's post, current plans [...]

  4. [quote comment="67231"]
    Looks like I'll be creating my own UI for trimming. iTunes does it just by typing in numbers. I don't like that.[/quote]

    iTunes sucks.