Udokike Daniel

Python Video Compressor

Portfolio-title

Description

Video Compressor in Python This repository contains a Python script to compress video files using moviepy and Pillow libraries. The script resizes video frames to a specified resolution and adjusts the bitrate dynamically based on the input video's properties to achieve efficient compression while maintaining quality. Features Video Resizing: Resizes video frames to a target resolution using high-quality downsampling with the Pillow library. Dynamic Bitrate Adjustment: Calculates and applies a dynamic bitrate based on the input video’s original bitrate and resolution. Simple and Efficient: Easy to use script that handles video compression efficiently, suitable for videos of various sizes.