Post

Replies

Boosts

Views

Activity

Reply to Avplayer export session video size issue
You can use the url of the video asset to make a AVURLAsset like this: let videoAsset = AVURLAsset(url : sourceURL) Then you need to get the video track of your video (AVAssetTrack) like this: let videoAssetTrack = videoAsset.tracks(withMediaType: .video).first then you can find its natural size : let naturalSize = videoAssetTrack.naturalSize Hope it solves the problem of getting the natural size of the video.
Aug ’20