Skip to content

Commit

Permalink
Prepare v0.3.6 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakthrough committed Jan 12, 2017
1 parent 24b2e78 commit b5f24d2
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 32 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,25 @@ Video Scene Cut Detection and Analysis Tool

[![Documentation Status](https://readthedocs.org/projects/pyscenedetect/badge/?version=latest)](http://pyscenedetect.readthedocs.org/en/latest/?badge=latest) [![PyPI Status](https://img.shields.io/pypi/status/PySceneDetect.svg)](https://pypi.python.org/pypi/PySceneDetect/) [![PyPI Version](https://img.shields.io/pypi/v/PySceneDetect.svg)](https://pypi.python.org/pypi/PySceneDetect/) [![PyPI License](https://img.shields.io/pypi/l/PySceneDetect.svg)](http://pyscenedetect.readthedocs.org/en/latest/copyright/)

### Latest Release: v0.3.5 (August 2, 2016)

**New**: Releases now include a stand-alone/portable version, for Windows users without a Python environment, or for those who prefer a dedicated executable/release (*64-bit only!*). Grab it from [the Releases page](https://github.com/Breakthrough/PySceneDetect/releases) (standalone releases end in `-win64.zip`). Note that this is not an installer, so you need to add the folder to your `%PATH%` environment variable if you want to run the `scenedetect` command from any given working directory.
### Latest Release: v0.3.6 (January 12, 2016)

**New**: There is now an installer for Windows that automatically installs all dependencies and the `scenedetect` command system wide (64-bit only currently). This is the recommended installation method for Windows users now, and it can be found on [the Releases page](https://github.com/Breakthrough/PySceneDetect/releases). The Windows builds do not require an existing Python environment, nor any other prerequisites. There is also a portable .zip version available.

It is still recommended that both Linux and Mac users download the source distribution, following the installation instructions below.

--------

Quick install; requires `numpy` and Python OpenCV `cv2` module, see [getting started guide](http://pyscenedetect.readthedocs.org/en/latest/examples/usage/) after install:
Quick install; requires `numpy` and Python OpenCV `cv2` module, see [getting started guide](http://pyscenedetect.readthedocs.org/en/latest/examples/usage/) after install. After installing the prerequisites, download the latest source distribution from [the Releases page](https://github.com/Breakthrough/PySceneDetect/releases), extract the archive, and in a terminal/command prompt in the location of the extracted files, run:

sudo pip install pyscenedetect
sudo python setup.py install

Updating existing install (the last option makes sure *only* PySceneDetect is updated if you installed the other modules without pip):
To test if you have the required prerequisites, open a `python` prompt, and run the following:

sudo pip install pyscenedetect --upgrade --no-dependencies
import numpy
import cv2

See [the new `USAGE.md` file](https://github.com/Breakthrough/PySceneDetect/blob/master/USAGE.md) for details on the new detection modes, default values/thresholds to try, and how to effectively choose the optimal detection parameters. Full documentation for PySceneDetect can be found on Readthedocs at http://pyscenedetect.readthedocs.org/
If both of those commands execute without any problems, you should be able to install PySceneDetect without any issues. See [the new `USAGE.md` file](https://github.com/Breakthrough/PySceneDetect/blob/master/USAGE.md) for details on the new detection modes, default values/thresholds to try, and how to effectively choose the optimal detection parameters. Full documentation for PySceneDetect can be found on Readthedocs at http://pyscenedetect.readthedocs.org/

----------------------------------------------------------

Expand All @@ -36,13 +40,13 @@ Note that PySceneDetect is currently in beta; see Current Features & Roadmap bel
Download & Installation
----------------------------------------------------------

**Downloading:** The latest version of PySceneDetect (`v0.3.5`) can be [downloaded here](https://github.com/Breakthrough/PySceneDetect/releases); to run it, you will need:
**Downloading:** The latest version of PySceneDetect (`v0.3.6`) can be [downloaded here](https://github.com/Breakthrough/PySceneDetect/releases); to run it, you will need:

- [Python 2 / 3](https://www.python.org/) (tested on 2.7.X, untested but should work on 3.X)
- OpenCV Python Module (usually found in Linux package repos as `python-opencv`, Windows users can find [prebuilt binaries for Python 2.7 here](http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv))
- [Numpy](http://sourceforge.net/projects/numpy/)

More complete documentation and installation instructions can be [found on Readthedocs](http://pyscenedetect.readthedocs.org/en/latest/download/), including a detailed guide on how to install the above dependencies.
More complete documentation and installation instructions can be [found on Readthedocs](http://pyscenedetect.readthedocs.org/en/latest/download/), including a detailed guide on how to install the above dependencies. Note that in some cases the Windows version may require an additional `opencv_ffmpeg.dll` file for the specific version of OpenCV installed.

To ensure you have all the system requirements installed, open a `python` interpreter/REPL, and ensure you can `import numpy` and `import cv2` without any errors. You can download a test video and view the expected output [from the resources branch](https://github.com/Breakthrough/PySceneDetect/tree/resources/tests) (see the end of the Usage section below for details).

Expand Down
8 changes: 3 additions & 5 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
PySceneDetect Changelog
==========================================================

### 0.4-dev (In Development)
### 0.3.6 (January 12, 2017) &nbsp;<span class="fa fa-tags"></span>

* major release, includes new motion detection algorithm and updated internal structure to allow for sparse scene detection algorithms
* [enhance] speed improvement when using `--frameskip` option
* [internal] moved application state and shared objects to a consistent interface (the `SceneManager` object) to greatly reduce the number of required arguments for certain API functions
* [WIP] [feature] added new motion detection algorithm (`-d motion`) for extracting parts of a static scene that contain motion above a certain threshold (e.g. security camera footage)
* [WIP] [internal] changed scene time structure to allow for non-contiguous outputs, to support a wider variety of detection algorithms/methods (e.g. motion detection)
* [enhance] added installer for Windows builds (64-bit only currently)


### 0.3.5 (August 2, 2016) &nbsp;<span class="fa fa-tags"></span>
### 0.3.5 (August 2, 2016)

* [enhance] initial release of portable build for Windows (64-bit only), including all dependencies
* [bugfix] fix unrelated exception thrown when video could not be loaded
Expand Down
26 changes: 13 additions & 13 deletions docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ PySceneDetect is completely free software, and can be downloaded from the links

## Download

### PyPI (All Platforms, Requires `pip`)
### Windows Build (64-bit Only) &nbsp; <span class="wy-text-neutral"><span class="fa fa-windows"></span></span>

Start by ensuring you have downloaded and installed all of the [system requirements](#installing-dependencies) (specifically the Python OpenCV `cv2` module). Once this is done, you can get the latest version of [PySceneDetect on the Python Package Index](https://pypi.python.org/pypi/PySceneDetect) by running the following command:

```md
sudo pip install pyscenedetect
```
<div class="important">
<h3 class="wy-text-neutral"><span class="fa fa-forward wy-text-info"></span> Latest Release: <b class="wy-text-neutral">v0.3.6</b></h3>
<h4 class="wy-text-neutral"><span class="fa fa-calendar wy-text-info"></span>&nbsp; Release Date:&nbsp; <b>January 12, 2017</b></h4>
<a href="https://github.com/Breakthrough/PySceneDetect/releases/download/v0.3.6/PySceneDetect-0.3.6-win64.msi" class="btn btn-success" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Installer</b>&nbsp;&nbsp;(recommended)</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="https://github.com/Breakthrough/PySceneDetect/releases/download/v0.3.6/PySceneDetect-0.3.6-win64-portable.zip" class="btn btn-success" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Portable</b>&nbsp;&nbsp;.zip</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="../examples/usage/" class="btn btn-danger" style="margin-bottom:8px;" role="button"><span class="fa fa-book"></span>&nbsp; <b>Getting Started</b></a>
</div>

After installation, you can call PySceneDetect from any terminal/command prompt by typing `scenedetect` (try running `scenedetect --version` to verify that everything was installed correctly). Alternatively, you can install PySceneDetect from the source archives below.
The Windows distribution of PySceneDetect is bundled with all required dependencies. After installation, you can call PySceneDetect from any terminal/command prompt by typing `scenedetect`. Open a new command prompt (`cmd.exe`) and try running `scenedetect --version` to verify that everything was installed correctly. If using the portable distribution, you need to run the command from the location of the extracted files.


<h3>Source (All Platforms) &nbsp; <span class="wy-text-neutral"><span class="fa fa-windows"></span> &nbsp; <span class="fa fa-linux"></span> &nbsp; <span class="fa fa-apple"></span></span></h3>
### Source (All Platforms, Requires Python) &nbsp; <span class="wy-text-neutral"><span class="fa fa-windows"></span> &nbsp; <span class="fa fa-linux"></span> &nbsp; <span class="fa fa-apple"></span></span></h3>

<div class="important">
<h3 class="wy-text-neutral"><span class="fa fa-forward wy-text-info"></span> Latest Release: <b class="wy-text-neutral">v0.3.5</b></h3>
<h4 class="wy-text-neutral"><span class="fa fa-calendar wy-text-info"></span>&nbsp; Release Date:&nbsp; <b>August 2, 2016</b></h4>
<a href="https://github.com/Breakthrough/PySceneDetect/archive/v0.3.5.zip" class="btn btn-info" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Download</b>&nbsp;&nbsp;.zip</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="https://github.com/Breakthrough/PySceneDetect/archive/v0.3.5.tar.gz" class="btn btn-info" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Download</b>&nbsp;&nbsp;.tar.gz</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="#installation" class="btn btn-warning" style="margin-bottom:8px;" role="button"><span class="fa fa-gear"></span>&nbsp; <b>Installation</b></a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="../examples/usage/" class="btn btn-danger" style="margin-bottom:8px;" role="button"><span class="fa fa-book"></span>&nbsp; <b>Getting Started</b></a>
<h3 class="wy-text-neutral"><span class="fa fa-forward wy-text-info"></span> Latest Release: <b class="wy-text-neutral">v0.3.6</b></h3>
<h4 class="wy-text-neutral"><span class="fa fa-calendar wy-text-info"></span>&nbsp; Release Date:&nbsp; <b>January 12, 2017</b></h4>
<a href="https://github.com/Breakthrough/PySceneDetect/archive/v0.3.6.zip" class="btn btn-info" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Source</b>&nbsp;&nbsp;.zip</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="https://github.com/Breakthrough/PySceneDetect/archive/v0.3.6.tar.gz" class="btn btn-info" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Source</b>&nbsp;&nbsp;.tar.gz</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="#installation" class="btn btn-warning" style="margin-bottom:8px;" role="button"><span class="fa fa-gear"></span>&nbsp; <b>Installation</b></a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="../examples/usage/" class="btn btn-danger" style="margin-bottom:8px;" role="button"><span class="fa fa-book"></span>&nbsp; <b>Getting Started</b></a>
</div>

Once you've downloaded the source archive, extract it to a location of your choice, and make sure you have the appropriate [system requirements](#installing-dependencies) installed before continuing. PySceneDetect can be installed by running the following command in the location of the extracted files:
Expand Down Expand Up @@ -52,8 +52,8 @@ PySceneDetect requires [Python 2 or 3](https://www.python.org/) (tested on 2.7.X
You can [click here](http://breakthrough.github.io/Installing-OpenCV/) for a quick guide (OpenCV + Numpy on Windows & Linux) on installing the latest versions of OpenCV/Numpy on [Windows (using pre-built binaries)](http://breakthrough.github.io/Installing-OpenCV/#installing-on-windows-pre-built-binaries) and [Linux (compiling from source)](http://breakthrough.github.io/Installing-OpenCV/#installing-on-linux-compiling-from-source). If the Python module that comes with OpenCV on Windows is incompatible with your system architecture or Python version, [see this page](http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv) to obtain a pre-compiled (unofficial) module.

Note that some Linux package managers still provide older, dated builds of OpenCV (pre-3.0). PySceneDetect is compatible with both versions, but if you want to ensure you have the latest version, it's recommended that you [build and install OpenCV from source](http://breakthrough.github.io/Installing-OpenCV/#installing-on-linux-compiling-from-source) on Linux.

To ensure you have all the requirements installed, open a `python` interpreter, and ensure you can run `import numpy` and `import cv2` without any errors. Once this is done, you're ready to instalL PySceneDetect!

To ensure you have all the requirements installed, open a `python` interpreter, and ensure you can run `import numpy` and `import cv2` without any errors. Once this is done, you're ready to install PySceneDetect.


### Installing PySceneDetect
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 class="wy-text-neutral">PySceneDetect &nbsp;<span class="fa fa-film wy-text-info"></span></h1>

<div class="important">
<h3 class="wy-text-neutral"><span class="fa fa-info-circle wy-text-info"></span>&nbsp; Latest Release: <b>v0.3.5</b> (August 2, 2016)</h3>
<h3 class="wy-text-neutral"><span class="fa fa-info-circle wy-text-info"></span>&nbsp; Latest Release: <b>v0.3.6</b> (January 12, 2017)</h3>
<a href="download/" class="btn btn-success" style="margin-bottom:8px;" role="button"><span class="fa fa-download"></span>&nbsp; <b>Download</b></a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="changelog/" class="btn btn-info" style="margin-bottom:8px;" role="button"><span class="fa fa-reorder"></span>&nbsp; <b>Changelog</b></a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="download/#installation" class="btn btn-warning" style="margin-bottom:8px;" role="button"><span class="fa fa-gear"></span>&nbsp; <b>Installation</b></a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="examples/usage/" class="btn btn-danger" style="margin-bottom:8px;" role="button"><span class="fa fa-book"></span>&nbsp; <b>Getting Started</b></a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion scenedetect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@


# Used for module identification and when printing copyright & version info.
__version__ = 'v0.4-dev'
__version__ = 'v0.3.6'

# About & copyright message string shown for the -v / --version CLI argument.
ABOUT_STRING = """----------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_requires():

setup(
name='PySceneDetect',
version='0.3.4',
version='0.3.6',
description="A cross-platform, OpenCV-based video scene detection program and Python library. ",
long_description=open('package-info.rst').read(),
author='Brandon Castellano',
Expand Down Expand Up @@ -52,11 +52,11 @@ def get_requires():
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Multimedia :: Video',
'Topic :: Multimedia :: Video :: Conversion',
'Topic :: Multimedia :: Video :: Non-Linear Editor',
Expand Down

0 comments on commit b5f24d2

Please sign in to comment.