title: AVURLAsset Not Loading (.mov file)
body: <p>I am attempting to load a file called output.mov (created on the iPhone) as an <code>AVURLAsset</code> using the following code:</p>
  
  <pre><code>NSURL *outputURL = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@%@", NSTemporaryDirectory(), @"output.mov"]];
  
  AVURLAsset *videoAsset = [AVURLAsset URLAssetWithURL:outputURL options:nil];
  </code></pre>
  
  <p>The file is located in the <code>tmp</code> directory of the app. No errors appear, but it seems that the asset is not loaded as no metadata is available (i.e. calling <code>NSLog(@"%@", [videoAsset commonMetadata])</code> returns nothing) so I can't do anything with the asset.</p>
  
  <p>I have used the following code to ensure that the resource is reachable via the URL, and it definitely seems to be:</p>
  
  <pre><code>if ([outputURL checkResourceIsReachableAndReturnError:&amp;err] == NO)
          NSLog(@"Not reachable!");
  </code></pre>
  
  <p>so I am unsure why the asset is not loading. I have also tried loading the asset using <code>[AVAsset assetWithURL:]</code> but that also doesn't work.</p>
  
  <p>Any help would be greatly appreciated.</p>