Skip to content

Download and merge the audio and video files of a BigBlueButton conference from the conference replay url. (Framagit Mirror)

License

Notifications You must be signed in to change notification settings

kavinduravishka/bbb-downloader-1

 
 

Repository files navigation

BBB-downloader

For a video conference, the speaker has to use the BigBlueButton support. Fortunately, despite the recording of the conference, it remains accessible only on the latter's website, so it is not accessible offline. In addition to this, BBB tries to limit downloads by separating video and audio.

It is by starting from this principle and by failing with the other proposed methods, that I decided to build a shell and a batch script in order to:

  • download the video AND the sound (July 2020: not yet the comments of the conference, it's in progress, but is it really important?)
  • merge the two files
  • allow the final file to be downloaded from any device (by FTP and deposit on a free server)
  • all in one action!

In the end, in about 5 min for ~200Mb, you get your file ready to view and store wherever you want!

4 ways to do (by order of preference)

  • UNIX : see all the details delow
  • WINDOWS (1) : use the script 'down_bbb_win.bat', run as administrator and answer the questions
  • WINDOWS (2) : use the executable file 'bbb-downloader.exe' which is the same thing but does not require any special skills except double-clicking on the file
  • WINDOWS (3) : use a virtual machine to run the above UNIX script (TUTORIAL link)

UNIX

Download the script

Here are the packages that will be installed from the script (dependencies are not listed): ffmpeg,ftp and curl.

curl -o "down_bbb.sh" https://framagit.org/downloader-s/bbb-downloader/-/raw/master/down_bbb.sh
chmod u+x down_bbb.sh

Run the code

Two options :

  • First: "basically" and interactively. Simply run the script and answer the questions.
./down_bbb.sh
  • Secondly: quickly run the entire code using parameters like this (see details of the parameters below):
./down_bbb.sh DOWNLOAD_FOLDER URL meetingID NAME_FILE FTP EMAIL

Parameters : The conference replay link should look like this:
Typical URL : https://BBB_SERVER/playback/presentation/2.0/playback.html?meetingId=MEETING_ID
Example URL : https://domain.com/playback/presentation/2.0/playback.html?meetingId=65edkjejhdjbt-6322321

  • DOWNLOAD_FOLDER : local address of the download folder (preferably non-existent and empty)
  • URL : meeting server url (BBB_SERVER without "https" or "http" and without "/" slash | e.g. "domain.com")
  • meetingID : the conference ID (MEETING_ID)
  • NAME_FILE : the name of the final file (without extension)
  • FTP : upload the final video file to a free server (two choices : Y for YES and N for NO)
  • EMAIL : your email address so that you are notified of the file download link (if you choose Y)

Sample of code with parameters : ./down_bbb.sh VIDEO_FOLDER domain.com 65edkjejhdjbt-6322321 finalvideo Y [email protected]

Update the script

It may be necessary in the future to update this script : it is important to do this regularly in order to keep a stable version and take advantage of all the features. To do this, simply re-download the script from step Download the script.


Ressources used :

About

Download and merge the audio and video files of a BigBlueButton conference from the conference replay url. (Framagit Mirror)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Batchfile 61.5%
  • Shell 31.7%
  • Python 6.8%