Jitsi / Jibri - Record Videocall. Please Help!

I´ve installed Jitsi / Jibri using this tool/guide (installers/jitsi-jibri at main · jitsi-contrib/installers · GitHub). After running this script, jitsi works fine.

But when trying to record a video call, I cannot and can get this error message

– Log /var/log/jitsi/jibri/log.0.txt
2023-02-21 22:22:23.123 INFO: [60] [session_id=pvioyiuzjvrtebdt] EmptyCallStatusCheck.#26: Starting empty call check with a timeout of PT30S
2023-02-21 22:22:23.144 INFO: [60] [session_id=pvioyiuzjvrtebdt] JibriSelenium.onSeleniumStateChange#216: Transitioning from state Starting up to Running
2023-02-21 22:22:23.145 INFO: [60] [session_id=pvioyiuzjvrtebdt] FileRecordingJibriService$start$1.invoke#168: Selenium joined the call, starting the capturer
2023-02-21 22:22:23.182 INFO: [60] [session_id=pvioyiuzjvrtebdt] JibriSubprocess.launch#42: Starting ffmpeg with command ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 -thread_queue_size 4096 -i :0.0+0,0 -f alsa -thread_queue_size 4096 -i plug:bsnoop -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset veryfast -profile:v main -level 3.1 -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f mp4 /usr/local/recordings/pvioyiuzjvrtebdt/1234_2023-02-21-22-22-19.mp4 ([ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1920x1080, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, plug:bsnoop, -acodec, aac, -strict, -2, -ar, 44100, -b:a, 128k, -af, aresample=async=1, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4, /usr/local/recordings/pvioyiuzjvrtebdt/1234_2023-02-21-22-22-19.mp4])
2023-02-21 22:22:28.190 FINE: [19] [session_id=pvioyiuzjvrtebdt] ProcessStatePublisher$startProcessAliveChecks$1.invoke#86: Process ffmpeg hasn’t written in 2 seconds, publishing periodic update
2023-02-21 22:22:28.190 INFO: [63] [session_id=pvioyiuzjvrtebdt] FfmpegCapturer.onFfmpegProcessUpdate#125: Ffmpeg quit abruptly. Last output line: plug:bsnoop: Input/output error
2023-02-21 22:22:28.198 INFO: [63] [session_id=pvioyiuzjvrtebdt] FfmpegCapturer.onFfmpegStateMachineStateChange#134: Ffmpeg capturer transitioning from state Starting up to Error: QuitUnexpectedly SESSION plug:bsnoop: Input/output error
2023-02-21 22:22:28.199 INFO: [63] [session_id=pvioyiuzjvrtebdt] StatefulJibriService.onServiceStateChange#39: File recording service transitioning from state Starting up to Error: QuitUnexpectedly SESSION plug:bsnoop: Input/output error
2023-02-21 22:22:28.200 INFO: [63] XmppApi$createServiceStatusHandler$1.invoke#317: Current service had an error Error: QuitUnexpectedly SESSION plug:bsnoop: Input/output error, sending error iq
2023-02-21 22:22:28.208 FINE: [63] JibriStatsDClient.incrementCounter#38: Incrementing statsd counter: stop:recording
2023-02-21 22:22:28.208 INFO: [63] JibriManager.stopService#260: Stopping the current service
2023-02-21 22:22:28.208 INFO: [63] [session_id=pvioyiuzjvrtebdt] FileRecordingJibriService.stop#182: Stopping capturer
2023-02-21 22:22:28.208 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSubprocess.stop#75: Stopping ffmpeg process
2023-02-21 22:22:28.217 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSubprocess.stop#89: ffmpeg exited with value 1
2023-02-21 22:22:28.218 INFO: [63] [session_id=pvioyiuzjvrtebdt] FileRecordingJibriService.stop#184: Quitting selenium
2023-02-21 22:22:28.219 INFO: [63] [session_id=pvioyiuzjvrtebdt] FileRecordingJibriService.stop#191: No media was recorded, deleting directory and skipping metadata file & finalize
2023-02-21 22:22:28.219 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#338: Leaving call and quitting browser
2023-02-21 22:22:28.219 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#341: Recurring call status checks cancelled
2023-02-21 22:22:28.236 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#347: Got 8 log entries for type browser
2023-02-21 22:22:28.312 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#347: Got 409 log entries for type driver
2023-02-21 22:22:28.363 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#347: Got 0 log entries for type client
2023-02-21 22:22:28.364 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#356: Leaving web call
2023-02-21 22:22:28.478 INFO: [63] [session_id=pvioyiuzjvrtebdt] JibriSelenium.leaveCallAndQuitBrowser#363: Quitting chrome driver

Additional information about the installation
Running on Ubuntu 20.04 on Azure

