[jitsi-users] Jibri recording error


#1

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless. Both
Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting for a
member to join" followed by a "recording failed" message. Going through
Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.launchFfmpeg()
Starting ffmpeg with command [ffmpeg, -y, -v, info, -f, x11grab,
-draw_mouse, 0, -r, 30, -s, 1280x720, -thread_queue_size, 4096, -i,
:0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, hw:0,1,0, -acodec, aac,
-strict, -2, -ar, 44100, -c:v, libx264, -preset, veryfast, -profile:v,
main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune,
zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_2018-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy()
Ffmpeg is running but doesn't appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy()
Ffmpeg exited with code 1. Its most recent output was hw:0,1,0:
Input/output error
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start() Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start() Ffmpeg started up but
did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.service.impl.FileRecordingJibriService.start() Capturer
failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @ 0x556e61412f00]
Stream #0: not enough frames to estimate rate; consider increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab, from
':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A, start:
1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0: Video:
rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr, 1000k tbn,
1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @ 0x556e6141d180]
cannot open audio device hw:0,1,0 (No such file or directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0: Input/output
error

My suspicion is that it has to do with the alsa loopback. When I gave the
command "lsmod | grep snd_aloop" as instructed in the manual, I get the
following message:

snd_aloop 24576 0
snd_pcm 98304 9
snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14
snd_compress,snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang


#2

What output do you get from "aplay -l" (as root)?

···

On Sat, Jun 2, 2018 at 6:20 PM, Yang <lzy7071@gmail.com> wrote:

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless. Both
Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting for a
member to join" followed by a "recording failed" message. Going through
Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.launchFfmpeg() Starting ffmpeg with
command [ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s,
1280x720, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa,
-thread_queue_size, 4096, -i, hw:0,1,0, -acodec, aac, -strict, -2, -ar,
44100, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1,
-pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_
2018-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg is running but
doesn't appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg exited with code
1. Its most recent output was hw:0,1,0: Input/output error
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg started up but did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.service.impl.
FileRecordingJibriService.start() Capturer failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @
0x556e61412f00] Stream #0: not enough frames to estimate rate; consider
increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab, from
':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A, start:
1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0: Video:
rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr, 1000k tbn,
1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @ 0x556e6141d180]
cannot open audio device hw:0,1,0 (No such file or directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0: Input/output
error

My suspicion is that it has to do with the alsa loopback. When I gave the
command "lsmod | grep snd_aloop" as instructed in the manual, I get the
following message:

snd_aloop 24576 0
snd_pcm 98304 9 snd_hda_intel,snd_hda_codec,
snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,
snd_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14 snd_compress,snd_hda_intel,
snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,
snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,
snd_aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Also, do you have the .asoundrc file set up? Is it in the home directory
of the same user which is running the jibri process?

···

On Sat, Jun 2, 2018 at 9:25 PM, Brian Baldino <brian@jitsi.org> wrote:

What output do you get from "aplay -l" (as root)?

On Sat, Jun 2, 2018 at 6:20 PM, Yang <lzy7071@gmail.com> wrote:

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless. Both
Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting for
a member to join" followed by a "recording failed" message. Going through
Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40] org.jitsi.jibri.capture.ffmpeg
.executor.FfmpegExecutor.launchFfmpeg() Starting ffmpeg with command
[ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s, 1280x720,
-thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa, -thread_queue_size, 4096,
-i, hw:0,1,0, -acodec, aac, -strict, -2, -ar, 44100, -c:v, libx264,
-preset, veryfast, -profile:v, main, -level, 3.1, -pix_fmt, yuv420p, -r,
30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_201
8-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg
.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg is running but doesn't
appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg
.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg exited with code 1.
Its most recent output was hw:0,1,0: Input/output error
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg started up but did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.service.impl.F
ileRecordingJibriService.start() Capturer failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @
0x556e61412f00] Stream #0: not enough frames to estimate rate; consider
increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab, from
':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A, start:
1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0: Video:
rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr, 1000k tbn,
1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @ 0x556e6141d180]
cannot open audio device hw:0,1,0 (No such file or directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0: Input/output
error

My suspicion is that it has to do with the alsa loopback. When I gave the
command "lsmod | grep snd_aloop" as instructed in the manual, I get the
following message:

snd_aloop 24576 0
snd_pcm 98304 9 snd_hda_intel,snd_hda_codec,sn
d_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,sn
d_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14 snd_compress,snd_hda_intel,snd
_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_
codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_
aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

Thank you for the reply!

Results from "aplay -l" as root:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 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 1: 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

As for .asoundrc, I do not have that set up. Could you point me in the
right direction on what that is supposed to be?

···

On Sun, Jun 3, 2018 at 12:29 AM Brian Baldino <brian@jitsi.org> wrote:

Also, do you have the .asoundrc file set up? Is it in the home directory
of the same user which is running the jibri process?

On Sat, Jun 2, 2018 at 9:25 PM, Brian Baldino <brian@jitsi.org> wrote:

What output do you get from "aplay -l" (as root)?

On Sat, Jun 2, 2018 at 6:20 PM, Yang <lzy7071@gmail.com> wrote:

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless.
Both Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting for
a member to join" followed by a "recording failed" message. Going through
Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.launchFfmpeg()
Starting ffmpeg with command [ffmpeg, -y, -v, info, -f, x11grab,
-draw_mouse, 0, -r, 30, -s, 1280x720, -thread_queue_size, 4096, -i,
:0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, hw:0,1,0, -acodec, aac,
-strict, -2, -ar, 44100, -c:v, libx264, -preset, veryfast, -profile:v,
main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune,
zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_2018-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy()
Ffmpeg is running but doesn't appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy()
Ffmpeg exited with code 1. Its most recent output was hw:0,1,0:
Input/output error
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start() Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start() Ffmpeg started up but
did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.service.impl.FileRecordingJibriService.start() Capturer
failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @
0x556e61412f00] Stream #0: not enough frames to estimate rate; consider
increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab, from
':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A, start:
1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0: Video:
rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr, 1000k tbn,
1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @ 0x556e6141d180]
cannot open audio device hw:0,1,0 (No such file or directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0: Input/output
error

My suspicion is that it has to do with the alsa loopback. When I gave
the command "lsmod | grep snd_aloop" as instructed in the manual, I get
the following message:

snd_aloop 24576 0
snd_pcm 98304 9
snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14
snd_compress,snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

If you don't have the asoundrc that's probably the problem. Name this file
https://github.com/jitsi/jibri/blob/master/resources/debian-package/etc/jitsi/jibri/asoundrc
".asoundrc" in the home directory of the user who will be running the jibri
process.

···

On Sun, Jun 3, 2018 at 7:46 AM, Yang <lzy7071@gmail.com> wrote:

Thank you for the reply!

Results from "aplay -l" as root:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 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 1: 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

As for .asoundrc, I do not have that set up. Could you point me in the
right direction on what that is supposed to be?

On Sun, Jun 3, 2018 at 12:29 AM Brian Baldino <brian@jitsi.org> wrote:

Also, do you have the .asoundrc file set up? Is it in the home directory
of the same user which is running the jibri process?

On Sat, Jun 2, 2018 at 9:25 PM, Brian Baldino <brian@jitsi.org> wrote:

What output do you get from "aplay -l" (as root)?

On Sat, Jun 2, 2018 at 6:20 PM, Yang <lzy7071@gmail.com> wrote:

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless.
Both Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting
for a member to join" followed by a "recording failed" message. Going
through Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.launchFfmpeg() Starting ffmpeg with
command [ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s,
1280x720, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa,
-thread_queue_size, 4096, -i, hw:0,1,0, -acodec, aac, -strict, -2, -ar,
44100, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1,
-pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_
2018-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg is running but
doesn't appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg exited with
code 1. Its most recent output was hw:0,1,0: Input/output error
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg started up but did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.service.impl.
FileRecordingJibriService.start() Capturer failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @
0x556e61412f00] Stream #0: not enough frames to estimate rate; consider
increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab,
from ':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A,
start: 1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0:
Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr,
1000k tbn, 1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @
0x556e6141d180] cannot open audio device hw:0,1,0 (No such file or
directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0: Input/output
error

My suspicion is that it has to do with the alsa loopback. When I gave
the command "lsmod | grep snd_aloop" as instructed in the manual, I
get the following message:

snd_aloop 24576 0
snd_pcm 98304 9 snd_hda_intel,snd_hda_codec,
snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,
snd_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14 snd_compress,snd_hda_intel,
snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,
snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,
snd_aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#6

Great! That worked. Thank you!

Follow up question: Is it normal that there seems to be around 10 seconds
of blank recording trailing after the time I pressed the stop conference
button on the browser?

···

On Sun, Jun 3, 2018 at 12:54 PM Brian Baldino <brian@jitsi.org> wrote:

If you don't have the asoundrc that's probably the problem. Name this
file
https://github.com/jitsi/jibri/blob/master/resources/debian-package/etc/jitsi/jibri/asoundrc
".asoundrc" in the home directory of the user who will be running the jibri
process.

On Sun, Jun 3, 2018 at 7:46 AM, Yang <lzy7071@gmail.com> wrote:

Thank you for the reply!

Results from "aplay -l" as root:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 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 1: 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

As for .asoundrc, I do not have that set up. Could you point me in the
right direction on what that is supposed to be?

On Sun, Jun 3, 2018 at 12:29 AM Brian Baldino <brian@jitsi.org> wrote:

Also, do you have the .asoundrc file set up? Is it in the home
directory of the same user which is running the jibri process?

On Sat, Jun 2, 2018 at 9:25 PM, Brian Baldino <brian@jitsi.org> wrote:

What output do you get from "aplay -l" (as root)?

On Sat, Jun 2, 2018 at 6:20 PM, Yang <lzy7071@gmail.com> wrote:

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless.
Both Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting
for a member to join" followed by a "recording failed" message. Going
through Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.launchFfmpeg()
Starting ffmpeg with command [ffmpeg, -y, -v, info, -f, x11grab,
-draw_mouse, 0, -r, 30, -s, 1280x720, -thread_queue_size, 4096, -i,
:0.0+0,0, -f, alsa, -thread_queue_size, 4096, -i, hw:0,1,0, -acodec, aac,
-strict, -2, -ar, 44100, -c:v, libx264, -preset, veryfast, -profile:v,
main, -level, 3.1, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune,
zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_2018-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy()
Ffmpeg is running but doesn't appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy()
Ffmpeg exited with code 1. Its most recent output was hw:0,1,0:
Input/output error
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start() Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start() Ffmpeg started up but
did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40]
org.jitsi.jibri.service.impl.FileRecordingJibriService.start() Capturer
failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @
0x556e61412f00] Stream #0: not enough frames to estimate rate; consider
increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab,
from ':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A,
start: 1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0:
Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr,
1000k tbn, 1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @
0x556e6141d180] cannot open audio device hw:0,1,0 (No such file or
directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0:
Input/output error

My suspicion is that it has to do with the alsa loopback. When I gave
the command "lsmod | grep snd_aloop" as instructed in the manual, I
get the following message:

snd_aloop 24576 0
snd_pcm 98304 9
snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14
snd_compress,snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#7

It will take some time, 10 seconds does seem a little long but you could
look in the jibri logs to see if anything corresponds to the slow down.

···

On Sun, Jun 3, 2018 at 12:14 PM, Yang <lzy7071@gmail.com> wrote:

Great! That worked. Thank you!

Follow up question: Is it normal that there seems to be around 10 seconds
of blank recording trailing after the time I pressed the stop conference
button on the browser?

On Sun, Jun 3, 2018 at 12:54 PM Brian Baldino <brian@jitsi.org> wrote:

If you don't have the asoundrc that's probably the problem. Name this
file https://github.com/jitsi/jibri/blob/master/resources/
debian-package/etc/jitsi/jibri/asoundrc ".asoundrc" in the home
directory of the user who will be running the jibri process.

On Sun, Jun 3, 2018 at 7:46 AM, Yang <lzy7071@gmail.com> wrote:

Thank you for the reply!

Results from "aplay -l" as root:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 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 1: 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

As for .asoundrc, I do not have that set up. Could you point me in the
right direction on what that is supposed to be?

On Sun, Jun 3, 2018 at 12:29 AM Brian Baldino <brian@jitsi.org> wrote:

Also, do you have the .asoundrc file set up? Is it in the home
directory of the same user which is running the jibri process?

On Sat, Jun 2, 2018 at 9:25 PM, Brian Baldino <brian@jitsi.org> wrote:

What output do you get from "aplay -l" (as root)?

On Sat, Jun 2, 2018 at 6:20 PM, Yang <lzy7071@gmail.com> wrote:

Hi,

I followed the Jibri installation manual found here
https://github.com/jitsi/jibri. I am running Ubuntu 18.04 headless.
Both Jitsi-meet and jibri are running the latest unstable version.

When I tried to record with Jibri in Jitsi, I get "recording waiting
for a member to join" followed by a "recording failed" message. Going
through Jibri's log, I found the following relevant information:

2018-06-02 21:01:12.633 INFO: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.launchFfmpeg() Starting ffmpeg with
command [ffmpeg, -y, -v, info, -f, x11grab, -draw_mouse, 0, -r, 30, -s,
1280x720, -thread_queue_size, 4096, -i, :0.0+0,0, -f, alsa,
-thread_queue_size, 4096, -i, hw:0,1,0, -acodec, aac, -strict, -2, -ar,
44100, -c:v, libx264, -preset, veryfast, -profile:v, main, -level, 3.1,
-pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, mp4,
/media/linux2/jitsi_recordings/popularapplesdiffergrimly_
2018-06-02-21-01-09.mp4]
2018-06-02 21:01:12.636 SEVERE: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg is running
but doesn't appear to be encoding:
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.
ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg exited with
code 1. Its most recent output was hw:0,1,0: Input/output error
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg already exited
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturer.start()
Ffmpeg started up but did not start encoding after 15 tries, giving up
2018-06-02 21:01:13.637 SEVERE: [40] org.jitsi.jibri.service.impl.
FileRecordingJibriService.start() Capturer failed to start

2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() [x11grab @
0x556e61412f00] Stream #0: not enough frames to estimate rate; consider
increasing probesize
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Input #0, x11grab,
from ':0.0+0,0':
2018-06-02 21:01:12.921 INFO: [51] ffmpeg.call() Duration: N/A,
start: 1527987672.870416, bitrate: N/A
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() Stream #0:0:
Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 1000k tbr,
1000k tbn, 1000k tbc
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() [alsa @
0x556e6141d180] cannot open audio device hw:0,1,0 (No such file or
directory)
2018-06-02 21:01:12.922 INFO: [51] ffmpeg.call() hw:0,1,0:
Input/output error

My suspicion is that it has to do with the alsa loopback. When I gave
the command "lsmod | grep snd_aloop" as instructed in the manual, I
get the following message:

snd_aloop 24576 0
snd_pcm 98304 9 snd_hda_intel,snd_hda_codec,
snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,
snd_hda_codec_hdmi,snd_aloop,snd_soc_core
snd 81920 14 snd_compress,snd_hda_intel,
snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,
snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,
snd_aloop,snd_hda_codec_realtek,snd_soc_core,snd_pcm

which I assumed meant the alsa loop back was set up correctly.

Let me know if you guys had a solution or needed for logs.

Thanks!

Yang

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users