Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amqencode

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqencode

Encoding utility for Anime Music Quiz

  • 0.2.3
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc