Skip to main content

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


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 details)

Uploaded Source

Built Distribution

videoconcat-0.11-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file videoconcat-0.11.tar.gz.

File metadata

  • Download URL: videoconcat-0.11.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for videoconcat-0.11.tar.gz
Algorithm Hash digest
SHA256 ab28a177483699cd98e62827c7e6cae7e4de23ba5816ae9a8d844c8d29ab737e
MD5 c375f3b9e36f345762c06b7a3bd20689
BLAKE2b-256 699bb495b891da7f32fc6fe67e18349712a5500d9d4eabeba67aef0752059de0

See more details on using hashes here.

File details

Details for the file videoconcat-0.11-py3-none-any.whl.

File metadata

  • Download URL: videoconcat-0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for videoconcat-0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1cf7763b1a9f5cb9fdb74980b9e511711acabb7c69c791be91613836ca8d870e
MD5 924a3431ea8288ff5c4dac19433b3bc1
BLAKE2b-256 36dd073f325661d06e043808e661be60935d1ffa165e3d55213697c0a173c4dc

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