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)
>>> [
    <mediaify.types.ImageFile object at 0x7f0d35d78820>,
    <mediaify.types.ImageFile object at 0x7f0d35d78970>,
    <mediaify.types.AnimationFile object at 0x7f0d35d788e0>,
    <mediaify.types.AnimationFile object at 0x7f0d35d78850>
]

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-0.0.4.tar.gz (6.2 MB view hashes)

Uploaded Source

Built Distribution

mediaify-0.0.4-py3-none-any.whl (7.0 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