Skip to main content

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

Metadata

Release files for vapoursynth-zscene 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapoursynth-zscene 0.5.0
File Size Uploaded
vapoursynth_zscene-0.5.0.tar.gz 9.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-zscene 0.5.0
File
vapoursynth_zscene-0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details
vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 1.5 MB

Release files / vapoursynth_zscene-0.5.0.tar.gz

Download URL vapoursynth_zscene-0.5.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc8545a8555c6c0ccd049971f0a969281ed730d31a1aded670c4dd4bc9e8c7ad
BLAKE2b-256 checksum
How to use checksums
6ded0feb672a5ff94cfd26ee3d14e107410b0115d31a63d5c407dad320e641f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-win_amd64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-win_amd64.whl
Size 456.3 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0667f5ea7275be7285fce4f5c5d0c173c9ff65cbb64cc925c3a87b2bf441107d
BLAKE2b-256 checksum
How to use checksums
0a11f16dde1bebdc1911dd7658eed5c98322de8d657e39f03e97a56cb7bd58c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_x86_64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Size 326.0 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
370dad3c0245c13dba7eb56a3b1f21f4e66adf088a0f467702d343781145ba50
BLAKE2b-256 checksum
How to use checksums
7c6cdd5e3fe12de38cbe242d33e44240271d430e17efa05202ce185daaf04363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_aarch64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Size 108.6 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d3533fea03037adcb43ab19830553d735098e40f6baeed97be5fa49ee2747a11
BLAKE2b-256 checksum
How to use checksums
3dea91f7b949ab3d865cfa61e4947b12d93c2eeaad9cdee1cac7506a4dc645c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_x86_64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_x86_64.whl
Size 329.4 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ff195153d1e9e318a030e413f66bc15bfa2eae54f52556e4330f0ebf759f1d8f
BLAKE2b-256 checksum
How to use checksums
3748b7a9ef178e5b25fd84f15792a9ebe947911beef05f11ffe157953d5edb9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_aarch64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-manylinux_2_17_aarch64.whl
Size 109.7 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b4f435624ee6e123c9cf8ff1034d5cbb11f506348e1864f6e090a478eb430482
BLAKE2b-256 checksum
How to use checksums
c70acdb17072ae62f67aceccaf7f881b9da2bf0ecf08f1628eaa09fd14adb503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_x86_64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_x86_64.whl
Size 92.6 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
08bc13ed94ac5ee18a7dec530813f1f9d4233c787e12fc174aab879e3ced6692
BLAKE2b-256 checksum
How to use checksums
3ed60c22eb0e30cdb6a24728d0ab7e1034345f27f3c0724c0f95ee01b595fd31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_arm64.whl

Download URL vapoursynth_zscene-0.5.0-py3-none-macosx_11_0_arm64.whl
Size 93.8 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
80c287940220980548fbd474b95ccd50c9a7ebafa49b9429fcc08e68fa2667d5
BLAKE2b-256 checksum
How to use checksums
d43405dd1678083d5a5ed4a9affc3e376e5f7d1f8bb7c3af3c89d9d4a62f2e52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.5.0 This release

8 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page