– Service Status
root@videocall2:~# sudo systemctl status jibri
● jibri.service - Jibri Process
Loaded: loaded (/etc/systemd/system/jibri.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-02-21 22:30:04 UTC; 9min ago
Main PID: 3592 (java)
Tasks: 55 (limit: 19192)
Memory: 266.7M
CGroup: /system.slice/jibri.service
└─3592 java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file=/etc/jitsi/jibri/jibri.conf -jar /opt/jitsi/jibri/jibri.jar --config /etc/jitsi/>

Feb 21 22:30:05 launch.sh[3592]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Feb 21 22:30:30 launch.sh[3592]: Starting ChromeDriver 110.0.5481.77 (65ed616c6e8ee3fe0ad64fe83796c020644d42af-refs/branch-heads/5481@{#839}) on port 1929
Feb 21 22:30:30 launch.sh[3592]: Only local connections are allowed.
Feb 21 22:30:30 launch.sh[3592]: Please see ChromeDriver - WebDriver for Chrome - Security Considerations for suggestions on keeping ChromeDriver safe.
Feb 21 22:30:30 launch.sh[3592]: ChromeDriver was started successfully.
Feb 21 22:30:39 launch.sh[3592]: WARNING: An illegal reflective access operation has occurred
Feb 21 22:30:39 launch.sh[3592]: WARNING: Illegal reflective access by org.jitsi.jibri.util.extensions.ProcessKt (file:/opt/jitsi/jibri/jibri.jar) to field java.la>
Feb 21 22:30:39 launch.sh[3592]: WARNING: Please consider reporting this to the maintainers of org.jitsi.jibri.util.extensions.ProcessKt
Feb 21 22:30:39 launch.sh[3592]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Feb 21 22:30:39 launch.sh[3592]: WARNING: All illegal access operations will be denied in a future release

root@videocall2:~# sudo systemctl status jitsi-videobridge2
● jitsi-videobridge2.service - Jitsi Videobridge
Loaded: loaded (/lib/systemd/system/jitsi-videobridge2.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-02-21 22:30:04 UTC; 10min ago
Process: 3618 ExecStartPost=/bin/bash -c echo $MAINPID > /var/run/jitsi-videobridge/jitsi-videobridge.pid (code=exited, status=0/SUCCESS)
Main PID: 3617 (java)
Tasks: 62 (limit: 65000)
Memory: 458.1M
CGroup: /system.slice/jitsi-videobridge2.service
└─3617 java -Xmx3072m -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djdk.tls.ephemeralDHKeySize=2048 -Dconfig.file=/etc/jitsi/videobridge/jvb.conf -Dnet>

Feb 21 22:30:04 systemd[1]: Starting Jitsi Videobridge…
Feb 21 22:30:04 systemd[1]: Started Jitsi Videobridge.

root@videocall2:~# java -version
openjdk version “11.0.17” 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu220.04)
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu220.04, mixed mode)

Regards for your help!

If I start Jibri by command line…

jibri@videocall2:~$ exec java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file=“/etc/jitsi/jibri/jibri.conf” -jar /opt/jitsi/jibri/jibri.jar --config “/etc/jitsi/jibri/config.json”
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Starting ChromeDriver 110.0.5481.77 (65ed616c6e8ee3fe0ad64fe83796c020644d42af-refs/branch-heads/5481@{#839}) on port 27232
Only local connections are allowed.
Please see ChromeDriver - WebDriver for Chrome - Security Considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jitsi.jibri.util.extensions.ProcessKt (file:/opt/jitsi/jibri/jibri.jar) to field java.lang.ProcessImpl.pid
WARNING: Please consider reporting this to the maintainers of org.jitsi.jibri.util.extensions.ProcessKt
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Continuing the troubleshoot, I´ve tested jibri install with

root@videocall2:~# ./test-jibri-env.sh

########################################################################
Welcome to Jibri Environment Tester
########################################################################
by Software, IT & Networks Ltd

Checking for updates…
E: The repository ‘Index of /mc3man/trusty-media/ubuntu focal Release’ does not have a Release file.

#1 – Check repository –

This installation is using the “stable” repository.

#2 – Check latest updates for jibri –

Jibri is installed, checking version:
jibri:all/stable 8.0-140-gccc7278-1 uptodate
Jibri is already up to date: :heavy_check_mark:

#3 – Check Google Chrome/driver software. –

Google Chrome 110.0.5481.100
ChromeDriver 110.0.5481.77
Google Chrome is already up to date: :heavy_check_mark:

Chromedriver version seems according to Google Chrome: :heavy_check_mark:

#4 – Test kernel modules –

Great!, module snd-aloop found. :heavy_check_mark:

#5 – Test .asoundrc file –

Seems to be using the latest asoundrc file available. :heavy_check_mark:

#6 – Old or new config –

What config version is this using?

#6.1 – Check for specific Chrome flag –

Seems you have the “–ignore-certificate-errors” flag required for Chrome v88 and later. :heavy_check_mark:

If you think there maybe an error on checking you current jibri configuration.
Please report this to Issues · switnet-ltd/quick-jibri-installer · GitHub

#7 – Check for open communication port among Jibri and JMS –

Connection to 5222 port [tcp/xmpp-client] succeeded!
Connection succeeded! :heavy_check_mark:

##############################
Score: 6.1 out of 7.1
##############################

Jibri Test complete, thanks for testing.

The error occurs while ``ffmpeg` records the desktop and it seems related with the sound devices.

What is the output for

aplay -l

ps auxww

root@videocall2:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7

root@videocall2:~# ps auxww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 168444 11484 ? Ss 00:55 0:02 /sbin/init
root 2 0.0 0.0 0 0 ? S 00:55 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 00:55 0:00 [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 00:55 0:00 [rcu_par_gp]
root 5 0.0 0.0 0 0 ? I< 00:55 0:00 [slub_flushwq]
root 6 0.0 0.0 0 0 ? I< 00:55 0:00 [netns]
root 8 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/0:0H-events_highpri]
root 10 0.0 0.0 0 0 ? I< 00:55 0:00 [mm_percpu_wq]
root 11 0.0 0.0 0 0 ? S 00:55 0:00 [rcu_tasks_rude_]
root 12 0.0 0.0 0 0 ? S 00:55 0:00 [rcu_tasks_trace]
root 13 0.0 0.0 0 0 ? S 00:55 0:00 [ksoftirqd/0]
root 14 0.0 0.0 0 0 ? I 00:55 0:00 [rcu_sched]
root 15 0.0 0.0 0 0 ? S 00:55 0:00 [migration/0]
root 17 0.0 0.0 0 0 ? S 00:55 0:00 [cpuhp/0]
root 18 0.0 0.0 0 0 ? S 00:55 0:00 [cpuhp/1]
root 19 0.0 0.0 0 0 ? S 00:55 0:00 [migration/1]
root 20 0.0 0.0 0 0 ? R 00:55 0:00 [ksoftirqd/1]
root 22 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/1:0H-events_highpri]
root 23 0.0 0.0 0 0 ? S 00:55 0:00 [cpuhp/2]
root 24 0.0 0.0 0 0 ? S 00:55 0:00 [migration/2]
root 25 0.0 0.0 0 0 ? S 00:55 0:00 [ksoftirqd/2]
root 27 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/2:0H-events_highpri]
root 28 0.0 0.0 0 0 ? S 00:55 0:00 [cpuhp/3]
root 29 0.0 0.0 0 0 ? S 00:55 0:00 [migration/3]
root 30 0.0 0.0 0 0 ? S 00:55 0:00 [ksoftirqd/3]
root 32 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/3:0H-events_highpri]
root 33 0.0 0.0 0 0 ? S 00:55 0:00 [kdevtmpfs]
root 34 0.0 0.0 0 0 ? I< 00:55 0:00 [inet_frag_wq]
root 35 0.0 0.0 0 0 ? S 00:55 0:00 [kauditd]
root 36 0.0 0.0 0 0 ? S 00:55 0:00 [khungtaskd]
root 37 0.0 0.0 0 0 ? S 00:55 0:00 [oom_reaper]
root 38 0.0 0.0 0 0 ? I< 00:55 0:00 [writeback]
root 39 0.0 0.0 0 0 ? S 00:55 0:01 [kcompactd0]
root 40 0.0 0.0 0 0 ? SN 00:55 0:00 [ksmd]
root 41 0.0 0.0 0 0 ? SN 00:55 0:00 [khugepaged]
root 47 0.0 0.0 0 0 ? I 00:55 0:01 [kworker/3:1-mm_percpu_wq]
root 88 0.0 0.0 0 0 ? I< 00:55 0:00 [kintegrityd]
root 89 0.0 0.0 0 0 ? I< 00:55 0:00 [kblockd]
root 90 0.0 0.0 0 0 ? I< 00:55 0:00 [blkcg_punt_bio]
root 91 0.0 0.0 0 0 ? I< 00:55 0:00 [tpm_dev_wq]
root 92 0.0 0.0 0 0 ? I< 00:55 0:00 [ata_sff]
root 93 0.0 0.0 0 0 ? I< 00:55 0:00 [md]
root 94 0.0 0.0 0 0 ? I< 00:55 0:00 [edac-poller]
root 95 0.0 0.0 0 0 ? I< 00:55 0:00 [hv_vmbus_con]
root 96 0.0 0.0 0 0 ? I< 00:55 0:00 [hv_pri_chan]
root 97 0.0 0.0 0 0 ? I< 00:55 0:00 [hv_sub_chan]
root 98 0.0 0.0 0 0 ? I< 00:55 0:00 [devfreq_wq]
root 99 0.0 0.0 0 0 ? S 00:55 0:00 [watchdogd]
root 100 0.0 0.0 0 0 ? I 00:55 0:01 [kworker/1:1-cgroup_destroy]
root 102 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/0:1H-kblockd]
root 104 0.0 0.0 0 0 ? S 00:55 0:00 [kswapd0]
root 105 0.0 0.0 0 0 ? S 00:55 0:00 [ecryptfs-kthrea]
root 107 0.0 0.0 0 0 ? I< 00:55 0:00 [kthrotld]
root 108 0.0 0.0 0 0 ? I< 00:55 0:00 [nfit]
root 109 0.0 0.0 0 0 ? I< 00:55 0:00 [nvme-wq]
root 110 0.0 0.0 0 0 ? S 00:55 0:00 [scsi_eh_0]
root 112 0.0 0.0 0 0 ? I< 00:55 0:00 [nvme-reset-wq]
root 113 0.0 0.0 0 0 ? I< 00:55 0:00 [scsi_tmf_0]
root 114 0.0 0.0 0 0 ? S 00:55 0:00 [scsi_eh_1]
root 115 0.0 0.0 0 0 ? I< 00:55 0:00 [nvme-delete-wq]
root 116 0.0 0.0 0 0 ? I< 00:55 0:00 [scsi_tmf_1]
root 117 0.0 0.0 0 0 ? I< 00:55 0:00 [vfio-irqfd-clea]
root 123 0.0 0.0 0 0 ? I< 00:55 0:00 [mld]
root 124 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/1:1H-kblockd]
root 125 0.0 0.0 0 0 ? I< 00:55 0:00 [ipv6_addrconf]
root 130 0.0 0.0 0 0 ? S 00:55 0:00 [hv_balloon]
root 135 0.0 0.0 0 0 ? I< 00:55 0:00 [kstrp]
root 139 0.0 0.0 0 0 ? I< 00:55 0:00 [zswap-shrink]
root 140 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/u9:0]
root 147 0.0 0.0 0 0 ? S 00:55 0:00 [jbd2/sdb1-8]
root 148 0.0 0.0 0 0 ? I< 00:55 0:00 [ext4-rsv-conver]
root 185 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/2:1H-kblockd]
root 187 0.0 0.0 0 0 ? I< 00:55 0:00 [kworker/3:1H-kblockd]
root 191 0.0 0.1 52156 18208 ? S<s 00:55 0:00 /lib/systemd/systemd-journald
root 228 0.0 0.0 21200 6344 ? Ss 00:55 0:00 /lib/systemd/systemd-udevd
root 275 0.0 0.0 0 0 ? I< 00:55 0:00 [cryptd]
root 287 0.0 0.0 2496 572 ? S 00:55 0:00 bpfilter_umh
root 360 0.0 0.0 4236 3196 ? Ss 00:55 0:30 /usr/lib/linux-tools/5.15.0-1033-azure/hv_kvp_daemon -n
root 493 0.0 0.0 0 0 ? I< 00:55 0:00 [kaluad]
root 494 0.0 0.0 0 0 ? I< 00:55 0:00 [kmpath_rdacd]
root 495 0.0 0.0 0 0 ? I< 00:55 0:00 [kmpathd]
root 496 0.0 0.0 0 0 ? I< 00:55 0:00 [kmpath_handlerd]
root 497 0.0 0.1 280208 17800 ? SLsl 00:55 0:03 /sbin/multipathd -d -s
systemd+ 651 0.0 0.0 27404 7612 ? Ss 00:56 0:00 /lib/systemd/systemd-networkd
systemd+ 654 0.0 0.0 24552 12064 ? Ss 00:56 0:00 /lib/systemd/systemd-resolved
root 694 0.0 0.0 0 0 ? S 00:56 0:00 [jbd2/sdc1-8]
root 695 0.0 0.0 0 0 ? I< 00:56 0:00 [ext4-rsv-conver]
root 697 0.0 0.0 241060 9244 ? Ssl 00:56 0:00 /usr/lib/accountsservice/accounts-daemon
root 707 0.0 0.0 8548 2992 ? Ss 00:56 0:00 /usr/sbin/cron -f
message+ 709 0.0 0.0 7688 4752 ? Ss 00:56 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
_chrony 714 0.0 0.0 4828 2532 ? S 00:56 0:09 /usr/sbin/chronyd -F -1
_chrony 715 0.0 0.0 4696 196 ? S 00:56 0:00 /usr/sbin/chronyd -F -1
root 719 0.0 0.0 81832 3772 ? Ssl 00:56 0:00 /usr/sbin/irqbalance --foreground
jibri 722 0.0 0.4 426756 69512 ? Ssl 00:56 0:00 /usr/lib/xorg/Xorg -nocursor -noreset +extension RANDR +extension RENDER -logfile /var/log/jitsi/jibri/xorg.log -config /etc/jitsi/jibri/xorg-video-dummy.conf :0
jibri 723 0.0 0.0 5972 1728 ? Ss 00:56 0:00 /usr/bin/icewm-session
jibri 725 0.1 1.9 7904012 322468 ? Ssl 00:56 1:02 java -Djava.util.logging.config.file=/etc/jitsi/jibri/logging.properties -Dconfig.file=/etc/jitsi/jibri/jibri.conf -jar /opt/jitsi/jibri/jibri.jar --config /etc/jitsi/jibri/config.json
jvb 731 0.6 2.8 6985052 466276 ? Ssl 00:56 4:04 java -Xmx3072m -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djdk.tls.ephemeralDHKeySize=2048 -Dconfig.file=/etc/jitsi/videobridge/jvb.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties -cp /usr/share/jitsi-videobridge/jitsi-videobridge.jar:/usr/share/jitsi-videobridge/lib/* org.jitsi.videobridge.MainKt
root 733 0.0 0.1 29968 18492 ? Ss 00:56 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
root 735 0.0 0.0 236448 9000 ? Ssl 00:56 0:00 /usr/lib/policykit-1/polkitd --no-debug
prosody 736 0.0 0.1 67552 27696 ? Ss 00:56 0:36 lua /usr/bin/prosody -F
syslog 741 0.0 0.0 224324 4628 ? Ssl 00:56 0:00 /usr/sbin/rsyslogd -n -iNONE
root 746 0.0 0.3 1170712 52804 ? Ssl 00:56 0:01 /usr/lib/snapd/snapd
root 748 0.0 0.0 17520 8236 ? Ss 00:56 0:00 /lib/systemd/systemd-logind
root 755 0.0 0.0 395612 15864 ? Ssl 00:56 0:00 /usr/lib/udisks2/udisksd
root 756 0.0 0.1 28816 21380 ? Ss 00:56 0:00 /usr/bin/python3 -u /usr/sbin/waagent -daemon
daemon 760 0.0 0.0 3804 2272 ? Ss 00:56 0:00 /usr/sbin/atd -f
root 768 0.0 0.0 12188 7512 ? Ss 00:56 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
jibri 787 0.0 0.0 21908 10092 ? SNs 00:56 0:00 /usr/bin/icewmbg
jibri 788 0.0 0.0 27904 12236 ? Ss 00:56 0:00 /usr/bin/icewm --notify
jicofo 800 0.2 2.5 6899248 414720 ? Sl 00:56 1:21 java -Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djdk.tls.ephemeralDHKeySize=2048 -Dconfig.file=/etc/jitsi/jicofo/jicofo.conf -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties -cp /usr/share/jicofo/jicofo.jar:/usr/share/jicofo/lib/agafua-syslog-0.4.jar:/usr/share/jicofo/lib/annotations-23.0.0.jar:/usr/share/jicofo/lib/aopalliance-repackaged-3.0.1.jar:/usr/share/jicofo/lib/cglib-nodep-2.2.jar:/usr/share/jicofo/lib/commons-codec-1.11.jar:/usr/share/jicofo/lib/commons-lang3-3.12.0.jar:/usr/share/jicofo/lib/commons-logging-1.2.jar:/usr/share/jicofo/lib/config-1.4.2.jar:/usr/share/jicofo/lib/gson-2.8.5.jar:/usr/share/jicofo/lib/hk2-api-3.0.1.jar:/usr/share/jicofo/lib/hk2-locator-3.0.1.jar:/usr/share/jicofo/lib/hk2-utils-3.0.1.jar:/usr/share/jicofo/lib/httpclient-4.5.13.jar:/usr/share/jicofo/lib/httpcore-4.4.14.jar:/usr/share/jicofo/lib/jackson-annotations-2.13.0.jar:/usr/share/jicofo/lib/jackson-core-2.13.0.jar:/usr/share/jicofo/lib/jackson-databind-2.13.0.jar:/usr/share/jicofo/lib/jackson-module-jakarta-xmlbind-annotations-2.13.0.jar:/usr/share/jicofo/lib/jackson-module-kotlin-2.14.1.jar:/usr/share/jicofo/lib/jakarta.activation-2.0.1.jar:/usr/share/jicofo/lib/jakarta.annotation-api-2.0.0.jar:/usr/share/jicofo/lib/jakarta.inject-api-2.0.0.jar:/usr/share/jicofo/lib/jakarta.validation-api-3.0.0.jar:/usr/share/jicofo/lib/jakarta.ws.rs-api-3.0.0.jar:/usr/share/jicofo/lib/jakarta.xml.bind-api-3.0.1.jar:/usr/share/jicofo/lib/javassist-3.28.0-GA.jar:/usr/share/jicofo/lib/jcl-core-2.8.jar:/usr/share/jicofo/lib/jersey-client-3.0.4.jar:/usr/share/jicofo/lib/jersey-common-3.0.4.jar:/usr/share/jicofo/lib/jersey-container-jetty-http-3.0.4.jar:/usr/share/jicofo/lib/jersey-container-servlet-3.0.4.jar:/usr/share/jicofo/lib/jersey-container-servlet-core-3.0.4.jar:/usr/share/jicofo/lib/jersey-entity-filtering-3.0.4.jar:/usr/share/jicofo/lib/jersey-hk2-3.0.4.jar:/usr/share/jicofo/lib/jersey-media-json-jackson-3.0.4.jar:/usr/share/jicofo/lib/jersey-server-3.0.4.jar:/usr/share/jicofo/lib/jetty-alpn-client-11.0.10.jar:/usr/share/jicofo/lib/jetty-client-11.0.10.jar:/usr/share/jicofo/lib/jetty-http-11.0.10.jar:/usr/share/jicofo/lib/jetty-io-11.0.10.jar:/usr/share/jicofo/lib/jetty-jakarta-servlet-api-5.0.2.jar:/usr/share/jicofo/lib/jetty-proxy-11.0.10.jar:/usr/share/jicofo/lib/jetty-security-11.0.10.jar:/usr/share/jicofo/lib/jetty-server-11.0.10.jar:/usr/share/jicofo/lib/jetty-servlet-11.0.10.jar:/usr/share/jicofo/lib/jetty-servlets-11.0.10.jar:/usr/share/jicofo/lib/jetty-util-11.0.10.jar:/usr/share/jicofo/lib/jicoco-1.1-122-g7bba0d6.jar:/usr/share/jicofo/lib/jicoco-config-1.1-122-g7bba0d6.jar:/usr/share/jicofo/lib/jicoco-metrics-1.1-122-g7bba0d6.jar:/usr/share/jicofo/lib/jicofo-common-1.0-996.jar:/usr/share/jicofo/lib/jicofo-selector-1.0-996.jar:/usr/share/jicofo/lib/jitsi-metaconfig-1.0-9-g5e1b624.jar:/usr/share/jicofo/lib/jitsi-utils-1.0-119-ga7b23ff.jar:/usr/share/jicofo/lib/jitsi-xmpp-extensions-1.0-64-gf221325.jar:/usr/share/jicofo/lib/jna-5.9.0.jar:/usr/share/jicofo/lib/json-simple-1.1.1.jar:/usr/share/jicofo/lib/jsr305-3.0.2.jar:/usr/share/jicofo/lib/jxmpp-core-1.0.3.jar:/usr/share/jicofo/lib/jxmpp-jid-1.0.3.jar:/usr/share/jicofo/lib/jxmpp-util-cache-1.0.3.jar:/usr/share/jicofo/lib/kotlin-reflect-1.6.21.jar:/usr/share/jicofo/lib/kotlin-stdlib-1.6.21.jar:/usr/share/jicofo/lib/kotlin-stdlib-common-1.6.21.jar:/usr/share/jicofo/lib/kotlin-stdlib-jdk7-1.6.21.jar:/usr/share/jicofo/lib/kotlin-stdlib-jdk8-1.6.21.jar:/usr/share/jicofo/lib/minidns-core-1.0.4.jar:/usr/share/jicofo/lib/object-cloner-0.1.jar:/usr/share/jicofo/lib/objenesis-3.2.jar:/usr/share/jicofo/lib/osgi-resource-locator-1.0.3.jar:/usr/share/jicofo/lib/sentry-5.4.0.jar:/usr/share/jicofo/lib/simpleclient-0.16.0.jar:/usr/share/jicofo/lib/simpleclient_common-0.16.0.jar:/usr/share/jicofo/lib/simpleclient_tracer_common-0.16.0.jar:/usr/share/jicofo/lib/simpleclient_tracer_otel-0.16.0.jar:/usr/share/jicofo/lib/simpleclient_tracer_otel_agent-0.16.0.jar:/usr/share/jicofo/lib/slf4j-api-1.7.32.jar:/usr/share/jicofo/lib/slf4j-jdk14-1.7.32.jar:/usr/share/jicofo/lib/smack-core-4.4.6.jar:/usr/share/jicofo/lib/smack-extensions-4.4.6.jar:/usr/share/jicofo/lib/smack-im-4.4.6.jar:/usr/share/jicofo/lib/smack-java8-4.4.6.jar:/usr/share/jicofo/lib/smack-resolver-javax-4.4.6.jar:/usr/share/jicofo/lib/smack-sasl-javax-4.4.6.jar:/usr/share/jicofo/lib/smack-streammanagement-4.4.6.jar:/usr/share/jicofo/lib/smack-tcp-4.4.6.jar:/usr/share/jicofo/lib/smack-xmlparser-4.4.6.jar:/usr/share/jicofo/lib/smack-xmlparser-stax-4.4.6.jar:/usr/share/jicofo/lib/spotbugs-annotations-4.6.0.jar org.jitsi.jicofo.Main
root 814 0.0 0.0 318832 15440 ? Ssl 00:56 0:00 /usr/sbin/ModemManager
root 839 0.0 0.0 7360 2124 ttyS0 Ss+ 00:56 0:00 /sbin/agetty -o -p – \u --keep-baud 115200,38400,9600 ttyS0 vt220
root 868 0.0 0.0 63504 9800 ? Ss 00:56 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
root 872 0.0 0.0 5836 1820 tty1 Ss+ 00:56 0:00 /sbin/agetty -o -p – \u --noclear tty1 linux
root 877 0.0 0.1 108128 20904 ? Ssl 00:56 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root 976 0.0 0.1 402580 30648 ? Sl 00:56 0:35 python3 -u bin/WALinuxAgent-2.9.0.4-py2.7.egg -run-exthandlers
jibri 1040 0.0 0.0 6316 2792 ? S 00:56 0:00 unclutter
root 1522 0.0 0.0 242964 10596 ? Ssl 00:56 0:00 /usr/lib/upower/upowerd
root 1746 0.0 0.0 0 0 ? I 01:12 0:00 [kworker/3:0-cgroup_destroy]
root 2634 0.0 0.0 0 0 ? I 06:07 0:02 [kworker/0:2-events]
root 2939 0.0 0.0 0 0 ? I 07:48 0:00 [kworker/2:1-events]
root 3176 0.0 0.0 0 0 ? I 08:38 0:00 [kworker/2:2-cgroup_destroy]
root 3583 0.0 0.0 0 0 ? I 08:38 0:00 [kworker/1:2-events]
root 3880 0.0 0.0 0 0 ? I 09:24 0:00 [kworker/0:0-cgroup_destroy]
www-data 3881 0.0 0.0 67268 13184 ? S 09:24 0:00 nginx: worker process
www-data 3882 0.0 0.0 67532 13264 ? S 09:24 0:00 nginx: worker process
www-data 3885 0.0 0.0 67148 9412 ? S 09:24 0:00 nginx: worker process
www-data 3886 0.0 0.0 67148 9412 ? S 09:24 0:00 nginx: worker process
turnser+ 3888 0.0 0.0 633076 14400 ? Ssl 09:24 0:02 /usr/bin/turnserver --daemon -c /etc/turnserver.conf --pidfile /run/turnserver/turnserver.pid
root 4190 0.0 0.0 0 0 ? I 11:06 0:00 [kworker/u8:2-events_unbound]
root 4243 0.0 0.0 0 0 ? I 11:39 0:00 [kworker/u8:3-ext4-rsv-conversion]
root 4249 0.0 0.0 0 0 ? I 11:44 0:00 [kworker/u8:0]
root 4255 0.0 0.0 13812 8868 ? Ss 11:47 0:00 sshd: azureuser [priv]
azureus+ 4258 0.1 0.0 19092 9784 ? Ss 11:47 0:00 /lib/systemd/systemd --user
azureus+ 4259 0.0 0.0 169800 3760 ? S 11:47 0:00 (sd-pam)
root 4263 0.0 0.0 0 0 ? I 11:47 0:00 [kworker/3:2-events]
azureus+ 4381 0.0 0.0 13948 6116 ? R 11:47 0:00 sshd: azureuser@pts/0
azureus+ 4382 0.1 0.0 10040 4976 pts/0 Ss 11:47 0:00 -bash
root 4395 0.0 0.0 11032 4536 pts/0 S 11:47 0:00 sudo -i
root 4396 0.0 0.0 10076 5068 pts/0 S 11:47 0:00 -bash
root 4408 0.0 0.0 10620 3320 pts/0 R+ 11:47 0:00 ps auxww

Environment - Azure machine

root@videocall2:~# uname -r
5.15.0-1033-azure

Thanks!

Could you check folders’ permissions?

ls -alh /usr/local/recordings/
ls -alh /var/log/jitsi/jibri/

root@videocall2:~# ls -alh /usr/local/recordings/
total 8.0K
drwxrwxrwx 2 77 jibri 4.0K Feb 22 00:57 .
drwxr-xr-x 11 root root 4.0K Feb 22 00:55 …
root@videocall2:~# ls -alh /var/log/jitsi/jibri/
total 6.1M
drwxrwxr-x 2 root jitsi 4.0K Feb 22 00:56 .
drwxrwx— 3 jvb jitsi 4.0K Feb 21 17:51 …
-rw-r–r-- 1 jibri jibri 442K Feb 22 00:57 browser.0.txt
-rw-r–r-- 1 jibri jibri 0 Feb 22 00:56 browser.0.txt.lck
-rw-r–r-- 1 jibri jibri 443K Feb 22 00:43 browser.1.txt
-rw-r–r-- 1 jibri jibri 442K Feb 22 00:37 browser.2.txt
-rw-r–r-- 1 jibri jibri 435K Feb 22 00:34 browser.3.txt
-rw-r–r-- 1 jibri jibri 444K Feb 21 23:33 browser.4.txt
-rw-r–r-- 1 jibri jibri 756K Feb 21 23:32 browser.5.txt
-rw-r–r-- 1 jibri jibri 456K Feb 21 23:22 browser.6.txt
-rw-r–r-- 1 jibri jibri 449K Feb 21 23:13 browser.7.txt
-rw-r–r-- 1 jibri jibri 1.4M Feb 21 23:05 browser.8.txt
-rw-rw-r-- 1 jibri jibri 459K Feb 21 22:54 browser.9.txt
-rw-r–r-- 1 jibri jibri 4.2K Feb 22 00:56 ffmpeg.0.txt
-rw-r–r-- 1 jibri jibri 0 Feb 22 00:56 ffmpeg.0.txt.lck
-rw-r–r-- 1 jibri jibri 4.2K Feb 22 00:43 ffmpeg.1.txt
-rw-r–r-- 1 jibri jibri 4.0K Feb 22 00:37 ffmpeg.2.txt
-rw-r–r-- 1 jibri jibri 4.0K Feb 22 00:34 ffmpeg.3.txt
-rw-r–r-- 1 jibri jibri 4.2K Feb 21 23:33 ffmpeg.4.txt
-rw-r–r-- 1 jibri jibri 0 Feb 21 23:31 ffmpeg.5.txt
-rw-r–r-- 1 jibri jibri 4.2K Feb 21 23:22 ffmpeg.6.txt
-rw-r–r-- 1 jibri jibri 4.2K Feb 21 23:13 ffmpeg.7.txt
-rw-r–r-- 1 jibri jibri 13K Feb 21 23:05 ffmpeg.8.txt
-rw-rw-r-- 1 jibri jibri 4.2K Feb 21 22:54 ffmpeg.9.txt
-rw-r–r-- 1 jibri jibri 114K Feb 22 15:47 log.0.txt
-rw-r–r-- 1 jibri jibri 0 Feb 22 00:56 log.0.txt.lck
-rw-r–r-- 1 jibri jibri 17K Feb 22 00:55 log.1.txt
-rw-r–r-- 1 jibri jibri 15K Feb 22 00:38 log.2.txt
-rw-r–r-- 1 jibri jibri 15K Feb 22 00:36 log.3.txt
-rw-r–r-- 1 jibri jibri 6.4K Feb 22 00:33 log.4.txt
-rw-r–r-- 1 jibri jibri 6.2K Feb 22 00:29 log.5.txt
-rw-r–r-- 1 jibri jibri 21K Feb 22 00:27 log.6.txt
-rw-r–r-- 1 jibri jibri 38K Feb 21 23:33 log.7.txt
-rw-r–r-- 1 jibri jibri 16K Feb 21 23:28 log.8.txt
-rw-r–r-- 1 jibri jibri 14K Feb 21 23:22 log.9.txt
-rw-r–r-- 1 jibri jibri 44K Feb 22 00:56 xorg.log
-rw-r–r-- 1 jibri jibri 44K Feb 22 00:55 xorg.log.old

– /var/log/jitsi/jibri/ffmpeg.0.txt
2023-02-22 15:49:34.675 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
2023-02-22 15:49:34.675 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
2023-02-22 15:49:34.734 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libavutil 56. 31.100 / 56. 31.100
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libavcodec 58. 54.100 / 58. 54.100
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libavformat 58. 29.100 / 58. 29.100
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libavdevice 58. 8.100 / 58. 8.100
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libavfilter 7. 57.100 / 7. 57.100
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libavresample 4. 0. 0 / 4. 0. 0
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libswscale 5. 5.100 / 5. 5.100
2023-02-22 15:49:34.735 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libswresample 3. 5.100 / 3. 5.100
2023-02-22 15:49:34.737 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: libpostproc 55. 5.100 / 55. 5.100
2023-02-22 15:49:34.737 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: [x11grab @ 0x55bcad491e40] Stream #0: not enough frames to estimate rate; consider increasing probesize
2023-02-22 15:49:34.737 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: Input #0, x11grab, from ‘:0.0+0,0’:
2023-02-22 15:49:34.738 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: Duration: N/A, start: 1677080974.710656, bitrate: N/A
2023-02-22 15:49:34.738 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
2023-02-22 15:49:34.739 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: ALSA lib pcm_direct.c:1421:(snd1_pcm_direct_initialize_poll_fd) unable to open timer ‘hw:CLASS=3,SCLASS=0,CARD=0,DEV=1,SUBDEV=1’
2023-02-22 15:49:34.739 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: ALSA lib pcm_dsnoop.c:717:(snd_pcm_dsnoop_open) unable to initialize poll_fd
2023-02-22 15:49:34.739 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: [alsa @ 0x55bcad49d4c0] cannot open audio device plug:bsnoop (No such device)
2023-02-22 15:49:34.739 INFO: [249] LoggingUtils$Companion$OutputLogger$1.invoke$lambda-0#42: plug:bsnoop: Input/output error

Do you have bsnoop in your /home/jibri/.asoundrc file?
What are the permissions of this file?

root@videocall2:~# cat /home/jibri/.asoundrc
pcm.amix {
type dmix
ipc_key 219345
slave.pcm “hw:Loopback,0,0”
}

pcm.asnoop {
type dsnoop
ipc_key 219346
slave.pcm “hw:Loopback_1,1,0”
}

pcm.aduplex {
type asym
playback.pcm “amix”
capture.pcm “asnoop”
}

pcm.bmix {
type dmix
ipc_key 219347
slave.pcm “hw:Loopback_1,0,0”
}

pcm.bsnoop {
type dsnoop
ipc_key 219348
slave.pcm “hw:Loopback,1,0”
}

pcm.bduplex {
type asym
playback.pcm “bmix”
capture.pcm “bsnoop”
}

pcm.pjsua {
type plug
slave.pcm “bduplex”
}

pcm.!default {
type plug
slave.pcm “aduplex”
}

root@videocall2:~# ll /home/jibri/.asoundrc
-rw-r–r-- 1 root root 552 Nov 28 2019 /home/jibri/.asoundrc

It´s running into an azure instance
root@videocall2:~# uname -r
5.15.0-1033-azure

Thanks for your help!

If you uncomment the following lines which is in /home/jibri/.icewm/startup and restart the server then you can connect to jibri desktop using vnc

The default password is jibri which is set in:

After that, you can test ffmpeg command on the jibri desktop.

Don’t forget to comment the lines again in the startup file after testing.

ok, which port?

How do that?

Thanks a lot!

TCP/5900

Start the console on the desktop and try the ffmpeg command which is in your first post for example

ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 ...

Ok, will tens and let you know. Thanks!

While connected to Jibri, using VNC and I start a video call record in jitsi… I can see the video in vnc!
So, Jibri is on and connected to the bridge… but somehow cant record!

Thanks for all your help!

I didn’t paste the whole command in my previous post. Please check your first post in this topic. The whole command is inside of it.

Ok! found it!

ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 -thread_queue_size 4096 -i :0.0+0,0 -f alsa -thread_queue_size 4096 -i plug:bsnoop -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset veryfast -profile:v main -level 3.1 -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f mp4 /usr/local/recordings/pvioyiuzjvrtebdt/1234_2023-02-21-22-22-19.mp4

Will check and let you know! Regards!

Done!

jibri@videocall2:/$ ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s 1920x1080 -thread_queue_size 4096 -i :0.0+0,0 -f alsa -thread_queue_size 4096 -i plug:bsnoop -acodec aac -strict -2 -ar 44100 -b:a 128k -af aresample=async=1 -c:v libx264 -preset veryfast -profile:v main -level 3.1 -pix_fmt yuv420p -r 30 -crf 25 -g 60 -tune zerolatency -f mp4 /usr/local/recordings/pvioyiuzjvrtebdt/1234_2023-02-21-22-22-19.mp4
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[x11grab @ 0x55f020ac9e40] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ‘:0.0+0,0’:
Duration: N/A, start: 1677183853.364526, bitrate: N/A
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1080, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
ALSA lib pcm_direct.c:1421:(snd1_pcm_direct_initialize_poll_fd) unable to open timer ‘hw:CLASS=3,SCLASS=0,CARD=0,DEV=1,SUBDEV=1’
ALSA lib pcm_dsnoop.c:717:(snd_pcm_dsnoop_open) unable to initialize poll_fd
[alsa @ 0x55f020ad54c0] cannot open audio device plug:bsnoop (No such device)
plug:bsnoop: Input/output error

Thanks a lot!

What do you get when you run:

lsmod | grep snd_aloop

jibri@videocall2:/$ lsmod | grep snd_aloop
snd_aloop 36864 0
snd_pcm 126976 1 snd_aloop
snd_timer 40960 2 snd_seq,snd_aloop
snd 73728 6 snd_seq,snd_seq_device,snd_timer,snd_aloop,snd_pcm,snd_rawmidi

You don’t have a pre-existing desktop environment on that jibri server, do you?
Are you able to run a 3-party meeting (without recording) successfully?