Skip to main content

Python binding for av-scenechange

Project description

pyav_scenechage

Python binding for av-scenechange

Installtion

  1. Build wheel

    git clone https://codeberg.org/Khaoklong51/py_avscenechange.git
    cd py_avscenechange
    # for windows self build check build/windows folder
    # normal build
    python -m venv .venv # or uv venv if you have uv
    pip install maturin # or uv pip install maturin if you have uv
    maturin build --release
    
  2. Wheel files

    Windows Wheel file can be download at release section

    then install with pip or your prefered package manager

Usage

import pyav_scenechange
input_path = "test.mp4" # change this to your actual video path

print(pyav_scenechange.scene_detect(input_path).to_list())
# this will print list of scene chanage
# example: [0, 240, 366, 606, 671, 762, 829, 982, 1143, 
# 1219, 1303, 1380, 1423, 1468, 1492, 1561, 1623, 1671, 
# 1736, 1760, 1827, 1877, 2022, 2066, 2147, 2183]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyav_scenechange-0.1.1.tar.gz (36.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyav_scenechange-0.1.1-cp314-cp314-win_amd64.whl (11.3 MB view details)

Uploaded CPython 3.14Windows x86-64

pyav_scenechange-0.1.1-cp313-cp313-win_amd64.whl (12.8 MB view details)

Uploaded CPython 3.13Windows x86-64

File details

Details for the file pyav_scenechange-0.1.1.tar.gz.

File metadata

  • Download URL: pyav_scenechange-0.1.1.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyav_scenechange-0.1.1.tar.gz
Algorithm Hash digest
SHA256 169c8a441493198ca284ca1b56a84b74b94707cb08da3c35f8af036c423f44a6
MD5 47636f467a83f82287af9a670868f910
BLAKE2b-256 b3e02a0a21bffcac0291013661acef39257da787be5cc94f3cb7032537f8834f

See more details on using hashes here.

File details

Details for the file pyav_scenechange-0.1.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pyav_scenechange-0.1.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0d7a8fe25d276fb3d96ed6c97441a5da35a27bdecd6a871ec3d605d28c852003
MD5 d8f20f039e636e6eb4ac929eb51701b1
BLAKE2b-256 5bdf3749362f44a60b59225f210f71fa8a65ff09160662d8af513786d0890244

See more details on using hashes here.

File details

Details for the file pyav_scenechange-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyav_scenechange-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 97093b8e59d4ecfe7dcae44fe13424bfe408bc3a2892404f8edb7b7aef5e4407
MD5 850e2dce8ec68107763d1f4487008dfe
BLAKE2b-256 54285fd0d35cc05ce2824f7f566f4080e607afaa76b8236405e600012180fc62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page