Jibri records audio only, without video - linux

I have jitsi and jibri installed on the same server,
everything is working great,
the recording catch only (audio) without video
this is the Chrome settings:
"--headless",
"--ignore-certificate-errors",
"--use-fake-ui-for-media-stream",
"--start-maximized",
"--kiosk",
"--enabled",
"--enable-logging",
"--disable-infobars",
"--autoplay-policy=no-user-gesture-required",
"--disable-setuid-sandbox"
I successfully generate MP4 file, but black screen with audio
Update:
All what I have after recording done is MP4 video file with:
fixed background (earth and penguins around it with black sky full of stars), No real video
sound (good and clear audio)
any ideas?
thanks

I just find the problem,
just remove "--headless" to solve the missing video problem
Command line: nano /etc/jitsi/jibri/jibri.conf
remove "--headless" then save,
then run: systemctl restart nginx jitsi-videobridge2 prosody jicofo jibri
problem solved
thanks

Related

OPUS Audio Format Safari Dilemma

In a few words: how use OPUS audio format in a Webapp (JSX PWA) and make it Safari compatible? Still highly compressed MP3s don't appear to yet be an alternative to OPUS.
Background info: Truly EVERYTHING was looked into - Media recorder API within Vanilla JS, Opus Media recorder. The last was using the React-Mic-basic component.
React-Mic worked on every browser except Safari. Here also tried WAV, Mp3, OGG and all don't work on Safari.
It appears the only solution here is playing around with encoding yet really clueless.
How could this be handled in 2021? A spec issue or perhaps impossible?
Best
Here's a proof-of-concept to get you started. Works in Safari via a WebAssembly Opus decoder. You'll need to dig into the code a little and handle buffer/backpressure control to avoid decoding everything into memory before it's played:
https://fetch-stream-audio.anthum.com/

force vlc to load ui on raspberry booted to cli

I've been googling for this all week, struggling to find a good solution.
I have a training video kiosk script that I've set up for my company, running on an intel NUC. to me, that feels like overkill, so I'm trying to get the script to run on a pi 3 model b to save a little on costs to deploy this thing.
my script works great from desktop, I've been able to get it to run on startup from the cli, & I can even load the videos with the dummy UI - the problem is that there's no sound, and when the video loads in the cli, it fills the screen with errors, then plays as text, like the picture below.
If I run it from desktop, it's fine (just really jittery)
is there a way to force vlc to load its interface without loading the desktop of raspian?
right now, when I call a video, the terminal line inputs like:
vlc-wrapper <file path> --play-and-exit --fullscreen -Idummy
video image
got it to load the video
from command line:
X & vlc <filepath>
also got it to run from python
import os.subprocess
subprocess.call(['xinit', '--', '/usr/bin/vlc-wrapper, '<filepath>'])

mplayer playing gif animation at full screen?

I'm not familiar with mplayer and the tons of option seem like a jungle to me, when all I want to do is show an endless looped gif animation at full screen on my RPi running raspbian.
Can anyone help me, please?
I am now working in Windows and using
mplayer -fs –mf fps=1:type=jpeg *.jpg mf://*.jpg –vo direct3d, -ao dsound-sub-fuzziness 1 -loop 100
to play jpg file in mplayer in fullscreen mode. I did't test on linux but i think
mplayer -fs –mf fps=1:type=gif *.gif mf://*.jpg -ao dsound-sub-fuzziness 1 -loop 100
should work for you too.
I video DJ using the RPi. Making mplayer full-screen is often harder than it should be. The switch to make mplayer full-screen is -fs. The problem is that many video outputs (-vo) do not support full-screen. If the -vo does not support -fs, I often get around this by using the RCA connection instead of the HDMI on a screen that does not display the entire frame. Try mplayer -fs file.gif and report back. Which -vo are you using?

How to play audio on Corona?

I am trying to play audio as i used to do but it seems not working now. These are the codes I tried:
local birdSound = audio.loadSound("bird.mp3")
audio.play(birdSound)
It gives an error like that:
WARNING: Failed to create audio sound
Can you help me out? Thanks.
Don't use .mp3. .wav works for both iphone and android.
Make sure the .wav file is in our folder.
Sometimes some sound file can be played on computer, but not works in simulator. In that case, use other files instead.
If you really like that .mp3 file and can not find .wav, find some free software to convert it.
Changing the bit rate(increasing) of my files helped me to solve the problem. Thanks to SatheeshJM!

Record screen and audio then generate to one video file in java.

I am writting a program as http://www.screencast-o-matic.com/. I used applet and import jmf.jar to my project. When I use it, it couldn't get anything capture devices so it couldn't capture audio and video.
I captured screen to video but it hadn't sound. I captured sound but it hadn't video. I use jmf to merger 2 stream to video file. But it error.
Everybody can help me to resol problem. Thanks your help.
You can use Xuggle-Xuggler http://www.javacodegeeks.com/2011/02/introduction-xuggler-video-manipulation.html API which is wrapper of FFmpeg command line tool. Both are open source.

Resources