YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

No video after last update

Open UtkuDalmaz opened this issue 5 years ago • 1 comments

There is no video after video recording, there is sound but no video.

var config = YPImagePickerConfiguration() config.library.mediaType = .photoAndVideo config.library.onlySquare = false config.onlySquareImagesFromCamera = false config.targetImageSize = .original config.usesFrontCamera = true config.showsPhotoFilters = true config.library.isSquareByDefault = false config.shouldSaveNewPicturesToAlbum = true config.albumName = "Album" config.screens = [.library, .photo, .video] config.startOnScreen = .library config.video.recordingTimeLimit = 60 config.video.libraryTimeLimit = 60 config.showsCrop = .none config.wordings.libraryTitle = "Gallery" config.hidesStatusBar = false config.library.maxNumberOfItems = 1 config.library.minNumberOfItems = 1 config.library.numberOfItemsInRow = 3 config.library.spacingBetweenItems = 2 config.isScrollToChangeModesEnabled = false config.video.compression = AVAssetExportPreset640x480 config.video.fileType = .mp4 config.video.minimumTimeLimit = 0 config.video.trimmerMaxDuration = 60.0 config.video.trimmerMinDuration = 3.0 config.showsVideoTrimmer = false

UtkuDalmaz avatar Aug 11 '20 07:08 UtkuDalmaz

@UtkuDalmaz I think config.video.fileType = .mp4 might be the culprit. could you try with that line commented and tell me if that changes anything?

s4cha avatar Sep 24 '20 13:09 s4cha