You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error is occurring only on IOS version 10 (Also tested on ios version 9 and 11 where it is working fine ) for a 3GP video shared from Iphone gallery.
Following is the video and audio Settings dictionary that I am using: VideoSettings:
@{AVVideoCodecKey: AVVideoCodecH264,
AVVideoWidthKey: @(fabs(dimensions.width)),
AVVideoHeightKey: @(fabs(dimensions.height)),
AVVideoCompressionPropertiesKey: @{AVVideoAverageBitRateKey: @(3000000),
AVVideoProfileLevelKey: AVVideoProfileLevelH264High40}}
I have also tried passing nil in both audio and video settings but still not working. I tried passing nil because AVAssetReader startReading method validates audio and video settings, so I wanted to rule out the possibility of wrong audio and video settings.
The text was updated successfully, but these errors were encountered:
This error is occurring only on IOS version 10 (Also tested on ios version 9 and 11 where it is working fine ) for a 3GP video shared from Iphone gallery.
Following is the video and audio Settings dictionary that I am using:
VideoSettings:
@{AVVideoCodecKey: AVVideoCodecH264,
AVVideoWidthKey: @(fabs(dimensions.width)),
AVVideoHeightKey: @(fabs(dimensions.height)),
AVVideoCompressionPropertiesKey: @{AVVideoAverageBitRateKey: @(3000000),
AVVideoProfileLevelKey: AVVideoProfileLevelH264High40}}
AudioSettings:
{AVFormatIDKey: @(kAudioFormatMPEG4AAC),
AVNumberOfChannelsKey: 2,
AVSampleRateKey: 44100,
AVEncoderBitRateKey: 128000}
I have also tried passing nil in both audio and video settings but still not working. I tried passing nil because AVAssetReader startReading method validates audio and video settings, so I wanted to rule out the possibility of wrong audio and video settings.
The text was updated successfully, but these errors were encountered: