wechaty / bot5

Bot Friday Club - BOT5
https://bot5.ml
Apache License 2.0
39 stars 55 forks source link

BOT5 Talks Video Cutting & Uploading Automation Project #155

Open huan opened 4 years ago

huan commented 4 years ago

BOT5.Club records online seminar videos and uploads it to YouTube Playlist:

Meeting Starting Point Analysis

We need the following API/SDK to get the start time from our meeting record MP4 file:

START_TIME=$(./get_bot5_mp4_start_time ./bot5.mp4)
# number in seconds, the time point that the chair start the seminar

After we can get the START_TIME, then we will be able to cut the file automatically by the script, and then upload it to YouTube automatically too!

Asking help from @ggsonic

Video Downloading

Zoom API: Get all recordings from a meeting

Video Cutting

Using ffmpeg to cut up video (without re-encoding)

export START_TIME=995
ffmpeg -ss "$START_TIME" -i zoom.mp4 -map 0 -c copy bot5.mp4

See: https://superuser.com/a/1477650/632116

huan commented 4 years ago

Zoom API: Get all recordings from a meeting