Jump to: Board index » General » Fusion

No Alpha channel in DPX files

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

steve oakley

  • Posts: 538
  • Joined: Fri Aug 16, 2013 6:07 pm

No Alpha channel in DPX files

PostThu Nov 30, 2017 9:21 pm

look at saver in comp window, alpha is good. alpha is enabled in saver. opened rendered files, NO ALPHA ! setting was 10bit if that matters...

S
S
mac Studio Ultra 128gb OS 13.5+
TB3 ext 1TB SSD Cache, 1TB SSD Sys
4K 27Dell
Presonus Quantum 2626 TB3 Word clocked 96K
MiniPanel via enet
Behinger Xtouch USB via USB3 Hub->PCIe USB3X4 card
Wacom XL Pro
Offline

Ryan Bloomer

  • Posts: 760
  • Joined: Tue Jul 09, 2013 6:58 pm

Re: No Alpha channel in DPX files

PostThu Nov 30, 2017 10:18 pm

hi steve, as far as I know DPX files do not contain an alpha. In the saver, there is an option to save the alpha to Color which will render a black and white matte, be sure to change the name of the file when you select "save Alpha to Color" otherwise it will overwrite what you've already rendered.
Offline

Suchuāto Ritoru

  • Posts: 56
  • Joined: Thu Jan 01, 2015 10:42 pm

Re: No Alpha channel in DPX files

PostThu Nov 30, 2017 10:57 pm

DPX 100% supports Alpha channels in the spec. So why Fusion is not rendering the Alpha is odd and should be logged as a bug.
Offline
User avatar

Bryan Ray

  • Posts: 2474
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: No Alpha channel in DPX files

PostFri Dec 01, 2017 1:57 am

10 bit DPX export doesn't permit alpha, but 12-bit does. Of course, 12-bit limits the systems that can import the files (Fusion 7 can't do it, for instance).

I don't know if that's a limitation of the spec or just Fusion's implementation.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

JP Docherty

  • Posts: 188
  • Joined: Wed Dec 31, 2014 2:37 pm

Re: No Alpha channel in DPX files

PostFri Dec 01, 2017 8:52 am

Although dpx spec does support an alpha channel it is in my experience very rarely used and a lot (i.e. most) of software packages can't deal with it.

The usual matte delivery pipeline for features is to provide a second set of dpx files that are 10 bit linear (as opposed to log) and use the RGB channels for the matte, with the same file numbering, resolution etc. Sometimes three different mattes are provided in the same file by using the Red Green and Blue files to carry the three mattes but for single mattes the same matte data is put into all three colour channels.
Offline
User avatar

Chad Capeland

  • Posts: 3016
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: No Alpha channel in DPX files

PostFri Dec 01, 2017 2:42 pm

I can't think of a more inefficient system of handling mattes than to use a 10 bit RGB uncompressed raster. I know it's standard, but it's still terrible.
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline

JP Docherty

  • Posts: 188
  • Joined: Wed Dec 31, 2014 2:37 pm

Re: No Alpha channel in DPX files

PostSat Dec 02, 2017 8:30 am

I completely agree but again through experience I've found that DI conform setups are pretty limited in what they can (or will) accept as mattes and usually insist on this . . .
Offline
User avatar

Bryan Ray

  • Posts: 2474
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: No Alpha channel in DPX files

PostSun Dec 03, 2017 6:21 am

We were recently asked for 12-bit DPX mattes. So yeah, it can indeed get even less efficient!
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Suchuāto Ritoru

  • Posts: 56
  • Joined: Thu Jan 01, 2015 10:42 pm

Re: No Alpha channel in DPX files

PostTue Dec 05, 2017 12:19 am

What does it matter whether it's efficient or not? It is part of the spec. Compression is in the spec as well.

The DPX format stores image data by pixels, separating each pixel into its component values (also called samples in other formats) and storing each value in a separate element (also called a color plane). Image data components may be stored in up to eight elements total.

For example, an 8-bit gray-scale pixel contains only one component and is therefore stored as one component value only in one element. A 32-bit RGBA pixel contains four components that may be stored across four elements as four 8-bit component values or may be stored in a single element as one 32-bit component value.

