kirek007 / ws-osd-py

Generate OSD for Walksnail DVR! If you like it you can get me a coffe here https://www.buymeacoffee.com/kirek
42 stars 6 forks source link

Multiple file cli #50

Closed odgrace closed 1 year ago

odgrace commented 1 year ago

This branch seeks to expand the cli to allow multiple video files to be specified. After adding OSD and SRT back, it will concatenate the files with FFMPEG. At this point in the commit it has been lightly tested but seems to work.

If concatenating, the intermediate video files will be deleted.

Syntax works like

python3 cli.py --video-path /path/to/Ground-Footage/AvatarG000{1,2,3,4}.mp4 --include-srt --remove-png --font-path resources/INAV_24.png --output-file 'output_file.mp4'