Here is the code I use
let asset = AVAsset(url: url) let reader = try! AVAssetReader(asset: asset) let videoTrack = asset.tracks(withMe