# Default Write Node Compression

**URL:** <https://forum.logik.tv/t/default-write-node-compression/11705>\
**Category:** Flame Questions\
**Tags:** batch, write-file\
**Created:** [November 6, 2024, 10:44pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705 "2024-11-06T22:44:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [November 6, 2024, 10:44pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/1 "2024-11-06T22:44:23Z")

</div>

I’ve tried:

`export DL_OPENEXR_COMPRESSION=DWAB`

… in my .bashrc but write nodes still default to PIZ. What’s the secret sauce @fredwarren or anyone else to forcing DWAB compression in EXR write nodes?

…tagging @finnjaeger here because I swear I’ve seen a screendump of DWAB configged projects and @Slabrie for fun.

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:02pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/2 "2024-11-06T23:02:35Z")

</div>

2025.2?  
apparently the flag env\_var got dropped as the compression type was supposed to be sticky between restarts.  
have you tried lower case dwab?

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:04pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/3 "2024-11-06T23:04:32Z")

</div>

never mind - the lower case is a red herring - sorry:

```auto
# Each file format is defined as follows:
#
# <Type>[:<Compression>]
#
# <Type> is the format type
#
# <Compression> is the compression algorithm (if available)
# Choices are: None(leave empty),RLE,Packed,
# ZIP-multiscanline,ZIP-scanline,PIZ,PXR24,B44,B44A,DWAA,DWAB

```

However, the compression is supposed to be sticky now.

---

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [November 6, 2024, 11:05pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/4 "2024-11-06T23:05:22Z")

</div>

Is this SW config?

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:06pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/5 "2024-11-06T23:06:03Z")

</div>

those are the definitions from `/opt/Autodesk/sw/cfg/stone+wire.cfg` - yes

---

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [November 6, 2024, 11:08pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/6 "2024-11-06T23:08:31Z")

</div>

But I thought that was just for setting the legacy config compression and format options. Do those control the write nodes as well?

```auto
# *****************************************************************************
# IMPORTANT: This section is only used by Flame projects with the Cache and |
# Renders setting set to Legacy Configuration. |
# *****************************************************************************
#
# If the Flame project Cache and Renders option is set to Legacy Configuration,
# then this section defines the file types for each of the bit depths used to 
# create image files. 
# If the project Cache and Renders is set to an option other then Legacy 
# Configuration, then this section is irrelevant to that project. In this 
# case, OpenEXR compression is always PIZ.
#
# Each specified file format/compression/quality combination must be valid and
# support the listed bit depth. If not, S+W will not be able to create the 
# image files on the application storage. 

```

…so if my project doesn’t use a legacy config then it’s irrelevant or? Fucking archaic

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:12pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/7 "2024-11-06T23:12:00Z")

</div>

I was just looking for an upper case / lower case convention.

I just launched flame 2025.2 without any env\_vars.

I added some bars and wrote out 12 frames of openexr to /var/tmp/dwaa-test/dwaa-test.00001.exr

I added a new batch made some nodes, switched back to the first batch and the node was still set to DWAA.

Then I guit and restarted flame and the node is still set to DWAA

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:13pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/8 "2024-11-06T23:13:10Z")

</div>

if you disable the `DL_OPENEXR_COMPRESSION=DWAB` variable?

---

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [November 6, 2024, 11:15pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/9 "2024-11-06T23:15:15Z")

</div>

What I’m trying to do is make a new write node default to DWAB.

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:16pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/10 "2024-11-06T23:16:02Z")

</div>

just tried a default dwab in the same batch.  
rendered it.  
quit flame  
started flame.  
opened batch  
it’s still set to dwab

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:17pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/11 "2024-11-06T23:17:08Z")

</div>

my environment is  
rocky 93  
flame 2025.2  
no env\_vars  
compression type appears to be sticky

---

<div class="post-metadata">

