Skip to content

Bulk Audio Extract Tool (BAET) is a commandline tool to bulk export audio tracks from within a single directory.

License

Notifications You must be signed in to change notification settings

TimeTravelPenguin/BulkAudioExtractTool

Repository files navigation

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.

About

Bulk Audio Extract Tool (BAET) is a commandline tool to bulk export audio tracks from within a single directory.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages