Maybe take a closer look at the jibri service file.
In other packages the update overwrite them, so if a change there is needed then the change has to be re-applied after upgrade.
Cheers!
Maybe take a closer look at the jibri service file.
In other packages the update overwrite them, so if a change there is needed then the change has to be re-applied after upgrade.
Cheers!
I’ve uninstalled, reinstalled and updated and I haven’t need to reapply service changes. Service configuration was preserved.
Yeah, but you are using the same version package right?
I’ve seen updates rewrite service files, maybe just the ones that have changes on service files.
I would backup anyway.
Regards
No, I was testing with stable, unstable and recompiled (making deb package from sources) packages.
Will wait that interesting info too!
I’ve written up the guide to stream to multiple rtmp destinations
thanks to @lodopidolo & @Woodworker_Life
If i use this script on my jibri, is this jibri still able to record ?
Quoting some advice,
DO THIS ONLY IF YOU KNOW WHAT YOUR’RE DOING
Please remember that changes might (or might not) break your system, and most of the instructions at this forum are considered to be done at your own risk.
Lastly, make backups, snapshots or apply on test instances, that said.
Test and enjoy!
Cheers!
I’ve updated the script to include recording simultaneously.
Could you share your script?
please read my post.
latest apt-get update will break the jibri recording
happened to me, the error was chromedriver require specific version on chrome.
after i have updated to latest chromedriver notification bar with message “the chrome is controlled by automated …” start coming on top of recording.
any idea how can it be removed.
what are you chrome & chrome driver versions?
also i dont use jibri for recording… since i anyway stream to rtmp, i can record it there
Hi, I am trying to stream from jigasi to icecast with the above script. It runs for about a minute and then quits. Should this be possible with this script or something similiar?
Below is my script and the log.
#!/bin/bash
COMMAND="/usr/bin/ffmpeg"
while test $# -gt 0
do
T="1"
if [ "{T:0:32}" == “rtmp://a.rtmp.youtube.com/live2/” ]; then
COMMAND="COMMAND -acodec libmp3lame -ac 1 -content_type audio/mpeg -f mp3 icecast://source:12345678@my-server.com:8000/{T:32}"
else
COMMAND="$COMMAND $T"
fi
shift
done
echo “Llamando a ffmpeg sustituyendo rtmp si hay: «$COMANDO».”
exec COMMAND PROCESS_FFMPEG=!
echo “Esperando finalización del proceso: ${PROCESS_FFMPEG}.”
wait $PROCESS_FFMPEG
;
Log
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() Codec AVOption crf (Select the quality for constant quality mode) specified for output file #0 (icecast://source:12345678@my-server.com:8000/special) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() Stream mapping:
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() Press [q] to stop, [?] for help
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() Output #0, mp3, to ‘icecast://source:12345678@my-server.com:8000/special’:
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() Metadata:
2020-06-22 21:26:26.895 INFO: [77] ffmpeg.call() TSSE : Lavf57.83.100
2020-06-22 21:26:26.896 INFO: [77] ffmpeg.call() Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, mono, s16p
2020-06-22 21:26:26.896 INFO: [77] ffmpeg.call() Metadata:
2020-06-22 21:26:26.896 INFO: [77] ffmpeg.call() encoder : Lavc57.107.100 libmp3lame
2020-06-22 21:26:26.896 INFO: [77] ffmpeg.call() size= 4kB time=00:00:00.47 bitrate= 67.9kbits/s speed=0.927x
2020-06-22 21:26:27.896 INFO: [77] ffmpeg.call() size= 8kB time=00:00:00.96 bitrate= 66.0kbits/s speed=0.955x
2020-06-22 21:26:27.896 INFO: [77] ffmpeg.call() size= 12kB time=00:00:01.49 bitrate= 65.2kbits/s speed=0.981x
2020-06-22 21:26:28.896 INFO: [77] ffmpeg.call() size= 16kB time=00:00:01.98 bitrate= 64.9kbits/s speed=0.979x
2020-06-22 21:26:28.899 INFO: [77] ffmpeg.call() size= 20kB time=00:00:02.48 bitrate= 64.7kbits/s speed=0.982x
2020-06-22 21:26:29.899 INFO: [77] ffmpeg.call() size= 24kB time=00:00:03.00 bitrate= 64.6kbits/s speed=0.99x
2020-06-22 21:26:29.899 INFO: [77] ffmpeg.call() size= 28kB time=00:00:03.50 bitrate= 64.5kbits/s speed=0.989x
2020-06-22 21:26:30.899 INFO: [77] ffmpeg.call() size= 31kB time=00:00:04.00 bitrate= 64.5kbits/s speed=0.989x
2020-06-22 21:26:30.899 INFO: [77] ffmpeg.call() size= 36kB time=00:00:04.52 bitrate= 64.4kbits/s speed=0.994x
2020-06-22 21:26:31.900 INFO: [77] ffmpeg.call() size= 39kB time=00:00:05.01 bitrate= 64.4kbits/s speed=0.991x
2020-06-22 21:26:31.900 INFO: [77] ffmpeg.call() size= 44kB time=00:00:05.54 bitrate= 64.3kbits/s speed=0.995x
2020-06-22 21:26:32.900 INFO: [77] ffmpeg.call() size= 47kB time=00:00:06.03 bitrate= 64.3kbits/s speed=0.994x
2020-06-22 21:26:32.900 INFO: [77] ffmpeg.call() size= 51kB time=00:00:06.53 bitrate= 64.3kbits/s speed=0.993x
2020-06-22 21:26:33.901 INFO: [77] ffmpeg.call() size= 55kB time=00:00:07.05 bitrate= 64.3kbits/s speed=0.996x
2020-06-22 21:26:33.901 INFO: [77] ffmpeg.call() size= 59kB time=00:00:07.55 bitrate= 64.3kbits/s speed=0.994x
2020-06-22 21:26:34.901 INFO: [77] ffmpeg.call() size= 63kB time=00:00:08.07 bitrate= 64.2kbits/s speed=0.997x
2020-06-22 21:26:34.901 INFO: [77] ffmpeg.call() size= 67kB time=00:00:08.57 bitrate= 64.2kbits/s speed=0.996x
2020-06-22 21:26:35.901 INFO: [77] ffmpeg.call() size= 71kB time=00:00:09.06 bitrate= 64.2kbits/s speed=0.995x
2020-06-22 21:26:35.902 INFO: [77] ffmpeg.call() size= 75kB time=00:00:09.56 bitrate= 64.2kbits/s speed=0.995x
2020-06-22 21:26:36.902 INFO: [77] ffmpeg.call() size= 79kB time=00:00:10.08 bitrate= 64.2kbits/s speed=0.997x
2020-06-22 21:26:36.902 INFO: [77] ffmpeg.call() size= 83kB time=00:00:10.58 bitrate= 64.2kbits/s speed=0.996x
2020-06-22 21:26:37.902 INFO: [77] ffmpeg.call() size= 87kB time=00:00:11.07 bitrate= 64.2kbits/s speed=0.995x
2020-06-22 21:26:37.903 INFO: [77] ffmpeg.call() size= 91kB time=00:00:11.60 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:38.903 INFO: [77] ffmpeg.call() size= 95kB time=00:00:12.09 bitrate= 64.2kbits/s speed=0.996x
2020-06-22 21:26:38.903 INFO: [77] ffmpeg.call() size= 99kB time=00:00:12.59 bitrate= 64.1kbits/s speed=0.996x
2020-06-22 21:26:39.904 INFO: [77] ffmpeg.call() size= 103kB time=00:00:13.11 bitrate= 64.1kbits/s speed=0.998x
2020-06-22 21:26:39.904 INFO: [77] ffmpeg.call() size= 107kB time=00:00:13.61 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:40.904 INFO: [77] ffmpeg.call() size= 110kB time=00:00:14.10 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:40.904 INFO: [77] ffmpeg.call() size= 114kB time=00:00:14.60 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:41.904 INFO: [77] ffmpeg.call() size= 118kB time=00:00:15.12 bitrate= 64.1kbits/s speed=0.998x
2020-06-22 21:26:41.905 INFO: [77] ffmpeg.call() size= 122kB time=00:00:15.62 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:42.905 INFO: [77] ffmpeg.call() size= 126kB time=00:00:16.12 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:42.905 INFO: [77] ffmpeg.call() size= 130kB time=00:00:16.64 bitrate= 64.1kbits/s speed=0.998x
2020-06-22 21:26:43.906 INFO: [77] ffmpeg.call() size= 134kB time=00:00:17.13 bitrate= 64.1kbits/s speed=0.997x
2020-06-22 21:26:43.906 INFO: [77] ffmpeg.call() size= 138kB time=00:00:17.66 bitrate= 64.1kbits/s speed=0.998x
2020-06-22 21:26:44.914 INFO: [77] ffmpeg.call() size= 142kB time=00:00:18.15 bitrate= 64.1kbits/s speed=0.998x
2020-06-22 21:26:45.105 INFO: [77] ffmpeg.call() size= 146kB time=00:00:18.68 bitrate= 64.1kbits/s speed=0.999x
2020-06-22 21:26:47.606 INFO: [77] ffmpeg.call() [alsa @ 0x556b6bb83280] ALSA buffer xrun.
I tested with the rtmp nginx server & this works for me. you can modify this to suite your use case
ffmpeg -re -i rtmp://192.168.22.12/live/key -vn \
-codec:a libmp3lame -b:a 64k -f mp3 \
-content_type audio/mpeg \
icecast://source:pass@example.com:8000/mountpoint.mp3
I am not much for writing code so how would I implement this in my code for streaming from jigasi to icecast?
Has anyone got this to work in Docker?
FROM jitsi/jibri:latest
#Set up custom RTMP endpoint
RUN mkdir -p /opt/util
COPY ffmpeg /opt/util/ffmpeg
RUN chmod +x /opt/util/ffmpeg
#Set Java path in service file
COPY jibri.service /etc/systemd/system/jibri.service
That is the setup I am trying, but when I check the Jibri logs, it is still sending to YouTube. I can get this to work perfectly to my own RTMP endpoint without Docker though.
UPDATE:
What I did was edit the /etc/hosts and hardcoded the IP of a.rtmp.youtube.com to be my RTMP endpoint and handled the path /live2 there. Not sure if anyone has a better solution?
Gracias, thank you, obrigado, merci, todah rabah, and so on. You kind of saved the world, as long as we are concerned.
I am able to live stream on Facebook or youtube using https://bridge01.videomeet.in , these guys have done some wonderful customisation