You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @tilmanmoser,
Thanks for this enhancement. I'm getting some errors and will appreciate your help resolving the issue. I've followed the guide exactly as documented, the only thing I changed was from --user 998:998 to --user=998:998 based on docker documentation. I've tried using both the manual option and bbb-record --rebuild, please see below the result in both cases.
When I run the command manually for an already published presentation, I get the error below
ubuntu@ip-xxx-xx-x-xxx:/opt/bbb-video-download$ sudo -u bigbluebutton docker-compose run --rm --user=998:998 app node index.js -i /var/bigbluebutton/published/presentation/f729564ec72824546f0eab6badd8e9398b4e56cf-1614810834891 -o /var/bigbluebutton/published/presentation/f729564ec72824546f0eab6badd8e9398b4e56cf-1614810834891/video.mp4
[Start] Rendering downloadable video for BBB presentation {
args: Namespace(input='/var/bigbluebutton/published/presentation/f729564ec72824546f0eab6badd8e9398b4e56cf-1614810834891', output='/var/bigbluebutton/published/presentation/f729564ec72824546f0eab6badd8e9398b4e56cf-1614810834891/video.mp4'),
format: 'mp4',
docker: true
}
[Error] Failed rendering downloable video for BBB presentation {
args: Namespace(input='/var/bigbluebutton/published/presentation/f729564ec72824546f0eab6badd8e9398b4e56cf-1614810834891', output='/var/bigbluebutton/published/presentation/f729564ec72824546f0eab6badd8e9398b4e56cf-1614810834891/video.mp4'),
format: 'mp4',
docker: true,
workdir: './tmp/datakDAFEj'
} TypeError: Cannot read property 'isOnlyAudio' of null
at combinePresentationWithWebcams (/home/bigbluebutton/modules/processor.js:53:33)
at module.exports.createVideo (/home/bigbluebutton/modules/processor.js:21:29)
at async run (/home/bigbluebutton/index.js:10:9)
When I rebuild an existing presentation, the video.mp4 file is not created.
To be honest, I have no clue, how this can happen at all. If the webcams object is null, the code should never reach the line, where it breaks:
in the function combinePresentationWithWebcams are two null checks before that line, that handle non existing webcams:
[...]
if (!presentation && !webcams)
[...]
if (presentation && !webcams)
[...]
if (presentation && webcams.isOnlyAudio)
[...]
Can you provide the presentation data in question to run some tests on it?
Hello @tilmanmoser,
Thanks for this enhancement. I'm getting some errors and will appreciate your help resolving the issue. I've followed the guide exactly as documented, the only thing I changed was from
--user 998:998
to--user=998:998
based on docker documentation. I've tried using both the manual option andbbb-record --rebuild
, please see below the result in both cases.Any suggestion on how to fix this, preferably the second option so that mp4 videos are published automatically.
Thanks for your help.
The text was updated successfully, but these errors were encountered: