sciactive / pulverize

A multi-process rendering script for Blender VSE.
GNU General Public License v2.0
60 stars 13 forks source link

The file are not well established in linux #7

Open andrew-bydlon opened 7 years ago

andrew-bydlon commented 7 years ago

I like the idea of this program, as it resolves my main issue with blender on a 16 thread CPU. However, currently I manually concatenate the files after the render phase.

I am on Arch Linux with everything currently up to date.

The issues so far that I encounter are as follows:

Here is the output:

BlenderEdits/pulverize/pulverize.php BlenderEdits/LakeProject.blend 16 Pulverize - A multi-process rendering script for Blender VSE. Version 1.1 Copyright 2017 Hunter Perrin Licensed under GPL, just like Blender. PHP Warning: Invalid argument supplied for foreach() in /home/andrew/BlenderEdits/pulverize/pulverize.php on line 103

It looks like your machine has 16 logical processor(s). The default is to use half the number of logical processors reported by the system, with a max of 6.

Read from Blender file -- startFrame: 1 endFrame: 2838 outputDir: /home/andrew/BlenderEdits

Calculated these values for render -- frameLength: 2838 processCount: 16 processFrameCount: 177 remainderFrames: 6

Each process will render 177 frames, except the last will render an extra 6 frame(s).

####################################################################################################################################

Step 1/2 Rendering with Blender

####################################################################################################################################

Progress: 2838 / 2838 frames, 100.00% Elapsed time: 0:02:38, Remaining time: 0:00:00 ===================================================================================================================================>

####################################################################################################################################

Step 2/2 Concatinating videos with FFMPEG

####################################################################################################################################

ls: cannot access 'pulverizeframes*': No such file or directory PHP Notice: Undefined offset: 1 in /home/andrew/BlenderEdits/pulverize/pulverize.php on line 226 $ ffmpeg -v error -y -stats -f concat -i pulverize_input_files.txt -c copy 0000001-0002838. [concat @ 0x561aceabe5e0] Impossible to open '' pulverize_input_files.txt: No such file or directory

Removing temporary video files... PHP Warning: unlink(/home/andrew/BlenderEdits/): Is a directory in /home/andrew/BlenderEdits/pulverize/pulverize.php on line 239

####################################################################################################################################

All done!

####################################################################################################################################

Total time: 0:02:38 Blender time: 0:40:52

You saved this much time by running this script instead of rendering directly from Blender's VSE: 0:38:14

hperrin commented 6 years ago

It will output files wherever your project file is set up to output, so check and make sure you have an output directory. Let me know if you're still seeing a problem.