# FFMPEG Prores output

**URL:** <https://forum.logik.tv/t/ffmpeg-prores-output/9688>\
**Category:** Flame Questions\
**Tags:** color, python, color-management\
**Created:** [December 19, 2023, 6:20pm UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688 "2023-12-19T18:20:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyleabsten](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@kyleabsten](https://forum.logik.tv/u/kyleabsten)\
**Post date:** [December 19, 2023, 6:20pm UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/1 "2023-12-19T18:20:33Z")

</div>

I am playing around with FFMPEG export options, and I can’t seem to make my Prores 422hq exported via FFMPEG match color exactly when comparing it to the flame export. I’m wondering if someone has achieved this and if they wouldn’t mind sharing their ffmpeg command?

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [December 19, 2023, 6:29pm UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/2 "2023-12-19T18:29:21Z")

</div>

If you’re talking about Rec709, there might be something helpful here:

> [@Mp4 GUI Export](https://forum.logik.tv/t/mp4-gui-export/8388):
>
> I have a new version of the mp4 gui script and I was finally able to get Rec709 colors to match. This is based off of Autodesk’s Export Selection Script and @MikeV 's work. You can select pretty much anything but a Desktop, right-click or go to the Main Menu and look for MP4 GUI. The script will render your clips/sequences, and then save them into a “FROM\_FLAME” shared library. Once rendered and saved, it’ll make the appropriate subfolders and run your clips/sequences through ffmpeg. You can pro…

This works for Rec709 mp4’s, but I think it should work for ProRes422hq’s. The latest version of the Mp4 Gui is in the Logik Portal.

---

<div class="post-metadata">

**Author:** ![ALan](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@ALan](https://forum.logik.tv/u/ALan)\
**Post date:** [December 19, 2023, 7:12pm UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/3 "2023-12-19T19:12:15Z")

</div>

ChatGPT is your friend here:

> To create a ProRes QuickTime video in Rec.709 color space using FFmpeg, you’ll need to use specific command-line options. Here’s a general command structure that you can use:
> 
> ```auto
> ffmpeg -i input.mp4 -c:v prores_ks -profile:v 3 -color_primaries bt709 -color_trc bt709 -colorspace bt709 output.mov
> 
> ```
> 
> Here’s what each part of the command does:
> 
> 1. `ffmpeg`: This is the basic command to run FFmpeg.
> 2. `-i input.mp4`: Replace `input.mp4` with the path and filename of your input video.
> 3. `-c:v prores_ks`: This specifies the codec to use, which in this case is ProRes. The `prores_ks` encoder is typically recommended for its options and quality.
> 4. `-profile:v 3`: This sets the ProRes profile. Profiles are 0 (Proxy), 1 (LT), 2 (Standard), and 3 (HQ). For high quality, use 3.
> 5. `-color_primaries bt709 -color_trc bt709 -colorspace bt709`: These options ensure that the video uses the Rec.709 color space, which includes setting the color primaries, transfer characteristics, and color space to bt709.
> 6. `output.mov`: This is your output file. The `.mov` extension is used for QuickTime movies.
> 
> This command will convert your video to a ProRes QuickTime file in the Rec.709 color space. Ensure that you have the latest version of FFmpeg installed to access all these features. Also, adjust the command according to your specific requirements, such as resolution, bitrate, etc., if needed.

---

<div class="post-metadata">

**Author:** ![kyleabsten](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@kyleabsten](https://forum.logik.tv/u/kyleabsten)\
**Post date:** [December 20, 2023, 12:12am UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/4 "2023-12-20T00:12:25Z")

</div>

This is super helpful john, thank you. I think your “-vf” is what made the difference, my prores now matches!

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [December 20, 2023, 1:02am UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/5 "2023-12-20T01:02:47Z")

</div>

Nice! It took me a while to get that right. Glad it’s working for you now too.

---

<div class="post-metadata">

**Author:** ![Sinan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/sinan/32/155_2.png) [@Sinan](https://forum.logik.tv/u/Sinan)\
**Post date:** [December 20, 2023, 3:14pm UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/6 "2023-12-20T15:14:14Z")

</div>

Also take a look at this link

> [@FFmpeg Explorer](https://forum.logik.tv/t/ffmpeg-explorer/9395):
>
> FFmpeg is the underlying component in a lot of video software. [Here’s a tool](https://lav.io/notes/ffmpeg-explorer/) to explore visually, all the filters and parameters you can use with it… The author is looking for testers as well, so drop him a line…

---

<div class="post-metadata">

**Author:** ![kyleabsten](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@kyleabsten](https://forum.logik.tv/u/kyleabsten)\
**Post date:** [December 21, 2023, 1:22am UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/7 "2023-12-21T01:22:55Z")

</div>

Hey John, this is working great. I was wondering if you have tried to export a timeline with more than just stereo audio. I am struggling to get this to work. Any thoughts?

---

<div class="post-metadata">

**Author:** ![allklier](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/allklier/32/4309_2.png) [@allklier](https://forum.logik.tv/u/allklier)\
**Post date:** [December 21, 2023, 2:48am UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/8 "2023-12-21T02:48:36Z")

</div>

One consideration, take it with a grain of salt.

In the older days when not as many apps supported ProRes (these days Resolve on Win is the lone outlier), there were many hacks on how to make ProRes renders. There was a distinction between official and unofficial implementations. And there were said to be occasional problems with unofficial implementations if you had to pass QC.

I believe ffmpeg is one of those unofficial ones. But it may be totally fine these days. Just good to keep somewhere in the ocrner of your memory depending on circumstances.

---

<div class="post-metadata">

**Author:** ![Slabrie](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@Slabrie](https://forum.logik.tv/u/Slabrie)\
**Post date:** [December 21, 2023, 10:52am UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/9 "2023-12-21T10:52:42Z")

</div>

Good memory! This is still true since FFMPEG does not use Apple ProRes libraries. Use it at your own risk.

---

<div class="post-metadata">

**Author:** ![john-geehreng](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/john-geehreng/32/7195_2.png) [@john-geehreng](https://forum.logik.tv/u/john-geehreng)\
**Post date:** [December 21, 2023, 7:48pm UTC](https://forum.logik.tv/t/ffmpeg-prores-output/9688/10 "2023-12-21T19:48:00Z")

</div>

No, sorry. I only ever needed to use 2 channels out for web reviews.
