Skip to main content

Scene change detection for Vaopursynth

Project description

Zscene

ReadScene

core.zscene.ReadScenes(path=string, format=int)

Reads scene data from a given file. Adds the pertinent _SceneChangePrev and _SceneChangeNext properties to each frame.

Supported Formats

Format Format Code Description
JSON 0 JSON files produced by av-scenechange. The JSON must have the scene_changes and frame_count fields.
QP File 1 Text files with frame numbers listed on new lines. Often used with x264 or x265 and their --qpfile parameters. Scenes will be marked as scene changes if they have a K or I (but not i) frame type, or if the frame type is omitted completely.

Feel free to open an issue to request scene file formats.

Examples:

Scene File Generation

Scene data can be generated using something like the following:

vspipe -c y4m source.vpy - | av-scenechange -o scenes.json -

Note that av-scenechange can be built with Vapoursynth and FFMPEG support built in, so there are a variety of ways that it can be fed with video data. Choose what works best for you.

Ref: https://github.com/rust-av/av-scenechange

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

vapoursynth_zscene-0.5.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distributions

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

vapoursynth_zscene-0.5.0-py3-none-win_amd64.whl (456.3 kB view details)

Uploaded Python 3Windows x86-64

vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_x86_64.whl (326.0 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_aarch64.whl (108.6 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_x86_64.whl (329.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_aarch64.whl (109.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_x86_64.whl (92.6 kB view details)

Uploaded Python 3macOS 11.0+ x86-64

vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_arm64.whl (93.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file vapoursynth_zscene-0.5.0.tar.gz.

File metadata

  • Download URL: vapoursynth_zscene-0.5.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for vapoursynth_zscene-0.5.0.tar.gz
Algorithm Hash digest
SHA256 dc8545a8555c6c0ccd049971f0a969281ed730d31a1aded670c4dd4bc9e8c7ad
MD5 79dfc3909d7771b5e35cbc1a8faee5fb
BLAKE2b-256 6ded0feb672a5ff94cfd26ee3d14e107410b0115d31a63d5c407dad320e641f9

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0667f5ea7275be7285fce4f5c5d0c173c9ff65cbb64cc925c3a87b2bf441107d
MD5 608b1544fc67b5f63df9322af1e1035e
BLAKE2b-256 0a11f16dde1bebdc1911dd7658eed5c98322de8d657e39f03e97a56cb7bd58c8

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 370dad3c0245c13dba7eb56a3b1f21f4e66adf088a0f467702d343781145ba50
MD5 a91833631c86a408611679739178a92f
BLAKE2b-256 7c6cdd5e3fe12de38cbe242d33e44240271d430e17efa05202ce185daaf04363

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d3533fea03037adcb43ab19830553d735098e40f6baeed97be5fa49ee2747a11
MD5 888adcb078c00e8b9815231fd46413f0
BLAKE2b-256 3dea91f7b949ab3d865cfa61e4947b12d93c2eeaad9cdee1cac7506a4dc645c4

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ff195153d1e9e318a030e413f66bc15bfa2eae54f52556e4330f0ebf759f1d8f
MD5 ec38c5875acdd79f21f9020bf1da08c7
BLAKE2b-256 3748b7a9ef178e5b25fd84f15792a9ebe947911beef05f11ffe157953d5edb9b

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 b4f435624ee6e123c9cf8ff1034d5cbb11f506348e1864f6e090a478eb430482
MD5 892dc904ca7897484583c96c3b72736b
BLAKE2b-256 c70acdb17072ae62f67aceccaf7f881b9da2bf0ecf08f1628eaa09fd14adb503

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 08bc13ed94ac5ee18a7dec530813f1f9d4233c787e12fc174aab879e3ced6692
MD5 b21514aae923ce44dac67b57e7bc0d0e
BLAKE2b-256 3ed60c22eb0e30cdb6a24728d0ab7e1034345f27f3c0724c0f95ee01b595fd31

See more details on using hashes here.

File details

Details for the file vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 80c287940220980548fbd474b95ccd50c9a7ebafa49b9429fcc08e68fa2667d5
MD5 3f8910e0e3b3a84587aace9d48008565
BLAKE2b-256 d43405dd1678083d5a5ed4a9affc3e376e5f7d1f8bb7c3af3c89d9d4a62f2e52

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