Hi all,
I want to bake OCIO color space using rvio command, what could be the best way to do this?
I have tried to export a “rvio ready session” (.rv file) from RV GUI with OCIO enabled and use that .rv file in rvio command to get the OCIO baked mov file. But this works only for the input sequence loaded in that RV session from which I exported the .rv file. Is it possible to generate a generic .rv file that can be applied to any input?
One of the ways you can do it is to load up your media with OCIO enabled in RV, set your profile, then write out an RV session via RV -> File -> Save Session As....
Then you can run your RVIO command on the session file:
rvio /path/to/input.rv -o /path/to/output.mov
You can replace the path to movie in your session file if you’d like to apply the same profile to a different file.
You could actually intentionally ‘misuse’ one of the features intended for working between operating systems/sites with different drive mounts.
RV provides a special variable prefix that can be used in the media’s movie path called RV_PATHSWAP. You can then define this environment variable and it will replace any instance of it. It is intended to be used to set a base path, but setting the full movie path seems to work just fine.
For instance, you can modify the movie path in the .rv session file to have
string movie = "${RV_PATHSWAP_SOURCE_A}"
This allows us to set RV_PATHSWAP_SOURCE_A as a variable to our file. As you can see, we could have any number of variables, as long as they start with RV_PATHSWAP.
To use this, set the variable of the media and run your RVIO command. In this case, I run something like this:
Hi Michael, that is exactly what I was looking for. It worked like a charm
By setting the RV_PATHSWAP_SOURCE_A env I am able to process the batch of files and apply ocio using a single ocio_session.rv and rvio command:
since i was already building the rv file with rvSession thru python, i ended using Rvsession as well to add an extra OCIOLook node with the correct parameters.
This was suggested by comparing the content of the orginal rv file with the one saved as a ready to go rvio file
hope it helps
Hi Alexaz,
I have successfully converted using the command “rvio /path/to/input.rv -o /path/to/output.mov”, but I have some other RVIO parameters such as ’ -t and -outparams ‘ that don’t work when added, but without them .rv file ,using traditional rvio command (without .rv ocio), can be used.