Skip to main content

Encoding media into multiple qualities

Project description

Mediaify

A library designed to make encoding media simple and easy.

import mediaify

with open('fractal.gif', 'rb') as f:
    data = f.read()

files = mediaify.encode_media(data)
>>> [
    ImageFile(128x128, image/webp),
    ImageFile(500x500, image/webp),
    AnimationFile(500x500 600ms, image/webp),
    AnimationFile(500x500 600ms, image/webp),
]

Dependencies

  • ffmpeg
  • libmagic
    • Non-windows platform need to manually install libmagic
    • Debian/Ubuntu: sudo apt-get install libmagic1
    • Homebrew: brew install libmagic
    • macports: port install file

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

mediaify-1.0.0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

mediaify-1.0.0-py3-none-any.whl (7.1 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