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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e2d5de53ce1aabe2bd0191fe0f2d4ec9f3f6b400e1ce6c398885f6f574746c1f
MD5 cbef5bbc7b6a25d572ca82e7bc594f48
BLAKE2b-256 00543dd69dd5e13ccbbb119facb8dec197904ee0138a224b60fcd3280bf382a1

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.11-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.11-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 36f40769e8c3cd2e419ce6ba7f48735d950c08d55142509c66021ff211ec26c5
MD5 ad86e6dcc9f8ef2109185a41042b291e
BLAKE2b-256 495fd468cb2277777552037bda68afa05f9a424668544ed191faad97d391b6af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95ff6f6a96e29e7aea40ffa48923651f3e78ba8ac57b46bb202190a3d7fb8fa3
MD5 d145f4f824d1fae3d31e690323a0fd2e
BLAKE2b-256 1c47eeeab5508e05c2e622df8eae4300b77a14e292bd85903885fbb5362055b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b7832055ab494a4903693fbea8623ea723774b3e15f725d5442bb11d3acd2397
MD5 3822f19de41bee49494027540c713d2c
BLAKE2b-256 2246a6e2cc0949052bd8c2487e0830ec0a5317cdc7662ffeb05ff7b78af5ee2f

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.11-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.11-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 cdc935b4e105aaa6afd47b60e054c2dc31f13077d76e00535aad70b3eff002a7
MD5 484bca540e23004814773fb47cd701fa
BLAKE2b-256 3c022a27c4862110c74831cf227c695c68ad5d3a863c02071f52b28f9f26e477

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd6ca1ec6f32ed84a80b48ba0a9acaa6cf5d5b16a21cb0151d4b667c1d340112
MD5 1c2a20e57f90cdd1379873d3c0f5af50
BLAKE2b-256 d6d1d4f27805f67ad4f4e1df3c41dd1281c64fbe4df142cae8f98cfc94d59c7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f3b41dfd818d342e1d01451e49bc4cdb3d4d06471c4c633fe86762f34ac82227
MD5 6060f9e3b49741f5c0ef1edf780c2f0c
BLAKE2b-256 e7a796f8d229d9fc0f85a1c8d812d9b748997102885070b2c000c3b29a2aea94

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.11-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.11-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 b4247365abfc81e9eca16719d262778bb8330f22c28db693a6187e8ecd7af37d
MD5 2d3d73bfd596cf3e28dd835ac15534e5
BLAKE2b-256 f70c1355d2d03dbb3165d3590ec76a63c6d6c4ab87ae38cf7c65aeaa426f1242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 114b777842025790bd48c94e8e297ed26aa8b0832b6d9278f4566d3da97ba7be
MD5 a737b8b2ef59fa50209d22903a68f980
BLAKE2b-256 d407d7ae3bb05b5b7d8753a53e39dcd33e1775cfc030e382a0ec20cbec2fef9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e00be5afb6396b08a830392aeaf93c3c621f3aa569b976eb7cf68902dbc11038
MD5 34d4420af84ef134549396807f907806
BLAKE2b-256 853123ee4b205676b2fb653b955cb93c3a48fc5dbc2a4c27e2e2232a8698e4a6

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.11-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.11-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 c0216da721d60096e920a3522740dca9a910612acad0204bae647569bf140ea4
MD5 d6ef4bda22c657ed2428f63f494bb557
BLAKE2b-256 e0ab150b59ec6854bef66cd41afdc30df366b117e664830597283d25aaac4ea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c2a5022bccddf53bf6417bee5e76fdd25651129a64de41b7b16c411c93854ef
MD5 f9ce312a73435ec6d5f318403e855a75
BLAKE2b-256 f7c870b0e8e23390cdf64cb494802a6f5536314f4c88997bc42769ca7214f6e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 06233b6f4a9847b08d3c3dc2d33c5d798d4b9bfe70428c9c3d00d5b61ca540ed
MD5 79fa0644e40dd7da85db7aa863b875aa
BLAKE2b-256 29930cc66d74983a14741217b075caa17e669259c0d474eb41ae53fda88bf772

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.11-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.11-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 4841ba2727bc8dfb821ef709b1740c973abcc4b5d95d59ae81d06db2cfdcc3a9
MD5 a716a9de4da6a4744e7646a687480cf4
BLAKE2b-256 1b28ca0ba5c7ae283723dc20938f181252f3001303ce0e9bac83fc11ccc7edf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a538f1ac89636452d31f02c0e93a9026a0a5408607d484fad17e5713a76b7086
MD5 14b7e83374751c2b3e3376afec306bd5
BLAKE2b-256 9a1da8bc4d4af68359e36e4cb766f6f92e25c13fb7183a6d12354096482c24b1

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