-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can you help me with this issue app crash while compressing picked video from imagepicker and app goes to background. #1
Comments
You mean select from photo library and compress? |
yes |
You don't have to do that, the video from library has already been compressed |
i need to resize video width and height and don't want to use default compression. want to compress video using VideoToolbox . |
also need to change AVVideoAverageBitRateKey aka bitrate to further reduce size of video. |
Use AVAssetExportSession is a more simple way, you just have to adjust |
i have tried https://github.com/NextLevel/NextLevelSessionExporter. but my problem is when i minimize app when compression is going on and open app again after 8 to 12 seconds it crashes in ipad. |
so i am looking for alternative. so i thought i should try VideoToolBox. |
if you have demo app that allow me to change AVVideoAverageBitRateKey and height and width of video it would be really helpful.. |
can you share demo app of it in which we would be able to select video instead of capturing it from camera.
The text was updated successfully, but these errors were encountered: