Live Streaming fail to start


#1

Live streaming fail to start can you suggest something to solve this

ffmpeg.0.txt

2018-09-18 13:49:37.463 INFO: [531] ffmpeg.call() libpostproc 53. 3.100 / 53. 3.100
2018-09-18 13:49:37.463 INFO: [531] ffmpeg.call() Input #0, x11grab, from ‘:0.0+0,0’:
2018-09-18 13:49:37.463 INFO: [531] ffmpeg.call() Duration: N/A, start: 1537278577.453179, bitrate: N/A
2018-09-18 13:49:37.463 INFO: [531] ffmpeg.call() Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x720, 30 fps, 30 tbr, 1000k tbn, 30 tbc
2018-09-18 13:49:37.464 INFO: [531] ffmpeg.call() Guessed Channel Layout for Input Stream #1.0 : stereo
2018-09-18 13:49:37.464 INFO: [531] ffmpeg.call() Input #1, alsa, from ‘hw:0,1,0’:
2018-09-18 13:49:37.464 INFO: [531] ffmpeg.call() Duration: N/A, start: 1537278577.455334, bitrate: 1536 kb/s
2018-09-18 13:49:37.673 INFO: [531] ffmpeg.call() Stream #1:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
2018-09-18 13:49:37.674 INFO: [531] ffmpeg.call() RTMP_ReadPacket, failed to read RTMP packet header
2018-09-18 13:49:37.675 INFO: [531] ffmpeg.call() rtmp://a.rtmp.youtube.com/live2/https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig: Unknown error occurred2018-09-18 13:49:37.341 INFO: [46] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Waited 518 milliseconds for call page to load

2018-09-18 13:49:37.352 INFO: [46] org.jitsi.jibri.service.impl.StreamingJibriService.start() Selenium joined the call

2018-09-18 13:49:37.352 INFO: [46] 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, -maxrate, 2976k, -bufsize, 5952k, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, flv, rtmp://a.rtmp.youtube.com/live2/https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig]

2018-09-18 13:49:37.387 SEVERE: [46] org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg is running but doesn’t appear to be encoding:

2018-09-18 13:49:38.388 SEVERE: [46] org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg exited with code 1. Its most recent output was rtmp://a.rtmp.youtube.com/live2/https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig: Unknown error occurred

log.0.txt

2018-09-18 13:49:37.341 INFO: [46] org.jitsi.jibri.selenium.pageobjects.CallPage.visit() Waited 518 milliseconds for call page to load

2018-09-18 13:49:37.352 INFO: [46] org.jitsi.jibri.service.impl.StreamingJibriService.start() Selenium joined the call

2018-09-18 13:49:37.352 INFO: [46] 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, -maxrate, 2976k, -bufsize, 5952k, -pix_fmt, yuv420p, -r, 30, -crf, 25, -g, 60, -tune, zerolatency, -f, flv, rtmp://a.rtmp.youtube.com/live2/https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig]

2018-09-18 13:49:37.387 SEVERE: [46] org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg is running but doesn’t appear to be encoding:

2018-09-18 13:49:38.388 SEVERE: [46] org.jitsi.jibri.capture.ffmpeg.executor.FfmpegExecutor.isFfmpegHealthy() Ffmpeg exited with code 1. Its most recent output was rtmp://a.rtmp.youtube.com/live2/https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig: Unknown error occurred


#2

I am also suffering from this issue.If you know how to sort out .please tell me.


#3

I responded on github, but I don’t believe rtmp://a.rtmp.youtube.com/live2/https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig is a valid URI, so ffmpeg is complaining. How are you starting the stream? Pasting the key in manually or using the google integration?


#4

thank you @bbaldino i was wrong