This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse, sys, subprocess, pathlib | |
ffmpeg = "ffmpeg" # Change to ffmpeg path if you need to | |
parser = argparse.ArgumentParser(description='Convert ADX music to Ogg/Opus files with loop points') | |
parser.add_argument('input') | |
parser.add_argument('output', nargs='?') | |
parser.add_argument('-b', '--bitrate', dest='bitrate', default="64k", help="Set the bitrate (e.g. 64k)") |