Skip to content

modrev-ai/boomerang_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boomerang Maker

Creates boomerang video from a source video file. Edit images and creates repeats of the source file in reverse N times.

Original

original

Boomerang

boomerang

Video Processing Script

This script processes a video file by cropping, reversing, and concatenating clips based on specified parameters.

Requirements

  • Python 3.x
  • moviepy

You can install the required Python packages using pip:

pip install moviepy

Usage

Run the script with the following command:

python video_processing.py <input_file> <output_file> [--start_time START_TIME] [--end_time END_TIME] [--x_offset X_OFFSET] [--y_offset Y_OFFSET] [--repetition REPETITION] [--playback_speed PLAYBACK_SPEED]

Arguments

  • input_file: Path to the input video file.
  • output_file: Path to the output video file.
  • --start_time: (Optional) Start time in seconds. Default is 0.
  • --end_time: (Optional) End time in seconds. Default is 0.8.
  • --x_offset: (Optional) X offset in pixels. Default is 200.
  • --y_offset: (Optional) Y offset in pixels. Default is 100.
  • --repetition: (Optional) Number of repetitions. Default is 2.
  • --playback_speed: (Optional) Playback speed. Default is 0.8.

Example

python boomerang_maker.py "input_file.mp4" "output_file.mp4" --start_time 0 --end_time 0.8 --x_offset 200 --y_offset 100 --repetition 2 --playback_speed 0.8

This command will process the input_file.mp4 video file and save the output to output_file.mp4 with the specified parameters.

About

Creates boomerang video from a source video file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages