# Mp4 GUI Export

**URL:** <https://forum.logik.tv/t/mp4-gui-export/8388>\
**Category:** Python\
**Tags:** export\
**Created:** [May 16, 2023, 8:48pm UTC](https://forum.logik.tv/t/mp4-gui-export/8388 "2023-05-16T20:48:20Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [May 16, 2023, 8:48pm UTC](https://forum.logik.tv/t/mp4-gui-export/8388/1 "2023-05-16T20:48:20Z")

</div>

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 process them in the foreground or background and the settings are persistent. I have tool tips for CRF and Export Path.

 ![mp4_gui](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/1/140738eeebb7e08167ab38157aa652bd9a8944fe.png)

You can set your Backburner Manager and Default Export Path in the Setup window:

 ![mp4_gui_setup](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/b/b31911be57c6eab55b41447820425631f4356e70.png)

v2.1 is in the Logik Portal now. It works with Flame 2023.2 and 2024.

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [May 26, 2023, 9:22am UTC](https://forum.logik.tv/t/mp4-gui-export/8388/2 "2023-05-26T09:22:05Z")

</div>

Hey, I missed this… Thanks Jhon!

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [June 5, 2023, 9:39am UTC](https://forum.logik.tv/t/mp4-gui-export/8388/3 "2023-06-05T09:39:31Z")

</div>

Hello.

I am trying to implement the “export between marks option”  
Using other sample scripts follow the way of exporting a quiktime and then converting it, it’s easy by including ‘exporter.export\_between\_marks = true’ in exporter section.

This is not useful for scripts that use export streams by using process like mkfifo, and then fed a ffmpeg cmd.

How could I include the “export betwwen marks” option in your script?

thanks

---

<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:** [June 5, 2023, 1:35pm UTC](https://forum.logik.tv/t/mp4-gui-export/8388/4 "2023-06-05T13:35:40Z")

</div>

Hey Kily,  
Unfortunately, it’s not possible at the moment which is why our team doesn’t use it. I put in a [Feature Request](https://feedback.autodesk.com/project/feedback/view.html?cap=5afe6c845cb3447ab36ccbd7f0688f84&uf=52e677da7768487385b47b80c07722b8&slsid=df78592ae2664d69b1534231fc1585fe) (FI-02547) about 2 years ago, but it hasn’t received much attention.

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [June 5, 2023, 2:20pm UTC](https://forum.logik.tv/t/mp4-gui-export/8388/5 "2023-06-05T14:20:22Z")

</div>

Thanks Jhon. link is unavailable now. I’ll try later.

Export using marks is essential in my opinion. I use it to export including/excluding slates, black video, and so, before or after the master.

I explored this some time ago, and I found an parameter of ffmpeg (-filter complex) to add it in export process. It works, and I tried to modify your script, but I’´m getting an error because -filter complex is not compatible with -vf . Without -vf arguments to set colourspace, I get some gamma/sat shift. So I gave up. 🤪

We hope this is taken care of.

---

<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:** [June 5, 2023, 2:25pm UTC](https://forum.logik.tv/t/mp4-gui-export/8388/6 "2023-06-05T14:25:26Z")

</div>

> [@kily](#):
>
> Export using marks is essential in my opinion. I use it to export including/excluding slates, black video, and so, before or after the master.

Same. If I have time this week, I’ll see if I can get “-filter complex” to work. Thanks for the tip.

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [June 5, 2023, 2:42pm UTC](https://forum.logik.tv/t/mp4-gui-export/8388/7 "2023-06-05T14:42:29Z")

</div>

This is, for instance , to add 1sec of black video before and after:

> -filter\_complex “tpad=start\_duration=1:stop\_duration=1” -filter\_complex “adelay=1000|1000”

Where duration=1 is “1sec” for video, and adelay is delay for audio, where 1000 is equal to 1sec.

According with the info, the argument -shortest should be added also. But I think it is not necessary for this case, but I keep it just in case.

An example of a simple command to test:

> ffmpeg -i input.mov -filter\_complex “tpad=start\_duration=1:stop\_duration=1” -filter\_complex “adelay=1000|1000” -c:v libx264 -preset slower -b:v 15000K -minrate 15000K -maxrate 15000K -bufsize 20000K -pix\_fmt yuv420p -profile:v baseline -level 3.1 -x264-params scenecut=0:open\_gop=0:min-keyint=72:keyint=72 -c:a aac -ar 44100 -b:a 160k -shortest output.mp4

Including any -vf parameter, you´ll get the subsequent error in console.
