Is there a simple, straightforward way to save an image rendered in houdini with ACES color as standard SRGB jpeg without going through another program like Nuke, Fusion, Affinity, etc?
I'm trying to find a way for my coworkers to easily share preview stills with each other over Teams or e-mail, or save WIP stills to document progress. Mplay has the option to export an image with a LUT applied, so maybe that's an option if there is an ACES-CG to Output-SRGB or Output-rec709 LUT. I'm just trying to minimize the steps they need to go through to share quick previews.
Thanks!
Easiest ACES-CG to SRGB Jpeg?
18350 31 11- BradThompson
- Member
- 67 posts
- Joined: March 2017
- Offline
- protozoan
- Member
- 1707 posts
- Joined: March 2009
- Online
- Jonathan de Blok
- Member
- 274 posts
- Joined: July 2013
- Offline
- Jonathan de Blok
- Member
- 274 posts
- Joined: July 2013
- Offline
And on a side note: for converting assets into acescg check this: https://vimeo.com/412746848 [vimeo.com]
Edited by Jonathan de Blok - May 15, 2021 01:22:04
More code, less clicks.
- BradThompson
- Member
- 67 posts
- Joined: March 2017
- Offline
Thanks all,
I'm familiar with the standalone utilities and the OCIO nodes in COPS and MAT. I was hoping for something that doesn't involve extra steps. For example, I can't think of a case where it makes sense to save a .jpg from the render view or mplay in ACES color. Jpeg's, being only 8-bit, can't even properly support ACES. I was hoping maybe there was an option or preference I was missing, or perhaps an ACES-CG to SRGB-2.2 LUT that could be applied on export. If not, maybe this should be RFE?
I'm familiar with the standalone utilities and the OCIO nodes in COPS and MAT. I was hoping for something that doesn't involve extra steps. For example, I can't think of a case where it makes sense to save a .jpg from the render view or mplay in ACES color. Jpeg's, being only 8-bit, can't even properly support ACES. I was hoping maybe there was an option or preference I was missing, or perhaps an ACES-CG to SRGB-2.2 LUT that could be applied on export. If not, maybe this should be RFE?
- protozoan
- Member
- 1707 posts
- Joined: March 2009
- Online
- ifree
- Member
- 54 posts
- Joined: Sept. 2008
- Offline
- BradThompson
- Member
- 67 posts
- Joined: March 2017
- Offline
- BrianHanke
- Member
- 447 posts
- Joined: April 2018
- Offline
BradThompson
Thanks Ifree, that's what I was hoping for, but can you elaborate? Which LUT for ACES-CG to SRGB-2.2?
They're all in the aces_1.2/baked/houdini/ folder of your ACES download. I tested it out in COPs using the sRGB for ACEScg Houdini LUT and it works great.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]
Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
- Heileif
- Member
- 180 posts
- Joined: Jan. 2015
- Offline
Easiest way to share a quick image over chat, is to just use snipping tool i would think. In Windows you can use CTRL+Windows+S then mark the location on screen you want to send, then press CTRL+C(copy) and CTRL+V(paste) into the chat. Then done Works like a charm in google chat and other sites/programes that support image pasting.
- ifree
- Member
- 54 posts
- Joined: Sept. 2008
- Offline
BradThompson
Thanks Ifree, that's what I was hoping for, but can you elaborate? Which LUT for ACES-CG to SRGB-2.2?
In folder: aces_1.0.3\baked\houdini, there are some LUTs.
sRGB for ACEScg Houdini.lut or Rec.709 for ACEScg Houdini.lut will be fine for most desktop display.
Refer to the following data.
P3-DCI - Digital Cinema Projector (SDR)
P3-D60 - Digital Cinema Projector (SDR)
DCDM - Digital Cinema Projector (SDR)
DCDM (P3 gamut clip) - Digital Cinema Projector (SDR)
Rec.709 - SDR Broadcast Monitor
Rec.709 (D60 sim.) - SDR Broadcast Monitor
Rec.2020 - SDR Broadcast Monitor
P3-D60 ST2084 (1000 nits) - HDR Broadcast Monitor
P3-D60 ST2084 (2000 nits) - HDR Broadcast Monitor
P3-D60 ST2084 (4000 nits) - HDR Broadcast Monitor
Rec.2020 ST2084 (1000 nits) - HDR Broadcast Monitor
sRGB - Desktop Computer Display
sRGB (D60 sim.) - Desktop Computer Display
Edited by ifree - May 19, 2021 04:21:20
- BradThompson
- Member
- 67 posts
- Joined: March 2017
- Offline
- Gagui
- Member
- 55 posts
- Joined: May 2017
- Offline
- TangheStudent
- Member
- 88 posts
- Joined: Feb. 2021
- Offline
- jsmack
- Member
- 8041 posts
- Joined: Sept. 2011
- Offline
TangheStudent
If you right-click your image in view or composite view you can select save as and there you can select the LUT.
when i the LUT, however, the colours are still weird and incorrect
You might have automatic gamma correction enabled. Make sure "convert to image format's colorspace" is disabled and gamma is 1 when using an ODT lut.
Relying on baked luts to apply an ocio transform isn't always viable. Any custom looks would require baking new luts. They may also lose some precision.
Houdini now ships with oiiotool, which is renamed 'hoiiotool'
use the command line script to apply an ocio display/view transform when converting from scene linear images to display referred images:
hoiiotool -i input.exr --iscolorspace "scene_linear" --ociodisplay "ACES" "sRGB" -o output.jpg
replace input.exr and output.jpg with the actual file names and replace "scene_linear" with the actual input color space if not scene_linear. Use the display and view defined in your config. For example an OCIO 2.1 config might have a display called "Display - sRGB" and view "Output - SDR Video - ACES 1.0"
Edited by jsmack - July 13, 2022 20:32:34
- BrianHanke
- Member
- 447 posts
- Joined: April 2018
- Offline
jsmack
Houdini now ships with oiiotool, which is renamed 'hoiiotool'
Oh, this is fantastic, thank you! I was just about to ask if I needed to compile OpenColorIO or something, but Houdini saves the day again.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]
Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
- Nikolay_Skolkov
- Member
- 7 posts
- Joined: June 2022
- Offline
ifreeBradThompson
Thanks Ifree, that's what I was hoping for, but can you elaborate? Which LUT for ACES-CG to SRGB-2.2?
In folder: aces_1.0.3\baked\houdini, there are some LUTs.
sRGB for ACEScg Houdini.lut or Rec.709 for ACEScg Houdini.lut will be fine for most desktop display.
Could somebody tell how to apply this lut using ffmpeg ?
can not find an option to use it.
ffmpeg gives an error while parsing .lut file...
seems like it can not work with this type of luts
- TangheStudent
- Member
- 88 posts
- Joined: Feb. 2021
- Offline
- Nikolay_Skolkov
- Member
- 7 posts
- Joined: June 2022
- Offline
- jsmack
- Member
- 8041 posts
- Joined: Sept. 2011
- Offline
Nikolay_SkolkovTangheStudent
Any reason to not use hoiiotool?
because it seems like hoiiotool can not convert image sequence to movie
it's a multi step process. Convert exr (raw render) to video space image sequence that ffmpeg can read (png, jpg, etc) using hoiiotool or cops or ocioconvert. ffmpeg to convert image sequence to movie file. I'm not aware of ffmpeg having good support for exrs, I think they are converted with straight gamma if you use ffmpeg. I wouldn't attempt to use LUTs for aces linear to video conversion, they are bound to have a degree of error. I don't know what luts ffmpeg uses, but it probably can't read Houdini format .lut files.
looks like someone put chocolate in your peanut butter:
https://github.com/jedypod/generate-dailies [github.com]
Edited by jsmack - Aug. 29, 2022 12:40:39
-
- Quick Links