# Instagram video settings with VideoExport and FFMPEG

**URL:** https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759
**Category:** Libraries
**Created:** [October 11, 2021, 7:26pm UTC](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759 "2021-10-11T19:26:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fmiramar0101101](https://avatars.discourse-cdn.com/v4/letter/f/db5fbb/32.png) [@fmiramar0101101](https://discourse.processing.org/u/fmiramar0101101)
#### Post date: [October 11, 2021, 7:26pm UTC](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759/1 "2021-10-11T19:26:36Z")

</div>

Hi everybody!

I am trying to export a high resolution animation to Instagram using [Video Export](https://www.funprogramming.org/VideoExport-for-Processing/) but after the upload it is getting heavily compressed.

I am using `size(1080, 1350)` and `videoExport.setFrameRate(30)`. I’ve also tried to convert the resultant video using [these settings](https://dev.to/alfg/ffmpeg-for-instagram-35bi), but without success.

`ffmpeg -i PROCESSINGVIDEO.mp4 -c:v libx264 -profile:v main -level:v 3.0 -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 -c:a aac -preset veryslow -crf 23 -r 30 -sn -f mp4 OUTPUT4.mp4`

Could someone share a VideoExport preset that works for Instragram ? Like [these advanced settings](https://www.funprogramming.org/VideoExport-for-Processing/examples/zCustomCommand/zCustomCommand.pde) on the library example.

---

<div class="post-metadata">

### Author: ![Karrajo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/karrajo/32/14745_2.png) [@Karrajo](https://discourse.processing.org/u/Karrajo)
#### Post date: [January 3, 2022, 11:07pm UTC](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759/2 "2022-01-03T23:07:41Z")

</div>

Hi @fmiramar0101101 , I have the same problem, after uploading a video to instagram the result is so bad.  
I do it with the Movie Maker Tool from all the created frames. And then with a video editor program I export it in mp4 with the h.264 codec, but that’s not working either.

If someone knows something about that I’d like to know too.

---

<div class="post-metadata">

### Author: ![Erif](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/erif/32/15932_2.png) [@Erif](https://discourse.processing.org/u/Erif)
#### Post date: [March 28, 2022, 10:43pm UTC](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759/3 "2022-03-28T22:43:12Z")

</div>

I’m using the same method and my exports to IG are alright… however they’re very simple animations.  
Movie Maker with MPEG-4 and I could upload straight to social media.  
Check them here on my profile for reference, in case it’s useful.

> **[Login • Instagram](https://www.instagram.com/erif.nogard/?hl=en)**
>
> Welcome back to Instagram. Sign in to check out what your friends, family & interests have been capturing & sharing around the world.

---

<div class="post-metadata">

### Author: ![SantosJordan](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SantosJordan](https://discourse.processing.org/u/SantosJordan)
#### Post date: [May 19, 2022, 1:43pm UTC](https://discourse.processing.org/t/instagram-video-settings-with-videoexport-and-ffmpeg/32759/4 "2022-05-19T13:43:55Z")

</div>

I’m using the same method and my export to IG is fine