As you can see, the DPX format is quite flexible in allowing you to store your image data in any way that makes reading and writing the data the most efficient for your computer hardware.

All components must be the same size across all elements. Valid component sizes are 1-, 8-, 10-, 12-, and 16-bit integers and 32- and 64-bit reals (IEEE floating-point). All components must be stored as words using 32-bit boundaries.


Descriptor specifies the type of component stored by the element and its pixel-packing order. There are 256 possible values to this field; the following are defined:

0

User-defined

1

Red

2

Green

3

Blue

4

Alpha

6

Luminance

7

Chrominance

8

Depth

9

Composite video

50

RGB

51

RGBA

52

ABGR

100

CbYCrY

101

CbYaCrYa

102

CbYCr

103

CbYCra

150

User-defined 2-component element

151

User-defined 3-component element

152

User-defined 4-component element

153

User-defined 5-component element

154

User-defined 6-component element

155

User-defined 7-component element

156

User-defined 8-component element


http://www.fileformat.info/format/dpx/egff.htm
Offline

steve oakley

  • Posts: 538
  • Joined: Fri Aug 16, 2013 6:07 pm

Re: No Alpha channel in DPX files

PostTue Dec 05, 2017 1:11 am

10bit was the problem. at the very least, the saver should disable ALPHA clearly in the UI if this is a unique case. 16bit worked FWIW.

S


Bryan Ray wrote:10 bit DPX export doesn't permit alpha, but 12-bit does. Of course, 12-bit limits the systems that can import the files (Fusion 7 can't do it, for instance).

I don't know if that's a limitation of the spec or just Fusion's implementation.
S
mac Studio Ultra 128gb OS 13.5+
TB3 ext 1TB SSD Cache, 1TB SSD Sys
4K 27Dell
Presonus Quantum 2626 TB3 Word clocked 96K
MiniPanel via enet
Behinger Xtouch USB via USB3 Hub->PCIe USB3X4 card
Wacom XL Pro
Offline
User avatar

Bryan Ray

  • Posts: 2474
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: No Alpha channel in DPX files

PostTue Dec 05, 2017 6:47 am

Suchuāto Ritoru wrote:What does it matter whether it's efficient or not?


It matters a lot. Transfer time, storage space, necessary network bandwidth, human time waiting for transfers and uploads. All of these things cost money. Sometimes a lot of money. It's one thing to transfer 8 MB frames when they're actual artwork. It's quite another when they're mattes that could be 10k with no loss of quality or utility.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Suchuāto Ritoru

  • Posts: 56
  • Joined: Thu Jan 01, 2015 10:42 pm

Re: No Alpha channel in DPX files

PostTue Dec 05, 2017 12:37 pm

Uh those things are not what matters in this case of PROPERLY SUPPORTING THE SPEC. Those are pipeline issues. DPX supports compression. Literally, the spec allows for an alpha in any bit depth from 8 bit to 64bits (yeah dpx supports 64 bits per channel crazy world) . Just like EXR the channels can all be different bit depths but you only get 8 of them in DPX.

So fusion should support at least RGBA in all bit depth of DPX because that is the spec.



Bryan Ray wrote:
Suchuāto Ritoru wrote:What does it matter whether it's efficient or not?


It matters a lot. Transfer time, storage space, necessary network bandwidth, human time waiting for transfers and uploads. All of these things cost money. Sometimes a lot of money. It's one thing to transfer 8 MB frames when they're actual artwork. It's quite another when they're mattes that could be 10k with no loss of quality or utility.
Offline

Suchuāto Ritoru

  • Posts: 56
  • Joined: Thu Jan 01, 2015 10:42 pm

Re: No Alpha channel in DPX files

PostTue Dec 05, 2017 12:40 pm

Chad Capeland wrote:I can't think of a more inefficient system of handling mattes than to use a 10 bit RGB uncompressed raster. I know it's standard, but it's still terrible.


Yeah so they should support the whole spec which includes compression and that won't be an issue.

Seems most people implementation of DPX is cineon with DPX header and not actually any of the actual DPX spec.

Return to Fusion

Who is online

Users browsing this forum: Baidu [Spider] and 13 guests