**Author:** ![ytf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/ytf/32/109_2.png) [@ytf](https://forum.logik.tv/u/ytf)\
**Post date:** [November 6, 2024, 11:17pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/12 "2024-11-06T23:17:54Z")

</div>

Make a writefile to your spec and put it in your user bin

---

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [November 6, 2024, 11:19pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/13 "2024-11-06T23:19:29Z")

</div>

I want it in the publish, so that that’s not an option. Thanks though.

---

<div class="post-metadata">

**Author:** ![ytf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/ytf/32/109_2.png) [@ytf](https://forum.logik.tv/u/ytf)\
**Post date:** [November 6, 2024, 11:21pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/14 "2024-11-06T23:21:35Z")

</div>

Ah . . . that may be why it’s not sticky

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:31pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/15 "2024-11-06T23:31:57Z")

</div>

sorry chris - i misunderstood that you wanted a dwab compression throughout - i’m almost sure that became available as a stone configuration (whereas it used to be a legacy only option).

i tried on this system and it’s not available.

maybe it was a special cut for finn?

---

<div class="post-metadata">

**Author:** ![ytf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/ytf/32/109_2.png) [@ytf](https://forum.logik.tv/u/ytf)\
**Post date:** [November 6, 2024, 11:42pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/16 "2024-11-06T23:42:36Z")

</div>

Not sure if this is what you are looking for, but as root, open the opt/Autodesk/presets/yourversion/export/presets/flame/sequence\_publish/Source Media Export/OpenEXR.xml and change the codec line to 1185912.

---

<div class="post-metadata">

**Author:** ![PlaceYourBetts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/placeyourbetts/32/6852_2.png) [@PlaceYourBetts](https://forum.logik.tv/u/PlaceYourBetts)\
**Post date:** [November 6, 2024, 11:43pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/17 "2024-11-06T23:43:59Z")

</div>

> [@cnoellert](#):
>
> I’ve tried:
> 
> `export DL_OPENEXR_COMPRESSION=DWAB`
> 
> … in my .bashrc but write nodes still default to PIZ. What’s the secret sauce for fun.

We used to use `setenv DL_OPENEXR_COMPRESSION piz` before you had the option to choose which compression.

Mine is unreliable when it comes to being sticky. We have moved over to DWAB now for all of our commercial work and I get RLE more often when loading setups 😞

---

<div class="post-metadata">

**Author:** ![philm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/philm/32/9286_2.png) [@philm](https://forum.logik.tv/u/philm)\
**Post date:** [November 6, 2024, 11:50pm UTC](https://forum.logik.tv/t/default-write-node-compression/11705/18 "2024-11-06T23:50:27Z")

</div>

@PlaceYourBetts - i think this is where my confusion arises about the upper lower case thing.  
i’m just installing 2025.2.1 but i will try setting the env\_var again.

---

<div class="post-metadata">

**Author:** ![cnoellert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/cnoellert/32/559_2.png) [@cnoellert](https://forum.logik.tv/u/cnoellert)\
**Post date:** [November 7, 2024, 12:05am UTC](https://forum.logik.tv/t/default-write-node-compression/11705/19 "2024-11-07T00:05:15Z")

</div>

Thanks Tim, but that’s already set as well in my pub template. The issue I’m running into is that I want the write nodes that are created from that publish in the batch files to also default to the same DWAB codec and not PIZ.

---

<div class="post-metadata">

**Author:** ![finnjaeger](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@finnjaeger](https://forum.logik.tv/u/finnjaeger)\
**Post date:** [November 7, 2024, 12:07am UTC](https://forum.logik.tv/t/default-write-node-compression/11705/20 "2024-11-07T00:07:22Z")

</div>

I wrote a script that goes over a directory (published batch files ) then fixes the compression to DWAB, you can set your cache to be DWAB now in one of those configs so you can pick DWAB/Prores444 instead of legacy , can have a look where that was in a minute on my project server

need to change the line where it looks for project folders on our specific pathing but it should be easy

[changecompression.py](https://forum.logik.tv/uploads/short-url/8MPfn08WdfiEArtaKwm0yLhKMey.py) (1.2 KB)

[Next page](https://forum.logik.tv/t/default-write-node-compression/11705.md?page=2)
