Skip to content
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

The file are not well established in linux #7

Open
andrew-bydlon opened this issue Aug 20, 2017 · 1 comment
Open

The file are not well established in linux #7

andrew-bydlon opened this issue Aug 20, 2017 · 1 comment

Comments

@andrew-bydlon
Copy link

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
Copy link
Member

hperrin commented Feb 5, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants