Python script for splitting videos into tiles with ffmpeg
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 682 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829
  1. # Python script for splitting videos into tiles with ffmpeg
  2. It supports simple grid definitions and advanced layout definitions from a json layout definition file.
  3. ## Installation
  4. Install git, ffmpeg and python3 with pip on your system
  5. Debian:
  6. ```
  7. sudo apt install git ffmpeg python3 python3-pip
  8. ```
  9. Clone this git repository
  10. ```
  11. git clone https://git.notice.at/redplanet/video-shredder.git
  12. ```
  13. Enter directory and install python requirements
  14. ```
  15. pip3 install -r requirements.txt
  16. ```
  17. ## Usage
  18. grid mode:
  19. ```
  20. python3 videoshredder.py grid <columns> <rows> <input_file> <output_path>
  21. ```
  22. file mode:
  23. ```
  24. python3 videoshredder.py file <layout_path> <input_file> <output_path>
  25. ```