Skip to main content

amphi

MoviePy OOP wrapper

Additional Requirements

  • ImageMagick binary file
  • Matplotlib
  • OpenCV

Usage

from amphi import Amphi

movie = Amphi()

movie.new_audio("music", "<path/to/audio/file>")
movie.new_video("video1", "<path/to/audio/file>")
movie.new_video("video2", "<path/to/audio/file>")
movie.new_video("video3", "<path/to/audio/file>", stabilize=True)
movie.new_text("title", "My Video", font="Arial", fontsize=100, duration=4)



print("Processing media resources...")
movie.video("video1").subclip(0, 5).keep("video1a")
movie.video("video2").subclip(0, 2).keep("video2a")
movie.video("video3").subclip(2).keep("video3a")

movie.video("video1a").composite("title").keep("intro")
movie.concatenate_by_video_id(["intro", "video2a", "video3a"])
movie.set_audio("music")
movie.render()

if movie.save("my-movie.mp4", fps=30, bitrate="16000k"):
    print("The video has been successfully saved.")

Metadata

Release files for amphi 1.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amphi 1.0.15
File Size Uploaded Provenance Actions
amphi-1.0.15.tar.gz 9.2 kB Without provenance Details for amphi-1.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amphi 1.0.15
File Interpreter ABI Platform Actions
amphi-1.0.15-py3-none-any.whl Python 3 none any Details for amphi-1.0.15-py3-none-any.whl

Total release size: 14.3 kB

Release files / amphi-1.0.15.tar.gz

Download URL amphi-1.0.15.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd775731c20a1830ba633a9624399ba284299da963901194ebbd236490aa29f3
BLAKE2b-256 checksum
How to use checksums
c0ad1e30365a357c205c0d270f5a60d903d3e4d443e59017dd146c1ce4635c15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / amphi-1.0.15-py3-none-any.whl

Download URL amphi-1.0.15-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ca56ff7450d18358a043c09b65c13ab961a36737f008335ece6b576debd1d7
BLAKE2b-256 checksum
How to use checksums
45dcbb224eadb29f61182cf8b32838be0e140cf63d93d8e493914521442469f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Security for amphi 1.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page