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

Uploaded CPython 3.13macOS 15.0+ ARM64

boomboxlib-0.2.8-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.8-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.8-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for boomboxlib-0.2.8-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 197710fc597350547198d9adf5c755725a3add5c448d3a03d39224ad50027d26
MD5 f4f0eb5a3a4fdc2d8cfca83407c454f9
BLAKE2b-256 47cecc0fb826a14248f0bc1df10e5387e9e9990d979b9473a5db55b146ece1a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boomboxlib-0.2.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 589bd8ee7dea159c8bc856a76b4f0df95cb2dece18b5c01b47e3d27a6c4e8d74
MD5 39a6df0b255129bb1ef6455e336f8a63
BLAKE2b-256 12f38204984470aad9ed984227c0f96ee8767485582ee209bd622c6c49733fd1

See more details on using hashes here.

File details

Details for the file boomboxlib-0.2.8-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.8-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 0fd843ccf072dfd2e6ec26c66a8151c231faa56b3768f000fef7f9eaa5d4d1e8
MD5 a493d2698f9fcf39d2dd34ed34620b28
BLAKE2b-256 ddc6c150652d8ca9a004130ad9f82b24051e243cffdaeb9d4355f96bff4cf485

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