Skip to main content

The video component of the Signbank app

Project description

The video component of the Signbank app


The full documentation is at


Install signbank-video:

pip install signbank-video

Then use it in a project:

import video

You must define the following variables in

  • FFMPEG_PROGRAM = "/usr/bin/ffmpeg


  • FFMPEG_OPTIONS = ["-vcodec", "h264", "-an"]

  • VIDEO_ASPECT_RATIO = 3.0/4.0

These variables control ffmpeg, a program that the video app requires and uses for extracting a frame from a video (a frame is a thumbnail). You can download it here: The value of FFMPEG_PROGRAM on my system is /usr/bin/ffmpeg, but on your system it might be different; it all depends on where the installer puts the ffmpeg executable.

Your must also define these following variables in



  • MEDIA_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), media)

MEDIA_ROOT is the root directory for your media, so for the video app it’s the root directory for all of the videos. VIDEO_UPLOAD_LOCATION, and GLOSS_VIDEO_DIRECTORY are directories inside of MEDIA_ROOT that contain user uploaded videos, and videos of each sign, respectively.

You must also define these following variables in

  • LANGUAGE_NAME = "Auslan"

  • COUNTRY_NAME = "Australia"

  • SITE_TITLE = "Signbank"

Finally, you must also add video to the INSTALLED_APPS variable of


  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ python


Tools used in rendering this package:


1.10 (2016-09-20)

  • First release on PyPI.

Project details

Release history Release notifications | RSS feed

This version


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