Re: NSMovieView -> QTMovieView; rate problems...
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