"Skip Existing" option for all renderers:

Feature requests discussion.
Post Reply
avclubvids
Posts: 22
Joined: Fri Jul 21, 2017 9:17 pm

"Skip Existing" option for all renderers:

Post by avclubvids »

After Effects has a very useful feature that pretty much no other renderer offers: the ability to detect if a frame exists already, and skip re-rendering it if it does. While most renderers cannot have their current frame range reassigned without re-launching, a lot of them are able to accept a list of frames vs. a single range, so it would be somewhat trivial for CGRU to keep track of what frames have been successfully rendered so far on a job (or scan the destination folder to look for existing outputs) and to feed a frames list that skips over these existing files.

Adding this ability to CGRU would mean that we could re-queue a task without having to re-render any frames, so no work would ever be lost if we had to restart a frozen task or change the chunk size and restart tasks so that we get more machines rendering when the farm is not too busy.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: "Skip Existing" option for all renderers:

Post by timurhai »

This is already done.
Service can skip on afrender side by any custom reason.
Such reason as task file exist, already implemented in CGRU.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
avclubvids
Posts: 22
Joined: Fri Jul 21, 2017 9:17 pm

Re: "Skip Existing" option for all renderers:

Post by avclubvids »

Is this documented anywhere? Would love to get this set up, as it will make it safer to re-queue stalled tasks etc.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: "Skip Existing" option for all renderers:

Post by timurhai »

Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
avclubvids
Posts: 22
Joined: Fri Jul 21, 2017 9:17 pm

Re: "Skip Existing" option for all renderers:

Post by avclubvids »

Hey Timur, I see "af.Block.skipExistingFiles" in the docs, but am wondering if this is currently exposed to users in either Watch or WebGUI? I've been looking for it to see if I can use it to solve some of our render issues but am not seeing it as a user-facing variable that can be updated?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: "Skip Existing" option for all renderers:

Post by timurhai »

You can manipulate this flag only on a job creation.
Such function in GUIs is not implemented.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
amedeo
Posts: 1
Joined: Thu Feb 25, 2021 11:13 am

Re: "Skip Existing" option for all renderers:

Post by amedeo »

Hi, noob here.
Is it possible to specify the "af.Block.skipExistingFiles" flag to skip existing frames somewhere in the bottom command box of the starter GUI?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: "Skip Existing" option for all renderers:

Post by timurhai »

Hi!
Yes, it is written on PySide (Python + Qt) and it is not a big deal to add an extra option.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply