Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wesleybertipaglia/video-converter
This is a simple video converter that converts a video file to a different format. It uses the ffmpeg library to convert the video file.
https://github.com/wesleybertipaglia/video-converter
compression conversion ffmpeg python upscale video
Last synced: 19 days ago
JSON representation
This is a simple video converter that converts a video file to a different format. It uses the ffmpeg library to convert the video file.
- Host: GitHub
- URL: https://github.com/wesleybertipaglia/video-converter
- Owner: wesleybertipaglia
- License: mit
- Created: 2024-10-28T21:01:33.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-10-28T22:04:39.000Z (20 days ago)
- Last Synced: 2024-10-28T22:18:30.293Z (20 days ago)
- Topics: compression, conversion, ffmpeg, python, upscale, video
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Video Converter
This is a simple video converter that converts a video file to a different format. It uses the `ffmpeg` library to convert the video file.
## Features
- Convert video files to different formats
- Compression of video files
- Change the resolution of the video file## Requirements
- Python 3 or higher
- ffmpeg library## Installation
1. Create a virtual environment
```bash
python3 -m venv venv
```2. Activate the virtual environment
```bash
source venv/bin/activate
```3. Install the required libraries
```bash
pip install -r requirements.txt
```## Usage
1. Convert a video file to a different format
```bash
# Convert a video to MP4
python3 main.py convert example.mkv example.mp4
```2. Compress a video file
```bash
# Compress a video with a specific CRF value
python3 main.py compress example.mp4 example.mp4 --crf 24
```3. Change the resolution of a video file
```bash
# Upscale a video to 720p
python3 main.py upscale example.mp4 example.mp4 --resolution 720p
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.