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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f0017f4a160b8268afeae2cd7aa0d95a455f8d4e9bccd4c6aa36ccf2d8959100
MD5 a0e7dd5bce862a4d01a03e7a01ab22c3
BLAKE2b-256 aa77ada2f4270432be18a7ad67085caa38c9f7b3965096c07294241c7d4e2107

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.13-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.13-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 1eed8cd5e223901df3dfb98d69f9c02c636b62c550b56166890bf775a72f35e9
MD5 bb8c3897eeea16ad9a5ba7de7457d7b4
BLAKE2b-256 3b533dcec3b7ad287cd4b7d81049ae337b7d7f2b1b674be420eef98ad0e7916c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 17319e829bcffec5517adc43ded5b3b60ea6f4a31a86439cb2e3279098927790
MD5 c9b4d6a24b2ec99c8d1b79dd46236755
BLAKE2b-256 2f8668d39255a51ec7aaed814a88fa74750c75c7d0ddb2f6fbcf9ee1823e4767

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 56bbc506a3ac1e8bd87a878c1dd1dcc2470cdf25824d77463679ef05ae44ea27
MD5 efa4ff8c73e32951dea0054b25946758
BLAKE2b-256 b19bf6fc09a6a2a73e7a14a9da6aee50649539e7750cd68e423bd1c49a9bd64c

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.13-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.13-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 d01d6f69c5bdb0955b6d8522c2e3708f95b4a3b0af28cd7160f93c2c950c0e4e
MD5 81270a9f229fab1ab8d03431e067348d
BLAKE2b-256 38559ada4156ad14a147a0b823edd31c99977f77d61d4d19d5d60ad1c7f78007

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 30508db5197e63200643acdf18c2766732363ef19d60930b2ea647afe04e32a4
MD5 1cf0a20f08906f1babe1487fb20a171a
BLAKE2b-256 fc8dc9f6c803437fe7a92391a2efc339adcebb5a52187cc0640cabfc0b9c3baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 683bd76c11177c9c8e37154230e1731d3a2b01d5272aab680f093e6a83b9eff7
MD5 85360295df0b51b14e2ccf4735ebdcbc
BLAKE2b-256 7c83895a4185f7e1dbe5078863bdb357f17cc27aa09e19c39c1f474a57d110e9

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.13-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.13-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 cd3cd13830a57822e4f0f90833bfad148213413c742aeeb6dceebdcccf1e22d4
MD5 32536fadc0884021cf4e4a82e1ea2387
BLAKE2b-256 926a4d071eacea947ae68e3ea6d1ffac81363a1f663f580405d7b0b2a3080189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 905a7ad6c107ba7103ee4e3ab816e8236e974fe688b660019fc29f10212474a0
MD5 46dcc4660289a9f766768499945a56f7
BLAKE2b-256 31ea7d25e57d9d3d55392eac318793c7611b08171367506fcb70d194db085269

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f85c71ce53c5b33175dd731d738523f1532ba72d6f867ba09aa83f64600c0590
MD5 3bbf896da1a7958c8eb7751f1ee341a2
BLAKE2b-256 79594dc07f390d43ca9f9c4e1a6d8b34dfd62c84e7032a355d6c0aa2ebf15bdd

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.13-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.13-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 97a87e49db84c1dd5e287598e90c629a71bee7f27222ee4274c2fcca324f6102
MD5 3727404a1811f5fb5effe36cbd804780
BLAKE2b-256 9a0218f8ef95578ac6b597be3a5d7c1de0723628ab99ce70d4329a1517026d30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d34ff7b9df87e6d49be83ca96a3bf0106a427daa61a32f235b0c6ad17c02679
MD5 e5ebb47251093b3fb08bdaac915a4714
BLAKE2b-256 a99dc4eea46766f261dee5fced0aabbb92949ef01fe7402394c993bbe82a8807

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ed226cc4efaf8e1c6e52acf24d815948a4b4dbe36ef04dcd2ebafa25714b476b
MD5 67f3b10192dd4320915d97fda81f0244
BLAKE2b-256 cfc12c55f7ced052c8fab74476c4f6f21e4fb77841c4ea49ade8abc7125c154b

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.13-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.13-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 020484da81b3345881e8acf77c9ef1749b1716db12d5ee6a37fa3bd2ef7829b9
MD5 a7787ebf7ff7f76baa2c003418e6de7e
BLAKE2b-256 37930bfc083f4b998ab1b706424d2bf1562e8a580363f4f36ad9106c1909c435

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1afce1cfc5ec5b62368fbc2f50fdae53335e2f58fbeedcabd76f1dab8bca427c
MD5 5c519b811cb11bf9670ee35339c13c8e
BLAKE2b-256 784664597cdd818d26d26a7f6695b0df3f8258767ee6465e54003bb2db38382d

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