Reading samples via AVAssetReader

It’s unclear from your question whether you are talking about video samples or audio samples. To read video samples, you need to do the following: Construct an AVAssetReader: asset_reader = [[AVAssetReader alloc] initWithAsset:asset error:&error]; (error checking goes here) Get the video track(s) from your asset: NSArray* video_tracks = [asset tracksWithMediaType:AVMediaTypeVideo]; AVAssetTrack* video_track = [video_tracks objectAtIndex:0]; … Read more