It seems that in batch mode, you cant render quicktimes… It just saves the very last frame into the quicktime (even though it goes through each).
The problem seems to be that you guys are feeding per frame render commands to nuke, instead of per chunk…
This is the code from nuke.py:
scriptContents = ""
for frame in range(self.GetStartFrame(), self.GetEndFrame()+1):
frameCount = frameCount + 1
scriptContents = scriptContents + ("nuke.execute(nuke.Root(), %d, %d, 1, continueOnError=%s);print(\"Frame %d (%d of %d)\")\n" % (frame, frame, continueOnError, frame, frameCount, totalFrames))
# Now execute the full script.
self.WritePython(scriptContents)
Instead, it should be:
scriptContents = ""
frame = 0
scriptContents = scriptContents + ("nuke.execute(nuke.Root(), %d, %d, 1, continueOnError=%s);print(\"Frame %d (%d of %d)\")\n" % (self.GetStartFrame(), self.GetEndFrame()+1, continueOnError, frame, frameCount, totalFrames))
# Now execute the full script.
self.WritePython(scriptContents)