• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMovieView -> QTMovieView; rate problems...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovieView -> QTMovieView; rate problems...


  • Subject: Re: NSMovieView -> QTMovieView; rate problems...
  • From: James Walker <email@hidden>
  • Date: Mon, 24 May 2010 12:02:25 -0700

On 5/24/2010 11:50 AM, Matthew Weinstein wrote:
Okay I'm confused. How do I set the attributes when I init and
initWithURL at the same time. I can't seem to find a method to do both.
The problem is that when I first init withURL and then use setAttribute,
it doesn't take. I check right away and the value is set YES rather than NO.

Use initWithAttributes:error:, and along with QTMovieRateChangesPreservePitchAttribute, use QTMovieURLAttribute.



On May 22, 2010, at 3:42 PM, James W. Walker wrote:


On May 22, 2010, at 1:26 PM, Matthew Weinstein wrote:

One important aspect of my app is teh ability to speed and slow
audio (and video playback). On the old NSMovieview this worked like an
analog tape machine: if you used NSMovieview setRate: it would slow the
sound down smoothly but make it lower; which is fine. Under the new
regime, the audio playback using [[QTMovieview movie] setRate: (float)]
you get VERY choppy sound and no variation in tone. I don't actually
care about the variation in tone, I care a lot about the smoothness of
the sound. Is there any way to get smooth audio while changing the rate
to r != 1?

Maybe you could try setting QTMovieRateChangesPreservePitchAttribute to NO when you initialize the QTMovie.


--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.com/>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSMovieView -> QTMovieView; rate problems... (From: Matthew Weinstein <email@hidden>)
 >Re: NSMovieView -> QTMovieView; rate problems... (From: "James W. Walker" <email@hidden>)
 >Re: NSMovieView -> QTMovieView; rate problems... (From: Matthew Weinstein <email@hidden>)

  • Prev by Date: Re: NSMovieView -> QTMovieView; rate problems...
  • Next by Date: Re: Beginner question on controls and NSCopying
  • Previous by thread: Re: NSMovieView -> QTMovieView; rate problems...
  • Next by thread: NSTokenField memory management issue
  • Index(es):
    • Date
    • Thread