Skip to main content

Blender Power Sequencer Renderer

Project description

This is a standalone python package as well as a module which is used under the hood in the Blender Power Sequencer add-on to speed up rendering VSE projects by spawning Blender processes in background in parallel.

image0

Install

It can be installed as a standalone command line utility via PiPy: pip install [--user] bpsrender. Note that you have to have $HOME/.local/bin included in your $PATH environment variable (on unix) if you’re going to install the utility locally (using --user when executing pip).

Usage

After installing the script, get help by writing bpsrender -h:

usage: bpsrender [-h] [-o OUTPUT] [-w WORKERS] [-v] [--dry-run] [-s START]
                 [-e END] [-m] [-c] [-d] [-j]
                 blendfile

Multi-process Blender VSE rendering - will attempt to create a folder called
`render` inside of the folder containing `blendfile`. Insider `render` another
folder called `parts` will be created for storing temporary files. These files
will be joined together as the last step to produce the final render which
will be stored inside `render` and it will have the same name as `blendfile`

positional arguments:
  blendfile             Blender project file to render.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output folder (will contain a `bpsrender` temp folder
                        forrendering parts).
  -w WORKERS, --workers WORKERS
                        Number of workers in the pool (for video rendering).
  -v, --verbose         Increase verbosity level (eg. -vvv).
  --dry-run             Run the script without actual rendering or creating
                        files and folders. For DEBUGGING purposes
  -s START, --start START
                        Start frame
  -e END, --end END     End frame
  -m, --mixdown-only    ONLY render the audio MIXDOWN
  -c, --concatenate-only
                        ONLY CONCATENATE the (already) available video chunks
  -d, --video-only      ONLY render the VIDEO (implies --concatenate-only).
  -j, --join-only       ONLY JOIN the mixdown with the video. This will
                        produce the final render

External Dependencies

BPSRender requires

  • blender

  • ffmpeg

to be available in the $PATH environment variable in order to work. In case BPSRender will catch a missing dependency it will throw a message error similar to this:

BPSRender couldn't find external dependencies:
[v] blender: /home/razvan/.local/bin/blender
[X] ffmpeg: NOT FOUND
Check if you have them properly installed and available in the PATH environemnt variable.
Exiting...

Known Issues

  • [ ] CTRL-C interrupt leaves subprocesses running in the background

  • [ ] CTRL-C interrupt doesn’t clean the folders yet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bpsrender-0.1.40.post2.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

bpsrender-0.1.40.post2-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file bpsrender-0.1.40.post2.tar.gz.

File metadata

  • Download URL: bpsrender-0.1.40.post2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for bpsrender-0.1.40.post2.tar.gz
Algorithm Hash digest
SHA256 048ff6f9ade005c396169bd3511ad84b7dfbe39a35f98cd42ac5782db0c74df8
MD5 03ddca693b8cb57cad2be4ae832d70bb
BLAKE2b-256 9fb1dbb257cb74374736fc259e6b5b32c3cb5333c147e3a2bfa15a5eb41e8428

See more details on using hashes here.

File details

Details for the file bpsrender-0.1.40.post2-py3-none-any.whl.

File metadata

  • Download URL: bpsrender-0.1.40.post2-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for bpsrender-0.1.40.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b92bbb25901e7d72fd72c6b7c05d427975807f46b1bfe8e26c05861b1c0952
MD5 439a45d637d9d60ceb068ab4312b428c
BLAKE2b-256 e707536601562442b1dc5aae71f0178f5d2f813b534c49f01ebddff8be17fa10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page