Bigbluebutton recordings to webm
or mp4
. This is an example how I have implemented BBB recordings to distibutable file.
- Videos will be copied to
/var/www/bigbluebutton-default/record
- Can converted to
mp4
. Defaultwebm
- Specify bitrate to control quality of the exported video by adjusting
videoBitsPerSecond
property inbackground.js
- xvfb (
apt install xvfb
) - npm modules listed in package.json (
npm install
)
Clone the project first:
git clone https://github.com/jibon57/bbb-recorder
cd bbb-recorder
npm install
Now run:
node export.js "https://BBB_HOST/playback/presentation/2.0/playback.html?meetingId=MEETING_ID" meeting.webm 10 true
You can pass 4 args
- BBB recording link
- Export file name. Should be
.webm
at end - Duration of recording in seconds. Default 10 seconds
- Convert to mp4 or not (true for convert to mp4). Default false
When you will run the command that time chromium
browser will be open in background & visit the link & perform screen recording. So, if you have set 10 seconds then it will record 10 seconds only. Later it will give you file as webm or mp4.
Note: It will use extra CPU to process chrome & ffmpeg.
Thanks to @muralikg. Everything was copied from there & I did some adjustment.
We are offering cheaper Bigbluebutton shared hosting or Bigbluebutton insallation/configuration service. You can send me email jibon[@]mynaparrot.com