混合器电源序列器渲染器
bpsrender的Python项目详细描述
这是一个standalone python package以及一个模块 在引擎盖下面用它来加速 上渲染VSE projects 通过在后台并行生成混合器进程。
安装
它可以作为独立的命令行实用程序via PiPy安装: pip install [--user] bpsrender。请注意 $HOME/.local/bin包含在$PATH环境变量中(on 如果要在本地安装实用程序(使用^{tt4})$ 当执行pip时。
用法
安装脚本后,通过编写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
外部依赖性
bpsrender需要
- blender
- ffmpeg
在$PATH环境变量中可用,以便工作。 如果bpsrender捕捉到缺少的依赖项,它将抛出 与此类似的消息错误:
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...
已知问题
- []ctrl-c中断使子进程在后台运行
- []ctrl-c中断尚未清除文件夹