Shotgrid Flame Export

Hi,

We’re trying to export plates from Flame via Shotgrid Shot Export. All is working well with our config such as naming conventions except for the start frame number. We would like our frames to start from 1001 with no padding:

TEST_v001.1001.exr
TEST_v001.1002.exr

I’ve used these settings in the tk-flame-export.yml config:

  • template: flame_shot_render_exr
    publish_type: Flame Render
    name: 16 bit OpenEXR
    upload_quicktime: true
    quicktime_publish_type: Flame Quicktime
    quicktime_template:
    batch_quicktime_template:
    batch_render_template: flame_shot_comp_exr
    start_frame: 1001
    frame_handles: 10
    use_timecode_as_frame_number: False
    cut_type: “”

However the output is from frame 1 with 8 digit padding:

TEST_v001.00000001.exr
TEST_v001.00000002.exr

Any ideas what we might be missing?

Thanks

Hi Paul,

I don’t think the tk-flame-export app supports setting the start frame (yet). Would have to submit a feature request.
The start frame would need to be set within the flame export preset xml. If you wanted to fork the app, you could just add the following line in the <name> section:

<startFrame>1001</startFrame>

For the padding, it is extracting that from the tk template. In your case that is “flame_shot_render_exr”. Just make sure the sequence key has the format_spec set:

    flame.frame:
        type: sequence
        format_spec: "04"
    flame_shot_render_exr:
        definition: '@shot_root/..._v{version}.{flame.frame}.exr'