Skip to main content

A Python package to resize videos without losing quality using FFmpeg

Project description

Video Resizer

A simple Python package to resize videos without losing quality using FFmpeg. Supports both command-line interface (CLI) and Python usage.


Installation

pip install video-resizer

Example: 
video_resizer "input.mp4" "output.mp4" --width 1280 --height 720

-------

Python Usage:

from video_resizer.resizer import resize_with_ffmpeg

resize_with_ffmpeg(
    input_path="input.mp4",
    output_path="output.mp4",
    width=1280,
    height=720
)

------

Requirements:

Python 3.6+
FFmpeg must be installed and accessible from your PATH

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_resizer-1.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video_resizer-1.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file video_resizer-1.3.tar.gz.

File metadata

  • Download URL: video_resizer-1.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for video_resizer-1.3.tar.gz
Algorithm Hash digest
SHA256 2b1176339daacc920976330173b5cafd79b105405d6d6186cf035d0566cb7dda
MD5 70b5457b0f9fa019d3539f458438bf0c
BLAKE2b-256 309b7e48fd3facf40eb23e4363c6bf679ff1578249a18f1096f7a973547b1096

See more details on using hashes here.

File details

Details for the file video_resizer-1.3-py3-none-any.whl.

File metadata

  • Download URL: video_resizer-1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for video_resizer-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 86b806b8c42d1562f07f83eba1d9a79535bddcab53f6f2c2b472f23da49a8eb0
MD5 16ce837e49220bef01ccb5ef6a3862e3
BLAKE2b-256 31fd9f741a661a39b6da48dfc8d08c3ed704fd1c88122f1a210fcac11ed5cb9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page