https://github.com/marcin-filipiak/sh_ablend
This script takes two video files and creates an alternating sequence (ABABA) by extracting short segments from each video. The user specifies the segment duration (in milliseconds) and the number of sequences. The script then merges these segments into a final output file.
https://github.com/marcin-filipiak/sh_ablend
debian linux shell-script video video-editing
Last synced: 2 months ago
JSON representation
This script takes two video files and creates an alternating sequence (ABABA) by extracting short segments from each video. The user specifies the segment duration (in milliseconds) and the number of sequences. The script then merges these segments into a final output file.
- Host: GitHub
- URL: https://github.com/marcin-filipiak/sh_ablend
- Owner: marcin-filipiak
- License: gpl-3.0
- Created: 2025-03-27T08:20:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-27T08:29:52.000Z (about 1 year ago)
- Last Synced: 2025-03-27T09:32:34.256Z (about 1 year ago)
- Topics: debian, linux, shell-script, video, video-editing
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
### Description:
**ablend.sh** is a script that creates a fast-paced alternating sequence (ABABA) from two video files. It extracts short segments from both videos and merges them into a single output file. The user specifies the duration of each segment and the number of repetitions.
### Usage:
```bash
./ablend.sh
```
### Parameters:
- `` – First input video file
- `` – Second input video file
- `` – Duration of each segment in milliseconds
- `` – Number of AB sequences to generate
### Example:
```bash
./ablend.sh video1.mp4 video2.mp4 500 10
```
This command extracts 10 alternating 500ms clips from `video1.mp4` and `video2.mp4`, then combines them into `mixed_output.mp4`.