Audio/Video Tools

A collection of Python scripts to make audio and video encoding easier.

Important Scripts

  • is an interactive script to extract/demux media streams from Blu-ray discs via eac3to.
  • encodes video with x264 in 1-pass CRF mode. Logs information about x264 version, encoding configuration and x264’s info output to encstats.log.
  • takes the video, audio and subtitle files from the current directory and muxes them into a Matroska container. Some metadata (language, forced flag, …) can be set via the file names.
  • transcodes audio between formats using FFmpeg, SoX and some external encoders (e.g. QAAC). It’s a bit rough and not very flexible but serves its purpose in the right situation.


WTFPL unless specified otherwise in the script itself.