Replaced QuickTime with AVFOundation