Hi,
I have a situation where in a Deadline scripting UI element, I want to have a single “FileBrowserControl” element which automatically folds up any image sequences it finds. I’m thinking this needs to be a feature request for this particular type of UI in the deadline scripting. However for the immediate future, any ideas on how I would pass say, the first image selection that is selected and then auto-find all corresponding image files in that particular sequence, specifically when that directory could potentially contain multiple image file sequences?
I took a look at how the TileAssembler submission code works, but unfortunately I’m not in complete control of how the image sequences are named…so I need something to handle most situations like %03d or %04d type padding…“camera_01_0001.exr > camera_01_0100.exr” but also “cam_01_05.exr > cam_01_90.exr”…!
Thanks,
Mike
Hey Mike,
That’s an interesting idea, and should be possible now that we use our own custom file browser. The tricky part would be making it flexible enough to handle as many sequence formats as possible, but we already have some utilities for that so it might end up being straightforward. We’ll add this to the wish list.
In the meantime, check out the Quicktime submitter for the Monitor (\your\repository\scripts\Submission\QuicktimeSubmission\QuicktimeSubmission.py). The InputImagesModified function handles the event when the input image text changes, and tries to parse out start and end frames.
See the FrameUtils utility functions here for more information:
software.primefocusworld.com/sof … _Utilities
Hope this helps!
- Ryan
Ah, excellent, thanks Ryan.
re: Quicktime py def code
That’s saved me a load of time, not having to code that part.
Having the scriptdialog function be able to handle auto-folding image sequences would be nice in the future tho
Thanks,
Mike