Python script for splitting videos into tiles with ffmpeg
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README.md 701 B

3 år sedan
1234567891011121314151617181920212223242526272829303132
  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. For 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. ```