https://github.com/cor1nthian/videomerge
MP4 video merge script
https://github.com/cor1nthian/videomerge
ffmpeg ffprobe merge mp4 video
Last synced: about 2 months ago
JSON representation
MP4 video merge script
- Host: GitHub
- URL: https://github.com/cor1nthian/videomerge
- Owner: cor1nthian
- License: mit
- Created: 2024-12-31T22:37:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-02T19:56:41.000Z (over 1 year ago)
- Last Synced: 2025-02-02T20:28:47.731Z (over 1 year ago)
- Topics: ffmpeg, ffprobe, merge, mp4, video
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# videomerge
Video merge script creating a video file from a bunch if video files and (optionally) chapters and timestamp text data list.
Script uses fffmpeg / ffprobe binary tools, read more on this in script comments
Tested with Windows 10
Can be called with arguments:
| Position | Suggested type | Description |
| --- | --- | --- |
| 1 | String | Path to folder containing video files and image
| 2 | Boolean | If true, creates exact chapter marks (adds half a second to every chapter start mark, which is enough even in case of not exact K-Lite player rewind)
| 3 | Boolean | If true, creates twxt file containg chapter info
:exclamation: Variables set in the script have priority over script arguments
Script return codes:
| Code | Description |
| --- | --- |
| 0 | Successful execution |
| 1 | Content folder does not exist |
| 2 | Content folder path not found |
| 3 | Exact chapter timestaamp mark variable not set |
| 4 | Text chapter creation mark variable not set |
| 5 | No files found in specified (content) folder |
| 6 | Could not create video file list |
| 7 | Could not get media duration |