Skip to main content

A python package to manipulate videos

Project description

Python 3.7, 3.8, 3.9 Imports: isort

Video-Ditor

A simple video editor python package Affiliated to Bank of Ghana Fx Rates, GhanaNews-Scraper, and GhanaShops-Scraper

How to install

pip install video-ditor

Install using:

# OR
git clone https://github.com/donwany/Video-Ditor.git
cd Video-Ditor
make pre-release

Download YouTube/Facebook/Twitter Videos

# Using CLI
ytube -u https://www.youtube.com/watch?v=fqi8cvN1hrI

ytube --url https://twitter.com/kwadwosheldon/status/1673856306136981504

ytube --url https://www.facebook.com/gtvghana/videos/1219922122741862

Join Videos

python main.py \
-c one.mp4 two.mp4 three.mp4 \ 
-o output.mp4

# Using CLI
concat \
-c one.mp4 two.mp4 three.mp4 \ 
-o output.mp4

Cut Videos

python main.py \
-i input.mp4 \
-o output.mp4 \
-s "00:00:00" \
-e "00:00:00"

# Using CLI
slice \
-i input.mp4 \
-o output.mp4 \
-s "00:00:00" \
-e "00:00:00"

Watermark Videos

python main.py -i input.mp4 -w james.png -x 500 -o water_output.mp4

# Using CLI
watermark -i input.mp4 -w james.png -x 500 -p "left,bottom" -o water_output.mp4

Add Background and Overlay Video

python main.py -b background_video.mp4 -o overlay_video.mp4 -x final1.mp4 -p 150 -v 0.10 -bv 1.0

# Using CLI
background -b background_video.mp4 -o overlay_video.mp4 -x final1.mp4 -p 150 -v 0.10 -bv 1.0

Add Text to Video

  • text position: "left,top" , "left,bottom", "right,bottom"
add_text -i input.mp4 -o output.mp4 -s "@the_data_prof" -f 50 -t "blue" -p "center,top"

BuyMeCoffee

Build

Credits

  • Theophilus Siameh
tsiameh twitter

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

video-ditor-0.0.3.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

video_ditor-0.0.3-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file video-ditor-0.0.3.tar.gz.

File metadata

  • Download URL: video-ditor-0.0.3.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for video-ditor-0.0.3.tar.gz
Algorithm Hash digest
SHA256 306c68ef410f8f9ea1013e126fca860fbeab8b10ac6d56bdc32c7c5b4d08c22f
MD5 539f645a5d8fe6b5cb77c9bf7b042854
BLAKE2b-256 8b24f7d74dbf634ac95bd5942f2d6c79a94992010cad7b3d84527c96d932266c

See more details on using hashes here.

File details

Details for the file video_ditor-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: video_ditor-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for video_ditor-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d7fac0c2c549eb79e869f4c4bd09b7718349a3ea89b49601da8a22a018a2bd9
MD5 331ed8eb6a40d26fe35255dde8db40cd
BLAKE2b-256 9045854be318c17b221bcd6186c2a7e1fad687244c66b0b49680cc963196872f

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