Jump to: Board index » General » Fusion

Saver name from loader

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

Eugene Afanasiev

  • Posts: 600
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Saver name from loader

PostFri May 13, 2016 6:41 pm

How to set saver name and location from loader by default or by script?
And can I override the 000 in image sequences, if I'm to create photos, I call let say photo_01_v01.jpg and it renders and saves photo_01_v01_0000.jpg so is it possible to remove automatic zeros in the end?
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--
Offline
User avatar

Eric Westphal

  • Posts: 214
  • Joined: Thu Nov 20, 2014 1:59 pm

Re: Saver name from loader

PostMon May 16, 2016 6:28 pm

To save to "clean" image names you could try saving to an .IFL.
Basically a plain text file containing the path and name of the file.
If you want to keep your original file names you can easily generate a matching IFL
by typing at a command prompt:
Code: Select all
dir *.jpg /b >myImages.ifl


Or you could use an InTool Script on the Saver (actually a Frame Saved Script)
which I used extensively while developing the Generation Skin:

Code: Select all
path, name = string.match(filename, "^(.+[/\\])(.+)")
name, extension = string.match(name, "^(.+)(%..+)$")
barename, sequence = string.match(name, "^(.-)(%d+)$")
print("bare:"..barename..extension)
os.remove(path..barename..extension)
os.rename(filename, path..barename..extension)
os.remove(filename)
my hovercraft is full of eels.
Offline
User avatar

Eugene Afanasiev

  • Posts: 600
  • Joined: Sun Aug 30, 2015 2:57 pm
  • Location: Russia

Re: Saver name from loader

PostMon May 16, 2016 7:58 pm

Could you please explain more, how exactly do you use this codes? What are the necessary steps for them to work?
__
--[[BMD's cameras and Resolve all-post workflow evangelist
My old stuff: http://www.youtube.com/rebelorelse
Debug: Asus ROG Duo GX550 i9 10980 48Gb RAM RTX2080MaxQ DaVinci Resolve Studio / Fusion Studio Latest Version]]--
Offline
User avatar

Eric Westphal

  • Posts: 214
  • Joined: Thu Nov 20, 2014 1:59 pm

Re: Saver name from loader

PostMon May 16, 2016 11:03 pm

Well...easy....:-)
Either create an IFL by executing the DOS command in a shell.
(WindowsKey-R "cmd", or shift-RMB-"Open Command Line Here" in Explorer)
or copy the InTool script into the Saver's "Frame Saved Script" in the scripting tab.
my hovercraft is full of eels.
Offline

Travis Schmiesing

  • Posts: 133
  • Joined: Wed Oct 14, 2015 4:01 am

Re: Saver name from loader

PostTue May 17, 2016 4:17 am

I use Eric's method for removing the trailing number on stills. It works well.
Attachments
ScreenCapture_20160516_005.jpg
ScreenCapture_20160516_005.jpg (112.1 KiB) Viewed 1684 times

Return to Fusion

Who is online

Users browsing this forum: KrunoSmithy and 56 guests