__ ___ _ ___ __ __ ____
\ \ / / |_ ___ / |/ _ \| \/ | __ )
\ \ / /| __/ _ \| | | | | |\/| | _ \
\ V / | || (_) | | |_| | | | | |_) |
\_/ \__\___/|_|\___/|_| |_|____/
This repository contains a Python script for processing video files using FFmpeg. The main purpose of this project is to reduce video file sizes to approximately 10MB, which is useful for sharing videos on platforms with file size limitations.
main.py: The main Python script containing the video processing logic.requirements.txt: A list of Python dependencies required for this project.
- Install the required dependencies:
pip install -r requirements.txt - Run the main script:
python main.py
For more detailed information on how to use this script, please refer to the comments in main.py.
这个仓库包含了一个使用FFmpeg处理视频文件的Python脚本。这个项目的主要目的是将视频文件大小减小到大约10MB,这对于在有文件大小限制的平台上分享视频很有用。
main.py:包含视频处理逻辑的主Python脚本。requirements.txt:这个项目所需的Python依赖列表。
- 安装所需的依赖:
pip install -r requirements.txt - 运行主脚本:
python main.py
关于如何使用这个脚本的更详细信息,请参考main.py中的注释。
