
Recherche avancée
Autres articles (57)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (13979)
-
Trying to produce a stream of OGG encoded audio originating from microphone yields a completely quiet file
3 décembre 2019, par DanBasically title. I want to produce a constant stream of audio data encoded in OGG coming from my microphone. This is my current setup :
var mic = require('mic');
var fs = require('fs');
var { exec } = require('child_process')
var micInstance = mic({
rate: '44100',
channels: '1',
debug: true,
exitOnSilence: 0,
device: 'pulse',
});
var micInputStream = micInstance.getAudioStream();
var outputFileStream = fs.createWriteStream('output.final.ogg');
var transcode = exec('ffmpeg -loglevel panic -i pipe: -f ogg -')
micInputStream.pipe(transcode.stdin)
transcode.stdout.pipe(outputFileStream)When I pipe
micInputStream
directly toprocess.stdout
then use a unix pipe to pipe the data to aoutput.wav
file, I can play it back.When I pipe
micInputStream
directly toprocess.stdout
then use a unix pipe to pipe the data toffmpeg
, then unix-pipe all that data into aoutput.ogg
file, I can also play it back.But when I try my code, I get an
OGG
file, but when I play it back, it’s quiet.I’m at a loss, how do I just create a
readableStream
containing an endless stream of audio coming from the mic, encoded inOGG
? -
Bash script : Cycle script until ffmpeg command restarts successfully
13 août 2023, par BellacodaI have a IP Camera and the recordings are saved with ffmpeg RTSP into a raspberry pi.


Sometimes, when the electricity shuts off and comes back on, the raspberry boots faster than the IP Camera and the ffmpeg command (saved on a crontab to run every reboot) fails to execute because it can't reach the IP Camera (that is still turning on).


I tried to put a sleep command before the command but that doesn't work either.


It also happened that when the IP Camera reboots, the raspberry closes the command, but when the camera comes back online, I have to manually lauch the command.


Is there a way to make a script that waits to run the ffmpeg command until the camera is fully online (I assume with the $ ? variable for command exit status), and to wait to restart the ffmpeg command when the camera reboots ?


The setup I have now is a crontab :
SHELL=/bin/bash
@reboot sleep 120s ; sudo ffmpeg ...


-
grab realtime audio from Java and Stream to RTMP (via xuggler)
13 octobre 2011, par Jhonny EversonI am trying to stream audio from microphone a rtmp (red5) server via xuggle. I found some code from users that could not get it working, but not a working example.
Can someone point the directions on how get data from microphone and package into rtmp with xuggle in realtime ?
I'm getting stuck at first frame.