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.9-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.9-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.9-cp314-cp314t-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

boomboxlib-0.2.9-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.9-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.9-cp314-cp314-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

boomboxlib-0.2.9-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.9-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.9-cp313-cp313-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

boomboxlib-0.2.9-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.9-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.9-cp312-cp312-macosx_11_0_arm64.whl (112.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

boomboxlib-0.2.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (114.2 kB view details)

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

boomboxlib-0.2.9-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.9-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.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d445378cccb61e3020d01803016ccfb31612cb7b5e3d9fcca935ca92aaa6445
MD5 c023093bb0995a029822470c0bd24c98
BLAKE2b-256 4b3f494f9b973588184ac52f17c76ec4afab69710dc3246e15c48bbcc011ac9c

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.9-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.9-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d27b08a172336cb6a35afc4de58fc1fe813631ada10f2243acd6f044774d0ff8
MD5 c03401134e6d0bf8a4880b2b68749f09
BLAKE2b-256 cb8eb16fac03eb750af293f1ad3fc17e19c18ed98b442ee5033e90ee3cc87701

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 602f2cb9d42368a4ad230fe0cc6d8e056e453c2308c17130150c52fa3dcc7c82
MD5 6c20a4ff832e3faa557234520c5d2732
BLAKE2b-256 154e06956489b91f349533a64cdd7ed31bf87af998ebfd1996f06feee871b7dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 71c93faf08adbcbd01dc47abdd08245750c1318e7527339617371f79ec26c8b5
MD5 e34e7437a3d1d2ccca6fa63e7eb33c53
BLAKE2b-256 e6e284e5f440c0837b963030827b7072aa78509bad6c48458f44b1cbe94dc9b9

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.9-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.9-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 9c3d63262f430b0161e7ef7b76f5e953519270059a2fa2ee23aadb9007b2559e
MD5 f0719b825749fb378fbdab556fd1e203
BLAKE2b-256 e67f82f1dba17aaf6439bd58b231e057cd9c97643b2aaa06975103c99fd2c010

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 79fe3d87b9d47d6af956e8dee33b8cc1ad04ddf828f4049980784f571af5c206
MD5 a49554271bece631f30efae5cb3faf5a
BLAKE2b-256 b87feecda4adee6298d08187ad2879f46219c0b954d9a6102236277d22d6a693

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b0adb93685c18d59b2af98ff48600824ee7618a25bf40adc69e90780077cf320
MD5 d783e752ebc0dd08ad49aa7eb031c45a
BLAKE2b-256 4d1dff74d5b7269d0dd6f8c9b8d7a468920857e3f3f16ff182128adca05fd966

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.9-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.9-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 22f6efdbbb09b09eb59d6e674c88aac99aad4f5a69849a2cd362fec5d30fff0e
MD5 71567a1d50492f25b8d8467a6e45a883
BLAKE2b-256 fe0843d235de192ce8abe0093ca0623c820a28235014320d164c6825b8e1d25f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b14c99ffc8d1b1d7151d152e5f1f45c926c65a93821144e0b112b541fea76c8a
MD5 90d2be13c550d88c42b3d33db03d18a5
BLAKE2b-256 d5e09b5982f6094a23b8105ee665efff8354c019d17b3340f3d8555714e0157a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 442530ad60c98ba3bf160cf66c81cb7ae0dcc9ddab0dc027b379b2bfa409e8d0
MD5 c89240444adc539afb30b873714f1869
BLAKE2b-256 0cb6495b4631f6e818d55ac81b16e19d66a9649ffa3f2516c2b13d625265cfb4

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.9-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.9-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 516274c121356d1b9eb7d46473093ccd67d3a35422376b8b7845bb03f9f29739
MD5 e38bb79b4c8fe676338680130fe6456b
BLAKE2b-256 14fbc3d141ed7ae3fc69f516d029a989b898a893bba0fb2a524011fffc2e32be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5399223c782010744a4823ec617cfb83c61e555fd9cd5b36b1476b5ec74b96c
MD5 6f47e1ea6e8f50427a4b7f8e291fef48
BLAKE2b-256 32707c4d0fea062baedef85a4561d61ff63fb81c52056061a3c800fb28199833

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e185bfd263155750ed2b0afe9e6da18cf1b17e54f58c95a19d1a532432896eef
MD5 09326ae072baa1f8a4e865f417d13fc1
BLAKE2b-256 32aff6711790a45d77d7451ef207438ac2ebc8448d7e8568b1019ad5e975f808

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.9-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.9-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 909caac82a78dd54ec27ba9ae138d5babfdbeeb2f984ce4163fa81fda06af3d1
MD5 44208297abe0333c6e66f26e65815254
BLAKE2b-256 87fecfb2f0fcdc3e754a7d5ec44fcd6545167685f28ee23e4ad8bb78659a2d8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5952d586dcf5fd018750a2067b0b535f677a091d3fb87d4edfd0fdb2ba240796
MD5 0ebc9152a377bcdf2b9f0c95cebf68e5
BLAKE2b-256 8a776cf4d8d7c8d8203d1af7670489ac59c5f98873be03eb149f6e8fd51cf49d

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