Skip to main content

Automedia is a tool to manage large media libraries, whether it be audio or video.

Project description

Automedia

PyPI

Automedia is a tool to manage bitrot and formats in large media libraries, whether it be audio or video.

The tool currently supports the following operations:

  • Printing/logging to list media files: view your media files at a glance
  • Verification of media correctness via ffmpeg: test-decoding of supported files to find bitrot
  • Transcoding media libraries to other formats via ffmpeg: archive your media in a lossless/high-quality format, transcode for daily use or for older devices
  • PAR2 creation and verification: prevent future bitrot of data at rest

But why?

You can replace much of what this tool does using find, xargs, grep and a dash of scripting, but automedia deals with all of the incantations itself and has some intelligence to handle interaction with complex tools like as ffmpeg.

Requirements

automedia requires the ffmpeg and par2 executables to be fully operational. These must exist on the path for the application to function. It is recommended to use the dockerized version of this application as these requirements will be packaged up with it.

Installation

automedia can be installed via pip, or can be run with all binary dependencies in a Docker container.

Via pip

Automedia is available as a pip package. You can download it with:

pip install automedia
automedia --help

Via Docker

If you wish to run Automedia via Docker, a script has been provided that transparently runs Automedia on your machine as if it were not running within a container (by mounting the entire root of your drive within the container).

This script may be copied to a directory on your local $PATH and will automatically invoke the appropriate Docker container.

cp automedia-docker /usr/local/bin/automedia
automedia --help

Usage

Print a list of media files we find:

automedia --root /media print

Verify the media files we find using ffmpeg:

automedia --root /media verify

Transcode the media files from /media to /mnt/usb_stick to 64k AAC format:

automedia --root /media transcode --preset aac-64k --output=/mnt/usb_stick

Transcode the media files from /media to /mnt/usb_stick to FLAC format:

automedia --root /media transcode --preset flac --output=/mnt/usb_stick

Create PAR2 files for the media files we find:

automedia --root /media par2-create

Verify PAR2 files for the media files we find:

automedia --root /media par2-verify

Screenshots

An animated GIF showing automedia running a verify operation

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

automedia-0.9.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

automedia-0.9-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file automedia-0.9.tar.gz.

File metadata

  • Download URL: automedia-0.9.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for automedia-0.9.tar.gz
Algorithm Hash digest
SHA256 78d21b8890a182199534321fe8a3f4099438895eafa8aa57f7731a16f893230f
MD5 bd541e6c9a233249f3790f4588baf25d
BLAKE2b-256 3e71ced943702d473934ee99c392f25336539edeada3b789a106b9930b9e3864

See more details on using hashes here.

File details

Details for the file automedia-0.9-py3-none-any.whl.

File metadata

  • Download URL: automedia-0.9-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for automedia-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a9cb2c8521ca4eec2182c4a61a91a97997a3297388778bd98dd3e8fbfd5ef3eb
MD5 cdb639dfa91cb0bac67a4454d9684005
BLAKE2b-256 944be654f4030737892a9ce722624a1aaf484781a3bff6de7a12fac265de8b0a

See more details on using hashes here.

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