A simple GUI tool built with Python (Tkinter and MoviePy) to generate slideshow videos from images and videos. Supports text inserts, background music, various styles, and customizable settings.
- Select a folder containing images (JPG, PNG, GIF) and videos (MP4, MOV, AVI).
- Customize image duration, video quality (low/medium/high/ultra), FPS (1/12/24/30/60), resolution (up to 4K), and aspect ratio.
- Add text overlays at specific positions with font, color, size, and duration.
- Apply transition styles (e.g., fade in/out, slide left/right).
- Add background music with volume control.
- Output MP4 video to an "output" subfolder.
- Supports multilingual text (English, Chinese, Japanese fonts).
- Preview thumbnails and file info in the GUI.
- Prerequisites: Python 3.12+, Tkinter (built-in), MoviePy, Pillow, screeninfo.
- Install dependencies:
pip install moviepy pillow screeninfo. - For full features, ensure FFmpeg is installed (MoviePy requirement).
- Download the source code or EXE from releases.
- Run the script:
python main.pyor double-click the EXE. - Select a folder.
- Choose files from the list (multi-select supported).
- Adjust settings via "Settings" button (duration, quality, text inserts, music).
- Click "Generate Video".
For detailed settings:
- Text inserts format:
position:content:font:color:size:duration:bg_color(e.g.,0:Welcome:Arial:white:72:3.0:black). - Multiple inserts separated by semicolons.
Use PyInstaller: pyinstaller --onefile --windowed main.py (rename to your script name).
MIT License. See LICENSE for details.
Pull requests welcome. For issues, open a GitHub issue.
这是一个使用 Python(Tkinter 和 MoviePy)构建的简单 GUI 工具,用于从图片和视频生成幻灯片视频。支持文本插入、背景音乐、各种风格和自定义设置。
- 选择包含图片(JPG、PNG、GIF)和视频(MP4、MOV、AVI)的文件夹。
- 自定义图片显示时长、视频质量(low/medium/high/ultra)、帧率(1/12/24/30/60)、分辨率(最高 4K)和宽高比。
- 在特定位置添加文本叠加,包括字体、颜色、大小和持续时间。
- 应用过渡风格(例如淡入/淡出、向左/右滑动)。
- 添加背景音乐并控制音量。
- 输出 MP4 视频到“output”子文件夹。
- 支持多语言文本(英文、中文、日文字体)。
- 在 GUI 中预览缩略图和文件信息。
- 前提:Python 3.12+、Tkinter(内置)、MoviePy、Pillow、screeninfo。
- 安装依赖:
pip install moviepy pillow screeninfo。 - 为完整功能,确保安装 FFmpeg(MoviePy 要求)。
- 从 releases 下载源代码或 EXE。
- 运行脚本:
python main.py或双击 EXE。 - 选择文件夹。
- 从列表中选择文件(支持多选)。
- 通过“设置”按钮调整设置(时长、质量、文本插入、音乐)。
- 点击“生成视频”。
详细设置:
- 文本插入格式:
position:content:font:color:size:duration:bg_color(例如0:欢迎:Arial:white:72:3.0:black)。 - 多个插入用分号分隔。
使用 PyInstaller:pyinstaller --onefile --windowed main.py(替换为您的脚本名)。
MIT 许可证。详见 LICENSE。
欢迎 Pull Request。对于问题,请在 GitHub 开 issue。