Skip to main content

A tool to bulk extract audio tracks from video using FFmpeg

Project description

Logo

A commandline tool to bulk export audio tracks.

PyPI - Version PyPI - Python Version PyPI - Implementation Python Version from PEP 621 TOML

GitHub License GitHub Actions Workflow Status GitHub last commit (by committer)

Install

Requirements

BAET will run on Windows, macOS, and Linux. Listed below the pre-installation requirements:

Installing BAET

Installation is done via pip. Depending on your platform, to call python, you may need to use the command python or python3. Typing python3 --version or python --version should display the currently installed python environment your PATH. For the remainder of this document, replace instances of python with the appropriate alias on your machine.

To install the most recent stable release, use:

python -m pip install baet

For pre-releases, use:

python -m pip install baet --pre

To update/upgrade to a new version, use:

python -m pip install baet -U [--pre]

To verify your install, call

baet --version

Usage

Once installed, calling baet --help will display the general help screen, showing a list of options you can use.

baet help screen baet help screen baet help screen

To simply extract the audio tracks of all videos in a directory ~/inputs, and extract each into a subdirectory of ~/outputs, call

baet -i "~/inputs" -o "~/outputs"

Unless you add the option --no-subdirs, a video ~/inputs/my_video.mp4 will have each audio track individually exported to an audio file located in ~/outputs/my_video/.

Note on the help screen

Currently, the help screen contains descriptions starting with [TODO]. This indicates that the associated option may or may not be implemented fully or at all.

Known issues

  • The option --no-subdirs may cause BAET to misbehave if two files are generated with the same name, unless the option --overwrite is given, in which case one file will be overwritten.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baet-1.0.1.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

baet-1.0.1-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file baet-1.0.1.tar.gz.

File metadata

  • Download URL: baet-1.0.1.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.2 Darwin/23.3.0

File hashes

Hashes for baet-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0ccd778a6989a96b3637a599e32191d33a8c100ab87e954725972d225ab9da20
MD5 f39f2f8fcf1f692ce218154d9f5b8dd9
BLAKE2b-256 c31f1963ce269f071c70a4e5425f82a4952df376728751fb4c854be5a1bf9649

See more details on using hashes here.

File details

Details for the file baet-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: baet-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.2 Darwin/23.3.0

File hashes

Hashes for baet-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7c99870b280fb5ab10f62176f23ef5fd2209b7257d43b26e1a15f6a00c5afe
MD5 4375d9b7087500b1d27c56d26c4ca7a0
BLAKE2b-256 cf058583eb1fca818d45080806a2728fff40b0d10aea0e76fe6f45f01613389a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page