amotl / vlctwist

VLM (VideoLAN Manager) configuration for twisting videos with VLC media player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vlctwist

About

Overlay videos with alpha compositing and rotation using VLM from VLC.

Getting started

Create and activate isolated python environment:

aptitude install python-virtualenv    # optional
virtualenv --no-site-packages .venv
. .venv/bin/activate

Install prerequisites:

easy_install pip              # optional
pip install -r requirements.txt
python setup.py develop

Standalone / client:

vlctwist --help
./vlctwist_example.sh

Daemon:

vlctwistd --help
vlctwistd

Issues

Debian:

# The required version of setuptools (>=0.6c9) is not available
easy_install -U setuptools

Ubuntu:

# zt.graphics.alpha   : INFO    : Create alpha mask image with size (320, 240)
# wsgiservice.resource: ERROR   : An exception occured while handling the request: encoder zip not available

# 1. setup dependencies
aptitude install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev

# 2. Install PIL with Jpeg support on Ubuntu Oneiric 64bit
# http://jj.isgeek.net/2011/09/install-pil-with-jpeg-support-on-ubuntu-oneiric-64bits/

ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
pip install --upgrade PIL

Development

Code style checks:

pip install pep8
pep8 --repeat src/

About

VLM (VideoLAN Manager) configuration for twisting videos with VLC media player

License:Other


Languages

Language:Python 98.4%Language:Shell 1.6%