I have 15 short videos, created in Celestia (which will grow to 100+), that I'm using as backgrounds for a music video.
I previously used one long video for the background, but it was inefficient. I'm constantly going back and forth between Celestia and Blender making fine adjustments to short sections.
So I changed my workflow so that I now have short video backgrounds listed in the Compositor, and use a python script to select which video becomes the background for each mini-scene.
That much is unavoidable, but I would really like to avoid the next step, which is to select the video and adjust the offset AGAIN in the 3D viewport.
By naming the clips and the background, I've managed to change the clip in the 3D view using python e.g.
bpy.data.images["background_b"].filepath = bpy.data.images["Moon.b1"].filepath
However, I'm stuck with the start frame and offset. The tooltip says
but that gives a syntax error.
Can anyone tell me the proper syntax to reference the frame_start and frame_offset for the background in a 3D viewport, and an image node in the compositor?