Re: Color space transformation issue (first-time user)
Apologies for the slow response. Are you certain that your rendered image is in the "lnh" space? "lnh" is a linear space with sRGB/Rec. 709 primaries. Since all transforms in OCIO are relative to a specific reference space, knowing exactly which color space defines your source encoding is critical to producing correct results. Also, in the spi-vfx config, the "sRGB Film" view is not the canonical sRGB transform, but a film emulation LUT, intended to be viewed on an sRGB device. This is described somewhat in the OCIO docs:
srgb8 bakes in the film3d emulation lut. This table can be used for either QuickTime generation or output to the sRGB display. The transformation is a 3d film emulation table with gray balance compensation, so a value of 445,445,445 in lg10 space os modified to become equal RGB values in sRGB. Additionally the lut is scaled so that at least one of the color channels on maximum white uses the display max.
The transformation takes place in three parts. First the linear data is converted to the show log space. Then a film emulation table is applied. Then the grey balance and white scaling compensation are applied. This table is designed to be evaluated in a dimly lit office environment on a sRGB display.
The API differences you are seeing are because it looks like you pulled from the OCIO Github master branch, which is the OCIO v2 development branch. If you pull the source from a release tag (i.e. v1.1.1) the API will be consistent with the docs you found on opencolorio.org. Note that the website and docs are being overhauled for v2, so things are changing a lot right now.
If you know your input is sRGB linear, and you want non-film-emulation sRGB, I would recommend you use the newest ACES config:
Set your source to "Utility - Linear - sRGB" and your dest to "Utility - sRGB - Texture". That will result in only the sRGB EOTF being applied to your image.