inlife / nexrender

📹 Data-driven render automation for After Effects

Home Page:https://www.nexrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Couldn't find a result file: result.mp4

dominicosavio opened this issue · comments

I am very new to nexrender, and I got this error. I have searched the net but couldn't find any answer regarding to this error.

Error: Command failed: nexrender-cli --file temp_config_v1.json > job rendering failed
Error: Couldn't find a result file: /var/folders/d8/yzcvyzzj127gtxvyss32gt7sn3vxlg/T/nexrender/GB7JVXnv3MvfyJ2zCB6s4/result.mp4
at ChildProcess. (/usr/local/lib/node_modules/@nexrender/cli/node_modules/@nexrender/core/src/tasks/render.js:318:31)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at Socket. (node:internal/child_process:450:11)
at Socket.emit (node:events:517:28)
at Pipe. (node:net:350:12)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at Socket. (node:internal/child_process:450:11)
at Socket.emit (node:events:517:28)
at Pipe. (node:net:350:12) {
code: 1,
killed: false,
signal: null,
cmd: 'nexrender-cli --file temp_config_v1.json'
}

Can you provide the full output from the cli, it looks like the render failed at some point (hence no mp4) but without seeing the output we'd not know why

Here it is:

C:\Users\abc\Desktop\nexrender>node render.js
Error: Command failed: nexrender-cli --file temp_config_v1.json > job rendering failed
Error: Couldn't find a result file: C:\Users\abc\AppData\Local\Temp\nexrender\SOpjBYnkEPDfoKX8ItKgy\result.mp4
at ChildProcess. (C:\Users\abc\AppData\Roaming\npm\node_modules@nexrender\cli\node_modules@nexrender\core\src\tasks\render.js:318:31)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket. (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe. (node:net:338:12)
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1,
killed: false,
signal: null,
cmd: 'nexrender-cli --file temp_config_v1.json'
}

Having the same issue on Macos 14.4.1, however, my issue is with nexrender-worker-macos but I assume it's the same underlying logic.

AE Version 24.4.1

I have read all previous threads pertaining to "Couldn't find a result file" and didn't find any solutions that worked.

I have tested the following on both 1.50.8 (latest) and 1.43.3 (randomly chosen older version):

  • Providing a new --workpath (did not help)
  • chmod +x has been ran on binary files nexrender-server-macos + nexrender-worker-macos
  • outputExt has been tested as mov, mp4 and avi
  • Moved files to a directory path containing no spaces
  • Tried renaming outputModule and settingsTemplate to contain no spaces
  • Output Module has been configured per readme instructions
  • chmod on the temp folder (just incase)

Opening the .aep manually works without issue.
Running aerender manually works without issue, even the full command to render a file, which it successfully completes.

The .log files are always empty for some reason.

Attached is tmp folder, please advise.

E3i1ug-lAWYZenVq8k2W_.zip

Have you tried this? https://github.com/inlife/nexrender?tab=readme-ov-file#after-effects-2023

Yes I have tried, I believe it should be visible in the provided aep