-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Bug): Natron command line tries to render zero frame only #864
Comments
@bazhutkin can you please attach exr_to_mov.ntp and exr_to_mov.py? |
@devernay, if you need a working solution, then here are the files: |
@rodlie do you have some time to take a look at this one? |
I can't repro the error... I though this error would be due to bad handling of either the project range or the Read node range, but I didn't manage to make it fail either way. |
@devernay, I misunderstood you, since you asked for a Python-file as well. |
|
lenaguje a español solo español por fabor la interfas es aburrida en ingles |
compilen en español |
Make sure to follow our issue report guidelines
Natron version
2.5
Operating system
Windows 10
System specs
No response
Did you install Natron using the official installer?
Custom installation path
No response
What were you trying to do?
I tried to run render from the command line using a prebuilt build. But Natron tries to read the zero frame instead of the right one.
In my ntp-file, the Reed and Wright nodes are already created, but without specifying the paths.
When executing a command like this:
NatronRenderer C:/Users/user/Documents/exr_to_mov.ntp -i Read //storage/test/ep001_sc001/ep001_sc001.####.exr -w Write //storage/test/mov/ep001_sc003.mov 10-20
An error is thrown:
Persistent message: //storage/test/ep001_sc001/ep001_sc001.0000.exr: Cannot load frame
If you create a zero frame ep001_sc001.0000.exr from the first one, then there is no error, but in the resulting movie all frames will be from the zero frame.
What did you expect to happen? What happened instead?
I found a way how to solve the problem. I made a script exr_to_mov.py with the following code:
And running this command everything rendered correctly:
NatronRenderer C:/Users/user/Documents/exr_to_mov.py -c "readFileName=\"//storage/test/ep001_sc001/ep001_sc001.####.exr\"" 1-10
This decision completely suits me, and I will transfer the calculation of the path for the output movie to the script.
But I decided to report this problem, since all the options for starting the render with a pre-created Read-node, Natron tried to render a zero frame. Only the command app.createReader(readFileName) creates a normally working Read-node.
Step-by-step reproduction instructions
Additional details
No response
The text was updated successfully, but these errors were encountered: