Page MenuHome

Compositor File Output node does not preserve cryptomatte metadata
Closed, DuplicatePublicKNOWN ISSUE

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: Quadro M1000M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: rBf1aa4d18d49d
Worked: (optional)

Short description of error
[cant save cryptomatte data if file saves with "render animation", but can save cryptodata if render wiith f12 and after - save-as rendered file. ]

Exact steps for others to reproduce the error
[1. Open scene. Press render animation or cntrl+f12. 2. Open Nuke, import rendered file. Cryptopasses will broken

  1. Press f12 and render. After finish, make Save-as, file format - OpenMultiExr, RGBA, Float, ZIPS and save the file. 4. Open the file in Nuke, Cryptopasses will need to rename matadata.
  2. Rename View.Layer_Crypto... to View_Layer_Crypto...]

[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Jacques Lucke (JacquesLucke) changed the task status from Needs Triage to Needs Information from User.Jan 14 2020, 2:46 PM

Is there a way to reproduce this issue just with Blender without having access to Nuke? Maybe by reimporting the files somehow? I don't know.

In blender cryptomatte is work. But in export in 28+ it is empty. Crypto export work in last version 279. We are very need resolve it - we made a film.

Rename View.Layer_Crypto... to View_Layer_Crypto

This has also been reported in T71574: OpenEXR layers from View Layers with names containing a period can't be read by Nuke but turns out to more of a bug in Nuke then in blender, supporting this is on the TODO, see T68924: OpenEXR pipeline improvements
I wonder if the animation issue has the same roots?

As I know (i dont specialist in it) Nuke and AE have this trouble.
Here people talk about resolve this solution https://devtalk.blender.org/t/cryptomatte-metadata-missing-in-2-8/5546
And i think what a trouble in Blender too - If I bake crypto in open multiEXR vithout node Cryptomatte, the file files will empty. BUT if I do it in 279, files have size 3-4 MB instead empty 0.3KB

And when we try using ID masks, antialiasing is no working in Nuke too. We need to resize our dimensions to uo in 5 step and bake.

Only had a quick look, but https://devtalk.blender.org/t/cryptomatte-metadata-missing-in-2-8/5546/47 suggests that updating the Nuke plugin from https://github.com/Psyop/Cryptomatte fixed the dot/underscore issue?

  • which version of the plugin are you using?

Our problem is in missing cryptomatte metadata in exr
Renaming helps when this metadata is present but incorrect. And the new version of the plugin in Nuke probably does fix this, but we have a problem that when rendering without save as in the metadata there is no mention of crypte at all. Even erroneous ones

Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Confirmed.Jan 15 2020, 2:28 PM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Known Issue".

Our problem is in missing cryptomatte metadata in exr
Renaming helps when this metadata is present but incorrect. And the new version of the plugin in Nuke probably does fix this, but we have a problem that when rendering without save as in the metadata there is no mention of crypte at all. Even erroneous ones

I think this is due to you using the File Output node.
To quote @Brecht Van Lommel (brecht) from https://devtalk.blender.org/t/cryptomatte-metadata-missing-in-2-8/5546/33

brecht Dec '19
The Blender compositor indeed does not preserve metadata with the file output node, that’s a limitation currently, there is no type of metadata node socket for passing along that information from one node to another.

Maybe you can somehow circumvent using that File Output for the crypto data in your pipeline?

Judging the above comment, will change to "Known Issue".

Philipp Oeser (lichtwerk) renamed this task from cryptomatte error export to nuke to Compositor File Output node does not preserve cryptomatte metadata.Jan 15 2020, 2:29 PM

Sorry, I dont have good English and Im not specialist.
We need to make sequence with cryptodata. How we can made it?
When it trouble will resolve (what versions)?

When you dont output crypto via the File Output node, but instead just connect the RenderLayer image to the Composite image, then render your animation as OpenEXR Multilayer, then import those EXRs into Nuke, you should get Metadata, no?

We have a second trouble with this scene - blender sometimes forgot passes. For example, I run emission pass, save file, but when open it - emission pass is off.

We have a second trouble with this scene - blender sometimes forgot passes. For example, I run emission pass, save file, but when open it - emission pass is off.

Please report this separately (it is not practical chasing different issues in one report)

I right do it?

All I am saying is that you should check the output from Properties Editor > Output Properties tab > Output panel

  • set your FileFormat to OpenEXR Multilayer and specifiy an output path (resulting images saved there should be OK in regards to metadata)

This is all a bit cumbersome/unfortunate in a bigger pipeline, but this has actually been reported before, see T64953: Cryptomatte - File Output node is messing up the multilayer exr (metadata), so blender cryptomattes cannot be read properly in external compositors, will have to merge these reports...