I would like to be able to match a retime curve from flame or nuke. I was thinking I could write a text file using python with frame numbers per line and the retimed frame number next to it. Then I was hoping there would be some way in RV to read this text file and retime the clip based on the retimed frame numbers.
Is this possible (with this method or any other method)?
Welcome to the community! AFAIK in Vanilla RV, retimes are linear mulitpiers and offsets, not really an ability to have a ramped/curved retime.
There may be options with an RV package, checking with the team on that.
While it would take a little bit of programming, if you are able to write every frame number output, you can use the explicit offset mode of the RVRetime node.
With the following properties, you can accomplish what I think you are trying to achieve:
You can insert a retiming node in your graph, or if you want to affect it for a single view, you can modify an existing one in the view.
For instance, here’s how you would modify the first source in the current view to have an explicit retiming:
from rv import commands, extra_commands
view = commands.viewNode()
itemToRetime = 0
retimer = extra_commands.nodesInGroupOfType(view, "RVRetime")[itemToRetime]
commands.setIntProperty("%s.explicit.firstOutputFrame" % retimer, )
commands.setIntProperty("%s.explicit.inputFrames" % retimer, [1, 2, 5, 8, 30], True)
commands.setIntProperty("%s.explicit.active" % retimer, )
This looks perfect, thanks so much. I’ll try it out soon