Concatenates videos
Project description
Concatenates videos
# needs ffmpeg
$pip install videoconcat
from videoconcat import concatenate_video
vi = [
r"C:\Users\Gamer\Videos\tesseract.mp4",
r"C:\Users\Gamer\Videos\dfbs4.mp4",
r"C:\Users\Gamer\Videos\yolov5.mp4",
]
concatenate_video(
video_clip_paths=vi,
output_path=r"f:\newvi\newvidxx1.mp4", # if folder doesn't exist, it will be created
newsize_w=720,
newsize_h=1080,
method="reduce", # resizes all videos
)
concatenate_video(
video_clip_paths=vi,
output_path=r"f:\newvi\newvidxx2.mp4", # if folder doesn't exist, it will be created
newsize_w=720,
newsize_h=1080,
method="compose", # does not resize videos (black background)
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
videoconcat-0.11.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for videoconcat-0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cf7763b1a9f5cb9fdb74980b9e511711acabb7c69c791be91613836ca8d870e |
|
MD5 | 924a3431ea8288ff5c4dac19433b3bc1 |
|
BLAKE2b-256 | 36dd073f325661d06e043808e661be60935d1ffa165e3d55213697c0a173c4dc |