Skip to main content

Boombox SDK for Python

Project description

boombox_transparent

Boombox is a high-level tool for audio & video streaming based on Membrane Framework. It's built for easy transformations between any popular media formats - containers and streaming protocols alike.

You can also use it as a bridge between Python code and external media, allowing for seamless integration with AI pipelines and other projects that interact with raw media streams directly.

To see examples and demos see the examples directory.

Installation

The package is available on PyPI and can be downloaded with pip:

pip install boomboxlib

Because of some reliance on native libraries for encoding and decoding, the package is available for the following platforms:

  • MacOS on ARM architecture
  • Linux on x86 architecture
  • Linux on ARM architecture

Example usage

The following example will read the MP4 file from the provided URL, flip the video and save it to output.mp4

boombox1 = Boombox(
input="https://raw.githubusercontent.com/membraneframework/static/gh-pages/samples/big-buck-bunny/bun33s.mp4",
output=Array(video=True, audio=True),
)
boombox2 = Boombox(input=Array(video=True, audio=True), output="output.mp4")
for b in boombox1.read():
    if isinstance(b, VideoPacket):
        b.payload = np.flip(b.payload, axis=0)
    boombox2.write(b)
boombox2.close(wait=True)

Authors

Boombox is created by Software Mansion.

Since 2012 Software Mansion is a software agency with experience in building web and mobile apps as well as complex multimedia solutions. We are Core React Native Contributors and experts in live streaming and broadcasting technologies. We can help you build your next dream product – Hire us.

Copyright 2024, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

boomboxlib-0.2.10-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (114.3 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

boomboxlib-0.2.10-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

boomboxlib-0.2.10-cp314-cp314t-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

boomboxlib-0.2.10-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (114.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

boomboxlib-0.2.10-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

boomboxlib-0.2.10-cp314-cp314-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

boomboxlib-0.2.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (114.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

boomboxlib-0.2.10-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

boomboxlib-0.2.10-cp313-cp313-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

boomboxlib-0.2.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (114.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

boomboxlib-0.2.10-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

boomboxlib-0.2.10-cp312-cp312-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

boomboxlib-0.2.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (114.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

boomboxlib-0.2.10-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

boomboxlib-0.2.10-cp311-cp311-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file boomboxlib-0.2.10-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 07b8917ab17052cb3dc9131f5d9c74bfa731d07d9af1ef3a69211381beeeebeb
MD5 fd9195da65f717d4858222d40429f67e
BLAKE2b-256 fcccab628b677ad1504a0de886de4160ee8dd9c31a0f408184c28fe4b9507cf4

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 f6317a21620a83b5525f4b96547f750a02c5a2792d6c6feceb781ceecd59f3ee
MD5 9f7dd3a509e964aafcb5d41dacaa1737
BLAKE2b-256 66c365daa12ae9c2555c4d4ac9fdd0e082d8c93f04a3f27b63189ff9682eea3c

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbe4c5a81127be263d4cecd5d2bab5f9d4dcc5188c220a0c84330c6bfdcb737e
MD5 f3b35be123759dcefe21fc02f9d55b8a
BLAKE2b-256 6ef5fabf51204c38d4a1283b8767f6fc211a28861d04dae6db399ea21ea89172

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c56e31c5a86e88bbe0fbb5f18393fb21235ff2b4d4e2fd54972decd617d70806
MD5 1618bd8b89b8703ca2707a55f67c1fbd
BLAKE2b-256 241103a67c309556a4796bf4709cb17ccbf4e135b8c8c8dfc3fbeee013e14f9c

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 42d43ab6cc9252277e8581ab0217ee879fbd1f395b854fa24bf5e1e190a6090b
MD5 668fb462cdaf42e6ed5071b4c6041e80
BLAKE2b-256 35fc57c7462b84b50b183348794ccb07d7a1ed472a4f57cb93c21085110d9b53

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ea0dd146622de9dd03447da1fa5b0a9dc1364351590ea0971e3140ecb1364564
MD5 8162da69fc0c9bb9c4f0a3d1824e7a13
BLAKE2b-256 aae5b4126d2ce654fe822c0aa86ebe964a6aaa6c4d4372506523b66495657742

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f9846e5362ee3bc547d3af7ed130e90496a846b0f8f8ac21433715400a46c273
MD5 46d1c7771eb989c94ef1484f09c1e350
BLAKE2b-256 515f8b42438e1fc97a376f4b8825a955a45c756bd0bb8172e206d9b695f4abbb

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 468f2fd81674c7204291f9d505c743270339dad817d82aec43f2fd42d40ed2da
MD5 e754b1d1924bb7e76dbf4f2b5ee93a70
BLAKE2b-256 6f3ad6002ebda0fbb3a3f1968b989d050406d9be0f878fdce3a8ee0622ab3f1e

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64c858a66db104c994c031a333c52f525da143cdc26cb9731bc7bce975d9d747
MD5 408c6a109de20a84f5d94c066fdcf24d
BLAKE2b-256 d626f0886526dd1528292412b6393c0cfb8c027f78fdf0b2dcc65ae04c976096

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4e69a201c0931708eb597a99ae8ecb88bd0c5ec36b9851ad97d08df94c71e9dd
MD5 f15cbf3ca128ba8f641394d980c9268a
BLAKE2b-256 b203a3ea0e75d5b4c8c1548698ad654f1b51cdc5e0b67a9e1994093cc9d5dc33

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 2b852579c208a4839b56bb6c73be4fb1fbcbbeb7ffaa5f88a3d1407fd49c79cc
MD5 abe15d50b2c1a06a669e4dde6fbd1ad5
BLAKE2b-256 3cd6315ccfe802369d793b2eb9e76d3913fdbf304ec80a6dbcdc2d4c224d97cc

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2472fa466d4467ac4753f131959c46be94741890d9da9818faa0c66d42169839
MD5 ac9307d66d57d32199497d4afd14b246
BLAKE2b-256 123adc4812f471622417f98120e3455831ab15919a65aa5b17cd076803f811cd

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ee7002963f581d0686524e047a73dd1d21d8ab8d26c17cf707365b7cf6735000
MD5 6a91ea24d2d63abdf437b3adc9b1bfb8
BLAKE2b-256 ddce8ccd7a5c42e9490f237065bfa5472210f78539b08bd4d508c5f799c83ec9

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 9b2c3afdfaceba3bf34d02c1ee9a45d57eda776f00436d968e99008f02c2586e
MD5 87eba677ec923bf550f48c17b1521387
BLAKE2b-256 044d83622418b86fa9b6577ec91b4cf5e8c644ff414228ddf45a403cfb0ab8fe

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.10-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83543b591ca59d564446e83306668d4133ff6ac20e5a892d280cee7ac9c9deb9
MD5 8ee7ed67cf0e6937599e0b5ed211053b
BLAKE2b-256 3064ae0956b788dd778350ae0170d280f3cfc946a04d6e35eb822ed9178c2712

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