Skip to content

Video batch editing for AIA courses clips: add watermark, add title, compress

Notifications You must be signed in to change notification settings

ShuYuHuang/video-handle-compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video-handle-compress

Video batch editing for AIA courses clips: add watermark, add title, compress

AIAers, this is your blessing~~

Lets automate the process of your course video:

  1. Add watermark to the clip (ffmpeg-python)
  2. Add title page to the front (MoviePy)
  3. Filter high frequency noise
  4. Normalize Volume
  5. Compress and export to mp4 with framerate = 30 fps (ffmpeg-python)

Installation

Star, fork and git clone this repo:

git clone https://github.com/ShuYuHuang/video-handle-compress.git

Install requirements with the following command:

pip install -r requirements.txt

Usage

Please proceed your batch production with the folloings:

  1. Start the main program:

python produce.py

  1. Enter the file path, e.g. data
Please have the folder organized like this
root/
    - XXX.mkv(/.mov/.mp4/..., the recorded clip)
    - XXX.png (the corresponding title picture, please follow the template we made)
    - YYY.mkv
    - YYY.png
    - watermark.png (the watermark file to print on each frame)
  1. Enter the output path, e.g. out
  2. Wait for 10 minutes for each file
  3. Get your files in the output path and put that to youtube
  4. You can further transcribe the films by Whisper-Subtitle

All the tryout notebooks are in experiments

References

About

Video batch editing for AIA courses clips: add watermark, add title, compress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published