Code Monkey home page Code Monkey logo

pkvid's Introduction

PKVid

This is a Python package intended to help with automation of video editing.

See the docs site at docs.pkvid.pagekey.io.

Getting Started

  1. Build the Docker image. It will take a while. Final image will be huge, ~10-15 GB.
docker-compose build
  1. Install the helper script.
sudo ./scripts/install.sh
  1. Run pkvid in a directory with pkvid.yaml.
cd your-project
pkvid

Developer Instructions

Run the test suite:

docker-compose run dev pytest

Run integration test:

docker-compose run dev pkvid test/integration/pkvid.yaml

Get a shell:

docker-compose run dev bash

Usage without Docker (Not Recommended)

These are old guides - leaving them here in case they're useful at some point.

Installation Guide

This package is not meant to be installed in a regular Python environment. Instead, you must install it from the Python that is embedded in Blender.

  1. Find the path to Blender's embedded Python.
cd $(dirname $(which blender))
ls

In my case, I was able to find it at the following path: /opt/blender/blender-3.1.2-linux-x64/3.1/python/bin/python3.10

Let's save this path for use in later steps.

# replace with the path you found:
export BLENDER_PYTHON=/opt/blender/blender-3.1.2-linux-x64/3.1/python/bin/python3.10
  1. Ensure that pip is installed.
$BLENDER_PYTHON -m ensurepip
$BLENDER_PYTHON -m pip install --upgrade pip
  1. Install pkvid from pypi.
$BLENDER_PYTHON -m pip install pkvid

Development Install

Same process, but for the last step, run this instead:

$BLENDER_PYTHON -m pip install -e .

Example Run Command

blender -b -P pkvid/__main__.py test/sample_config.json 

Refernces

Building Blender from scratch:

pkvid's People

Contributors

stephengrice avatar semantic-release-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.