The file are not well established in linux #7

Closed
opened 2017-08-19 20:57:24 -07:00 by andrew-bydlon · 2 comments
andrew-bydlon commented 2017-08-19 20:57:24 -07:00 (Migrated from github.com)

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:

  • All of the files are placed in my home directory (instead of where the project is placed), and are not removed afterwards.
  • The automatic concat phase fails dramatically because of the previous issue.

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 'pulverize_frames_*': 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

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: - All of the files are placed in my home directory (instead of where the project is placed), and are not removed afterwards. - The automatic concat phase fails dramatically because of the previous issue. 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 'pulverize_frames_*': 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 2018-02-05 11:02:11 -08:00 (Migrated from github.com)

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.

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.
hperrin commented 2026-03-31 09:00:23 -07:00 (Migrated from github.com)

Fixed in latest merge.

Fixed in latest merge.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sciactive/pulverize#7
No description provided.