Note:
Prefer using a
.venvin the current project instead of setting it globally, as it's probably not meant to be used system-wide.
Video Compression Tool:
This Python code is designed for compressing video files using the ffmpeg library and a Tkinter-based graphical interface. It allows users to reduce video file sizes with adjustable quality settings while maintaining good visual fidelity. [Not Implemented Yet]
The application can queue multiple videos for batch compression and offers the ability to cancel ongoing processes.It is ideal for handling large video files and making them more manageable for sharing or storage.
Features:
- Multiple Quality Modes: Choose between different compression quality modes (Max Quality, Super, Ultra-High, High, Medium, Low) depending on your needs.
- Two-Pass Encoding: Optionally use two-pass encoding to improve video quality at the target bitrate.
- [Not Implemented Yet]
Drag-and-Drop Interface: Easily add videos via drag-and-drop or by manually selecting files. - [Not Implemented Yet]
Batch Compression: Queue up to 10 video files for compression at once. - File Type Support: Supports common video formats including .mp4, .mov, .avi, .mkv, .flv, and .wmv.
- Cancel Compression: Option to cancel compression processes while they are running.
- Progress Tracking: View real-time progress and compression logs.
How to Use:
- [Not Implemented Yet]
Drag and drop video files into the window or select them manually. - Choose the desired output location.
- Select a quality mode.
- Start the compression process.
- Cancel anytime if needed.
Dependencies:
- ffmpeg-python: For video processing.
- Tkinter: For the GUI.
- [Not Implemented Yet]
TkinterDnD2: For drag-and-drop functionality.