Skip to content

Command line utility for generating video contact sheets.

License

Notifications You must be signed in to change notification settings

korayeyinc/vcsgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcsgen

Command line utility for generating video contact sheets.

Usage

$ python3 vcsgen.py --help
usage: PROG [--help] [-i INPUT] [-w WIDTH] [-h HEIGHT] [-s START]
            [--freq FREQ] [--columns COLUMNS] [--rows ROWS] [--font FONT]
            [--color COLOR] [--header HEADER] [--tcode TCODE] [--logo LOGO]

optional arguments:
  --help                show this help message and exit
  -i INPUT, --input INPUT
                        Input file to be processed
  -w WIDTH, --width WIDTH
                        Snapshot width
  -h HEIGHT, --height HEIGHT
                        Snapshot height
  -s START, --start START
                        Snapshot start time
  --freq FREQ           Snapshot frequency in seconds
  --columns COLUMNS     Number of columns for video contact sheet generation
  --rows ROWS           Number of rows for video contact sheet generation
  --font FONT           TrueType or OpenType font path
  --color COLOR         Font color for both caption and time-code. See
                        'colors.txt' file for full list of color names
  --header HEADER       Font size for header
  --tcode TCODE         Font size for time-code
  --logo LOGO           Logo image path

Example

python3 vcsgen.py --input tests/data/videos/sintel.mp4 --logo tests/data/logo/logo.png --start 4 --freq 4 --rows 3 --columns 3

Image

Requirements

Python modules:

Installation

Debian/Ubuntu:

apt install python3-pil python3-vlc

Arch/Manjaro:

pacman -S python-pillow python-vlc

TODO

  • Write tests.
  • Add support for some kind of blank-scene detection.
  • Fix random delays appearing in time-codes.
  • Fix audio information in contact sheet header.

About

Command line utility for generating video contact sheets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages