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.post1.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bpsrender-0.1.40.post1.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.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.1

File hashes

Hashes for bpsrender-0.1.40.post1.tar.gz
Algorithm Hash digest
SHA256 dc779df223c1c7c55d8c1840e5aae4796fb552c6ab0797716f667109fa683565
MD5 e78563e9a7fbc3dac7b012a44cf5bdb1
BLAKE2b-256 c1b82bd6d2199cf96266162a36f2c4bbc218715dafd4bc9c06aceee015565fe1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bpsrender-0.1.40.post1-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.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.1

File hashes

Hashes for bpsrender-0.1.40.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b7ad272a9cb186fa0c02bae1e2567152ff0800b3e6bcf977ca73f1fc736f4a7
MD5 c1959967f19e7ec3a651fabb605e0ba6
BLAKE2b-256 bb337f6012d16144fda60a757df3153624650d31f968f60661603ecb5e1be29a

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