https://github.com/Breakthrough/PySceneDetect
Raw File
Tip revision: 60971358da492c69e5493cf151597bdf00fd1eec authored by Breakthrough on 01 August 2018, 20:16:44 UTC
Modify SceneManager detect_scenes method to raise a ValueError if called with frame_skip != 0 and a valid StatsManager (frame_skip option is not supported when caching frames using a StatsManager).
Tip revision: 6097135
LICENSE
By downloading, copying, installing, or using this software, you agree
to the terms of this license, and those contained in the "Ancillary
Software Licenses" section below. If you do not agree to any of these
terms or licenses, do not download, install, copy, or use the software
or any other material included in in distribution.

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

                PySceneDetect License (BSD 2-Clause)
          < http://www.bcastell.com/projects/pyscenedetect >

Copyright (C) 2012-2017, Brandon Castellano.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

    1. Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above
       copyright notice, this list of conditions and the following
       disclaimer in the documentation and/or other materials 
       provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-----------------------------------------------------------------------
        
                   Ancillary Software Licenses

This software uses the following third-party open source libraries and
are released under the terms detailed below. By downloading, copying,
installing or using this software/tutorial, you agree to these terms.

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

> NumPy [Copyright (C) 2005-2016, Numpy Developers]:
    This software uses Numpy; see the LICENSE-NUMPY file
    or visit [ http://www.numpy.org/license.html ] for details.

> OpenCV [Copyright (C) 2017, Itseez]:
    This software uses OpenCV; see the LICENSE-OPENCV file
    or visit [ http://opencv.org/license.html ] for details.

> click [Copyright (C) 2017, Armin Ronacher]:
    This software uses OpenCV; see the LICENSE-CLICK file
    or visit [ http://click.pocoo.org/license/ ] for details.

> tqdm [Copyright (C) 2013-2018, Casper da Costa-Luis,
        Google Inc., and Noam Yorav-Raphael]:
    This software uses tqdm; see the LICENSE-TQDM file, or visit
    the following URL for details:
    [ https://raw.githubusercontent.com/tqdm/tqdm/master/LICENCE ]

> pytest [Copyright (C) 2004-2017, Holger Krekel and others]:
    This software uses pytest; see the LICENSE-PYTEST file, or visit
    [ https://docs.pytest.org/en/latest/license.html ] for details.

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

This software may also invoke mkvmerge or FFmpeg, if available.

FFmpeg is a trademark of Fabrice Bellard.
mkvmerge is Copyright (C) 2005-2016, Matroska.

Unlike the above software, neither mkvmerge nor FFmpeg is not distributed
with PySceneDetect, and requires manual installation in order to allow
for automatic video splitting capability. These programs can be obtained
from following URLs (note mkvmerge is a part of the MKVToolNix package):

    FFmpeg:   [ https://ffmpeg.org/download.html ]
    mkvmerge: [ https://mkvtoolnix.download/downloads.html ]

Once installed, ensure the program can be accessed system-wide by calling
the `mkvmerge` or `ffmpeg` command from a terminal/command prompt.
PySceneDetect will automatically use whichever program is available on
the computer, depending on the specified command-line options.

Additionally, certain Windows distributions may include a compiled
Python distribution. For license information regarding the distributed
version of Python, see the LICENSE files in the installation directory,
or visit the following URL: [ https://docs.python.org/3/license.html ]

back to top