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 for encoding a video,
then muxing the encoded videos 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
Hashes for amqencode-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b0db91feac55c267bb79e25880e890775346fd0db2f060516aa2f14229094fe |
|
MD5 | d9fbd9344f211d578ddf6a1f75bbe0a8 |
|
BLAKE2b-256 | 7ccd74870895907733171347d669d26d64ba2bc9b3e25b8ac4a846916fddbf11 |