Encoding utility for Anime Music Quiz
Project description
ffmpeg scripts for handicaps
This Python 3 package 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 use it to encode every resolution of a video with a single command.
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.
See sample_encode.py for an example of a script that encodes a video into
mp3 and webms, then muxes those outputs with clean audio.
CLI
If you just want to encode a file without writing a standalone script, you can call the package directly from a terminal.
*nix
python3 -m amqencode
Windows
py -3 -m amqencode
However, this is incapable of muxing clean audio into an encode.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amqencode-0.2.3.tar.gz.
File metadata
- Download URL: amqencode-0.2.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7e92a91757dc9779fed2f7b7a7c5a71d06a23f2ed75b2ea61cfd67b61e15361
|
|
| MD5 |
6f0bed8aaaf379c4c6089949cb4e589f
|
|
| BLAKE2b-256 |
dee65904df478cd8ad4fb003b9c75f6d944ef90d20e5880b8df35440ac965c9f
|
File details
Details for the file amqencode-0.2.3-py3-none-any.whl.
File metadata
- Download URL: amqencode-0.2.3-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a60715380e2ce5dae5d2377c0f8d5cf899c780ca935911ed3f36cfe9f5b8a4c5
|
|
| MD5 |
c606aa6bde9a7c3aaaea0f46155f8f7a
|
|
| BLAKE2b-256 |
47a9bf8c0f574e9064ed60fc78b43bc5fb3bbe7f37300168af6e0b61635d2f82
|