Skip to main content

Encoding utility for Anime MusicQUiz

Project description

ffmpeg scripts for handicaps

This Python 3 module simplifies 2-pass VP9/Opus encoding for AMQ using ffmpeg. It's basically a wrapper with presets for ffmpeg-python, with some hacky stuff to get 2-pass encodes working.

You can override a lot of the presets. Passing norm=True automatically adjusts volume levels for you.

I'll write up documentation later.

Install it with pip

First, install Python 3 if you haven't already. Then,

pip install amqencode

or maybe this on Windows

py -3 -m pip install amqencode

Also make sure that ffmpeg is on your PATH.

Usage

import amqencode in your python scripts.

CLI

If you just want to encode a file without writing a standalone script, you can call it directly.

*nix

python3 -m amqencode

Windows

py -3 -m amqencode

However, this is incapable of muxing clean audio into an encode.

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

amqencode-0.1.3.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

amqencode-0.1.3-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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