# Hello. How can I compress video uploads from the camera?

**URL:** <https://forum.deepar.ai/t/hello-how-can-i-compress-video-uploads-from-the-camera/72>\
**Category:** SDK\
**Created:** [September 6, 2022, 4:55pm UTC](https://forum.deepar.ai/t/hello-how-can-i-compress-video-uploads-from-the-camera/72 "2022-09-06T16:55:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/dcnative/32/110_2.png) [@dcnative](https://forum.deepar.ai/u/dcnative)\
**Post date:** [September 6, 2022, 4:55pm UTC](https://forum.deepar.ai/t/hello-how-can-i-compress-video-uploads-from-the-camera/72/1 "2022-09-06T16:55:48Z")

</div>

Hello. For iOS - When uploading video from the camera taken with the sdk the uploads are much too large. A 15-second video is around 50mb. How can I compress it or change the uploaded resolution? Uploading through the gallery is fine its just when using the camera with or without effects when the video upload is huge. TYIA

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [September 6, 2022, 5:11pm UTC](https://forum.deepar.ai/t/hello-how-can-i-compress-video-uploads-from-the-camera/72/2 "2022-09-06T17:11:43Z")

</div>

Hello @dcnative the DeepAR SDK

You can set the video compression properties and recording resolution using this method:

> **[Introduction | DeepAR](https://docs.deepar.ai/deepar-sdk/deep-ar-sdk-for-ios/api-docs/)**
>
> Hello! Welcome to DeepAR SDK and DeepAR Studio 4.0 Beta documentation. Here you will find all the information you need to get started with AR SDK and Studio, as well as useful tutorials and downloadable assets.

DeepAR will also return a path to the video file once you finish recording

> **[Introduction | DeepAR](https://docs.deepar.ai/deepar-sdk/deep-ar-sdk-for-ios/api-docs/)**
>
> Hello! Welcome to DeepAR SDK and DeepAR Studio 4.0 Beta documentation. Here you will find all the information you need to get started with AR SDK and Studio, as well as useful tutorials and downloadable assets.

You can then make changes to this file using your own code or 3rd party libraries.
