Customizable video storyboard generator with metadata report
Main documentation on Read the Docs: https://storyboard.readthedocs.io
Caution: Development has been deferred indefinitely as of July 23, 2015. However, contributions are welcome, and the maintainer will review pull requests in a timely manner.
storyboard is an FFmpeg-based customizable video storyboard generator with metadata reporting directly embedded in the generated images. Reported metadata fields include, but are not limited to, title, filename, file size, SHA-1 digest, container format, duration, pixel dimension, display aspect ratio (DAR), scan type (progressive, interlaced, or telecined), frame rate, and per-stream metadata (type, codec, profile, dimensions, bitrate, etc.). Scroll down for a few sample storyboards.
Note that this README only provides an overview and summary of the topics listed below. For more details, follow the main article link in each section.
Structure of this document
- Installation and dependencies
- Command-line usage
- Sample storyboards
Main article: https://storyboard.readthedocs.io/en/latest/index.html
storyboard was inspired by the storyboards I frequently encounter on video-sharing Internet forums, mostly generated by proprietary video players. Those storyboards often come with video/file metadata bundled, which I see as a great all-in-one solution for video sharing, saving one the labor of typing multiple console commands, copying and pasting output, and worrying about the forum’s crappy formatting. However, I, for one, dislike proprietary players. Also, those storyboards are usually ugly and uninformative, using stupid fonts and lacking crucial information that hackers look for (e.g., hash). Therefore, I developed this customizable storyboard generator for hackers.
Installation and dependencies
Main article: https://storyboard.readthedocs.io/en/latest/install.html
- FFmpeg. Check the official downloads page for installation options. On OS X you may install FFmpeg via Homebrew or MacPorts. The former is recommended.
- Pillow. This dependency will be picked up by pip when you install storyboard, but you also have to satisfy the external dependencies, especially libjpeg and libfreetype. See the official installation guide for details. (Satisfying external dependencies is very important on Linux, where no wheel distribution is provided on PyPI.)
End users should use pip:
pip install storyboard
Developers should clone the git repo for docs, tests, and more.
Main article: https://storyboard.readthedocs.io/en/latest/cli.html
This package installs two console scripts, metadata and storyboard. You may find documentation of both using the -h,--help option. Extensive documentation is also available for both:
By the way, the default invocation is really simple (for both): just supply one or more video paths.
Main article: https://storyboard.readthedocs.io/en/latest/sample.html
Main article: https://storyboard.readthedocs.io/en/latest/issue.html
Please use the GitHub issue tracker: https://github.com/zmwangx/storyboard/issues.
- CJK support in filename and title? In short, no.
- Found a codec you need that has no binding in metadata.py and leads to stupid output? File an issue or open a pull request. Please link a sample file if it is not commonly seen and cannot be encoded by FFmpeg.
- ffprobe might report the wrong duration for certain VOB or other videos, which screws up the whole thing. As a fallback, you can use the option --video-duration of storyboard. Note however that this option is extremely slow, and improving it is on my list.
This package comes with SourceCodePro-Regular.otf as the default font, which is subject to the license of the Source Code Pro font family. See LICENSE.txt for details.
Source code in this package is released under the MIT license.
- Add audio sample rate and channel layout to metadata.
- Support Pillow 4.2.0+.
- Add total bit rate field to metadata.
- Upcase SHA-1 checksum in metadata;
- Add more codecs.
- Support metadata tag TITLE;
- Refresh badges;
- Add notice about ceased development.
- Better link to the project: git.io/storyboard
- More lenient Unicode decoder
- Added CPython classifier to metadata (previously I added the PyPy classifier but took CPython for granted)
- Officially added support for PyPy2 and PyPy3 (although PyPy, especially PyPy2, is slower than CPython in this case)
- A few extremely minor bug fixes and improvements; nothing changed from a user’s perspective
Hey, the stable is here!
- Completed documentation: https://storyboard.readthedocs.io
- Added --include-sha1sum option to console script storyboard (useful when SHA-1 digest is disabled from config file)
- Fixed frame extraction when video duration is missing or wrong in container metadata
- CLI overhaul (be sure to check out the CLI reference); the CLI is stable now
- Greatly improved docs (not finished yet, will be completed before the soon-to-be-released 0.1)
- Completely refactored API (API is much more extensible now, and should be relatively stable from this point onward, at least until 0.1 stable)
- Almost complete rewrite under the hood – everything should be much more robust now
- Support more formats and codecs, improve handling of existing formats and codecs
- Much better error handling in many places (e.g., when duration is unavailable, it is just marked as unavailable in the output, rather than throws)
- Upped the game for several orders of maginitude on the doc side – now you can build beautiful autodocs (I’ve yet to construct the manual part of the docs, so I won’t release the docs to RTD or pythonhosted.org just yet)
- Integrated with Travis (Ubuntu), AppVeyor (Windows), Coveralls.io (web interface for coverage), and Landscape.io (Python code quality check – basically linter as a CI) to ensure code quality
- Improved error handling at various places
- Wrote a test suite (and successfully tested on Ubuntu 14.04 LTS)
- Reimplement scan type detection (now much more robust, and able to detect telecine)
- Tested on Windows 8.1, and fixed progress bar printing issue within cmd.exe and PowerShell (see #14)
- Print progress information to console
- Version info included in banner
- Initial release
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|storyboard-0.1.9-py2.py3-none-any.whl (100.5 kB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|storyboard-0.1.9.tar.gz (97.8 kB) Copy SHA256 hash SHA256||Source||None|