Skip to main content

Boombox SDK for Python

Project description

boombox_transparent

This package is a Python API of Boombox - a high-level tool for audio & video streaming tool based on the Membrane Framework.

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.7-cp313-cp313-macosx_15_0_arm64.whl (110.0 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

boomboxlib-0.2.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (113.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

boomboxlib-0.2.7-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (112.7 kB view details)

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

File details

Details for the file boomboxlib-0.2.7-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.7-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7aa770c3a79ee0d838002003e0dda1a1be7a8bf3a9ed4aca4b6eeca3c44d81a7
MD5 0dbfedded98c91d305267c451244bfa6
BLAKE2b-256 2f27aa7118198aa1b4fa2c80ce5708f876553cbb30571abdde4c89f9c8d56305

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 02666bb3b4a146492bd4f9013a39d91dba278c26ee10f7662efc7d3291241a0b
MD5 a4a58519e163825302c256cdbd0d3644
BLAKE2b-256 26a84bb1e893650752fc2fcd64d8559f41fb566601b666e688a16c79210eb3c0

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.7-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.7-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 79255648fc2e6e343b1dc56dc4092e2e1e95ba6326e80dc894bd5b587214699f
MD5 df0bcd0f9cc27718521e35dda5d71e76
BLAKE2b-256 b3ace76c3059db011062741c0009d48d6c641663416ca4d6f331c8ac47d5fca1

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