O'Reilly logo

Mac Application Development by Example Beginner's Guide by Robert Wiebe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – saving a compressed movie

We are going to add two new pop-up menus to our App that will allow the user to select the audio and video compression methods that will be used when a movie file output is connected to our capture session. We will also add a checkbox that is used to enable or disable the selected compression options.

  1. In the file named MainMenu.xib, select the iSight Recorder window.
  2. In the Size Inspector, change the Height to 400 and the Minimum Size Constraint Height to 400.
  3. Add a checkbox titled Compress and two pop-up buttons below the buttons titled Stop and Record. It should look similar to the following screenshot:
  4. In the file named BTSAppDelegate.h, add a new @property items of type NSButton* and name it m_compressButton ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required