Movie size
What are parameters that someone can set up in GPUImage configuration to make recorded movie smaller?
My movie recorded for 90 seconds has about 40 MB.
What are parameters that can be configurable and that influent in final movie file size?
You would need to set things like the record quality to lower the final file size;
http://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/c/tdef/UIImagePickerControllerQualityType
Hi @dansinclair25 ,
Thanks for your help, but there is already similar topic to this one.
https://github.com/BradLarson/GPUImage/issues/351
I found this after I've posted my question.
As user 2energycell had described in that thread:
"I have uncommented creation of videoCleanApertureSettings, videoAspectRatioSettings, compressionProperties and have seted the AVVideoAverageBitRateKey to 500000 value in "GPUImageMovieWriter.m". And the file size now are significantly smaller."
The same thing helped me to reduce file size. The 90 secs video is now only 7-8 MB.
I set AVVideoAverageBitRateKey to 256 * 1024; But to improve the video quality a little bit I'll set it to 384*1024;
Thank you @dansinclair25 for taking your time to help.
Great thanks to @BradLarson for great job once again.