title: Getting video from ALAsset
body: <p>Using the new asset library framework available in iOS 4 i see that I can get the url for a given video using the UIImagePickerControllerReferenceURL. The url returned is in the following format:</p>
  
  <pre><code>assets-library://asset/asset.M4V?id=1000000004&amp;ext=M4V
  </code></pre>
  
  <p>I am trying to upload this video to a website so as a quick proof of concept I am trying the following </p>
  
  <pre><code>NSData *data = [NSData dataWithContentsOfURL:videourl];
  [data writeToFile:tmpfile atomically:NO];
  </code></pre>
  
  <p>Data is never initialized in this case. Has anyone managed to access the url directly via the new assets library? Thanks for your help.</p>