Repository navigation
Open
Description
Hey!
First I have to say thank you for this cool docker setup and your work!
How can I enable "video" recording format accordng to the docs? I followed those docs but there's no way to install the scripts ("The processing scripts and playback support files for these recording formats can be installed from the packages named bbb-playback-formatname (e.g. bbb-playback-video)")
So I enriched the docker-compose template for recordngs service to read
additional_contexts:
- record-core=./repos/bigbluebutton/record-and-playback/core
- presentation=./repos/bigbluebutton/record-and-playback/presentation
- video=./repos/bigbluebutton/record-and-playback/video <-------------------------------------------------- Added
- bbb-conf=./repos/bigbluebutton/bigbluebutton-config
and changed the recordings Dockerfile to
COPY --from=presentation /scripts /usr/local/bigbluebutton/core/scripts/
COPY --from=video /scripts /usr/local/bigbluebutton/core/scripts/
But processing fails with a stacktrace which does not tell me why. See
recordings-1 | E, [2025-10-12T18:57:39.617941 #1395] ERROR -- : Process format failed for 04cb752b7d1d824eb24a34423f6fd2e5a4f019db-1757408683004:video
recordings-1 | I, [2025-10-12T18:57:39.618354 #1395] INFO -- : Process took 606ms
recordings-1 | I, [2025-10-12T18:57:39.618420 #1395] INFO -- : Ended worker process for 04cb752b7d1d824eb24a34423f6fd2e5a4f019db-1757408683004 with result false
recordings-1 | E, [2025-10-12T18:57:39.618591 #1395] ERROR -- : Worker process for 04cb752b7d1d824eb24a34423f6fd2e5a4f019db-1757408683004 failed with result false
recordings-1 | E, [2025-10-12T18:57:39.618773 #1395] ERROR -- : /usr/local/bigbluebutton/core/lib/recordandplayback/workers/base_worker.rb:56:in `perform'
recordings-1 | E, [2025-10-12T18:57:39.618805 #1395] ERROR -- : /usr/local/bigbluebutton/core/lib/recordandplayback/workers/process_worker.rb:26:in `perform'
recordings-1 | E, [2025-10-12T18:57:39.618863 #1395] ERROR -- : /usr/local/bigbluebutton/core/lib/recordandplayback/workers/base_worker.rb:44:in `perform'
recordings-1 | E, [2025-10-12T18:57:39.618890 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/job.rb:168:in `perform'
recordings-1 | E, [2025-10-12T18:57:39.618917 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:322:in `perform'
recordings-1 | E, [2025-10-12T18:57:39.618952 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:922:in `block in perform_with_fork'
recordings-1 | E, [2025-10-12T18:57:39.618976 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:920:in `fork'
recordings-1 | E, [2025-10-12T18:57:39.619008 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:920:in `perform_with_fork'
recordings-1 | E, [2025-10-12T18:57:39.619032 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:278:in `work_one_job'
recordings-1 | E, [2025-10-12T18:57:39.619062 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:249:in `block in work'
recordings-1 | E, [2025-10-12T18:57:39.619085 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:246:in `loop'
recordings-1 | E, [2025-10-12T18:57:39.619106 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/worker.rb:246:in `work'
recordings-1 | E, [2025-10-12T18:57:39.619129 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/resque-2.6.0/lib/resque/tasks.rb:20:in `block (2 levels) in <top (required)>'
recordings-1 | E, [2025-10-12T18:57:39.619165 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
recordings-1 | E, [2025-10-12T18:57:39.619189 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
recordings-1 | E, [2025-10-12T18:57:39.619211 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
recordings-1 | E, [2025-10-12T18:57:39.619255 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
recordings-1 | E, [2025-10-12T18:57:39.619291 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
recordings-1 | E, [2025-10-12T18:57:39.619334 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
recordings-1 | E, [2025-10-12T18:57:39.619385 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
recordings-1 | E, [2025-10-12T18:57:39.619421 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
recordings-1 | E, [2025-10-12T18:57:39.619486 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
recordings-1 | E, [2025-10-12T18:57:39.619527 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
recordings-1 | E, [2025-10-12T18:57:39.619564 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
recordings-1 | E, [2025-10-12T18:57:39.619600 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
recordings-1 | E, [2025-10-12T18:57:39.619637 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
recordings-1 | E, [2025-10-12T18:57:39.619671 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'
recordings-1 | E, [2025-10-12T18:57:39.619704 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
recordings-1 | E, [2025-10-12T18:57:39.619750 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
recordings-1 | E, [2025-10-12T18:57:39.619800 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
recordings-1 | E, [2025-10-12T18:57:39.619842 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/bin/rake:25:in `load'
recordings-1 | E, [2025-10-12T18:57:39.619883 #1395] ERROR -- : /usr/local/bigbluebutton/core/vendor/bundle/ruby/3.0.0/bin/rake:25:in `<main>'
recordings-1 | E, [2025-10-12T18:57:39.620207 #1395] ERROR -- : (Job{rap:process} | BigBlueButton::Resque::ProcessWorker | [{"meeting_id"=>"04cb752b7d1d824eb24a34423f6fd2e5a4f019db-1757408683004", "single_step"=>false, "format_name"=>"video"}]) failed: #<RuntimeError: Worker process for 04cb752b7d1d824eb24a34423f6fd2e5a4f019db-1757408683004 failed with result false>
Can you help me out? What am I missing?
Metadata
Metadata
Assignees
Labels
No labels
Activity
daboriginal commentedon Oct 15, 2025
I've almost the same issue but with screenshare
I manually added the screenshare workflow to the recordings container.
As I found in recordings logfile - the postprocessor can not find recordings files of screenshare in my case to combine them.
So it seems that there is no raw data recorded and nothing to postprocess...
I'm in search of solution
daboriginal commentedon Oct 15, 2025
and I've found it
@niels-heinemann
I've done changes like You mentioned to docker-compose and recordings Dockerfile
then I've rebuilt the recordings container with
docker compose build recordingsthan I put compose down and up with new recordings-image
ben-ba commentedon Oct 22, 2025
The trick is, not only adding the scripts for the recording processing, u need also the playback files:
but first the error u get is this (see ur last line)
But before this error is thrown you should see an INFO in the log like -> missing file:
Little How-To without image rebuild, but with the disadvantage that it is not container "recreate" safe
documentation for the plain installation;
https://docs.bigbluebutton.org/administration/customize/#install-additional-recording-processing-formats
adjust the premissions for the folders scripts and playback
docker compose exec recordings chown 998:998 -R /usr/local/bigbluebutton/core/scripts /usr/local/bigbluebutton/core/playbackenable a new format, like video. Edit your recording.yml on the docker host, path to this file is ./mod/recording/recording.yml
the following commands run inside the recording container, so open a shell with docker compose exec -it recording /bin/bash
(optional) if u want to change the resolution for the resulting video, default is 1280x720, edit maybe directly inside the container the following file:
/usr/local/bigbluebutton/core/scripts/video.yml(optional) if u want to change codec settings, edit also the following file (same folder)
/usr/local/bigbluebutton/core/scripts/screenshare.ymlrestart the services inside the container #the services are defined in /etc/supervisor/conf.d/supervisord.conf
bbb-record --checkchown 998:998 -R /var/log/bigbluebuttonverify if the new formats are available now
bbb-record --list-workflows(optional) rebuild all recordings or one
daboriginal commentedon Nov 5, 2025
One more thing
In screenshare process script-file you need to change this line
props = YAML::load(File.open(File.expand_path('../../bigbluebutton.yml', __FILE__)))to this
props = BigBlueButton.read_propslike it is in presentation process file
otherwise it'll publish the screenshares with 127.0.0.1 in
urlat metadata.xmlAnd one more:
this line
docker compose cp bigbluebutton/record-and-playback/screenshare/playback recordings:/usr/local/bigbluebutton/coreshould be like
docker compose cp bigbluebutton/record-and-playback/screenshare/playback recordings:/usr/local/bigbluebutton/core/playback/screenshareAs I saw it could be the same for video scripts.
Unfortunately method from @ben-ba is temporary
I'm trying now to make it fixed
Ashaxer commentedon Nov 29, 2025
I managed to make it work permanently
check out my page
https://github.com/Ashaxer/BBB-Docker-MP4-DownloadBTN
ben-ba commentedon Nov 29, 2025
Nice, but one question, why do u didn't use the default way and using a dependening 3rd party approach?
Ashaxer commentedon Nov 30, 2025
Good question, I used my method a while ago, before your solution, and it worked for almost 2 months, since I did not encounter any bugs or issues with my setup; I decided to share it! I wish I had known your solution sooner :D
niels-heinemann commentedon Mar 3, 2026
Hey folks, thanks for your hints. When setting this up with 3.0.19 and processing the recordings I only get
"error: undefined method `exists?' for File:Class"
which seems to be caused by a newer ruby version of the recordings service (3.2.x) than in den processing scripts.
To get the scripts I pulled bigbluebutton repo and checked out v3.0.19. Was that wrong?
niels-heinemann commentedon Mar 3, 2026
This is my enable-.recordings-script by now. If anybody needs it:
shaneonabike commentedon May 4, 2026
@niels-heinemann is this assume that you have a local folder
/usr/local/bigbluebuttonand another that is/var/log/bigbluebuttonor are those within the docker.When I run this I get
ben-ba commentedon May 4, 2026
docker compose cp ../bigbluebutton/record-and-playback/notes/scripts recordings:/usr/local/bigbluebutton/core../bigbluebutton/record-and-playback/notes/scripts-> local path (atm u run this script u are inside the bbb-docker foldernote niels note ;)
so you have this repo bbb-docker and on the same level u have the bigbluebutton main repo
recordingsname of the container (compare output docker ps)
/usr/local/bigbluebutton/corethe path inside the container
to verify all changes u can start a shell inside the container (if bash won't work use sh as shell)
docker exec -it recordings /bin/bashniels-heinemann commentedon May 4, 2026
Do as @ben-ba says, just checkout bbb main repo to anywhere you want and use it as the source for the needed files.
shaneonabike commentedon May 14, 2026
Ok nice! That was the issue. I just assumed it was all there but clearly we need to make a new repo instance in order to properly copy this. It is strange it's not included in the actual docker, but that's fine.
One last question pertaining to generation. Basically, I requeued an item with
bbb-record --rebuild <ID>`, but then executingdocker compose build recordings` I get:So I copied over the scripts for
presentation, which were missing from your script @niels-heinemann (maybe on purpose?)But now I get
I do see recordings, and they are reporting published but I don't see them on the front-end interface?
Should I not use this method to rebuild and stick to using
bbb-recordinstead?Thanks for your help!
niels-heinemann commentedon May 30, 2026
Hi @shaneonabike , I'm afraid, I don't understand your point.
The presentation files are included in the docker setup and used as default playback format AFAIR. Maybe your missing files indicate that your docker repo is corrupt?
niels-heinemann commentedon Aug 12, 2026
When updating to 3.0.23 I updated my enable-recordings script, see file attached
enable-recordings.sh