title: Playing CMSampleBufferRef's with AVPlayer
body: <p>I am working on an OSX video editing app and have a set of CMSampleBufferRef's in an array representing each frame of the video.</p>
  
  <p>I want to render a preview of the video using AVPlayer - is it possible feed in these samples directly into AVPlayer? </p>
  
  <p>I've looked at most of the AVFoundation classes. I know I can use AVAssetWriter to write to a file, but want to avoid this as the user will still be doing more editing (so good to have the raw frame data).</p>
  
  <p>Any thoughts? </p>