A video comparison tool
Project description
Vidcomp
Vidcomp is a tool for comparing video files to find the best quality video.
Installation
To install Vidcomp, use the package manager pip:
pip install vidcomp
Usage
Vidcomp allows you to compare multiple video files and determine the best quality one. To use it, run the following command:
vidcomp
After starting the program, you will be prompted to enter the paths to the video files or their names. The program will automatically check for the existence of files with the extensions .mp4, .mkv, and .avi in the current directory or the specified path. If a file is not found, you will receive an error message.
Example Session
1.Enter the path to the video file or its name:
video1
2.The program will check for the file with various extensions.
3.You will be prompted to add another file:
Add another file? (Y/N): Y
4. Repeat the process for all the files you want to compare.
5.After adding all the files, the program will compare them and output information about the best video file.
After comparing the files, the program will ask if you want to continue. If you choose Y, the console will be cleared, and the process will start over.
Example Output
Enter the path to the video file or its name: video1
Add another file? (Y/N): Y
Enter the path to the video file or its name: video2
Add another file? (Y/N): N
Best video: /path/to/video1.mp4
Information about the best video:
Video stream:
bit_rate: 1500.0
width: 1920
height: 1080
Audio stream:
bit_rate: 128.0
Made by Avinion
Telegram: @akrim
Continue with the script? (Y/N): N
Requirements
The program requires ffmpeg and ffprobe to be installed. You can install them by following the instructions on the https://ffmpeg.org/download.html
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
vidcomp-0.1.tar.gz
(5.0 kB
view details)
Built Distribution
vidcomp-0.1-py3-none-any.whl
(5.5 kB
view details)
File details
Details for the file vidcomp-0.1.tar.gz
.
File metadata
- Download URL: vidcomp-0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f389a88206c5d26d145a5b3b167e296c2783093766548f96119c614824739dac |
|
MD5 | da1cda5ff461469b5e3f139d81e81e3b |
|
BLAKE2b-256 | e7e42dbea49e284dc3f199c58783bbb74b19482aeedc59afe81016cf8fb198ba |
File details
Details for the file vidcomp-0.1-py3-none-any.whl
.
File metadata
- Download URL: vidcomp-0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5edd462976d1aad8fbe99669f1164d108091fdd4bc307f22af6b68e93d1e7fce |
|
MD5 | e70a2fff210e2e29abde027acd18be59 |
|
BLAKE2b-256 | 0517ee2d1d5aeb7f4621a2981b20bd0a4df97443d010129fd8d27ac84ce7e80a |