
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (10483)
-
ffmpeg mp4->mp3 conversion 'no such file'
10 juin 2016, par Thomas R.I’m using ffmpeg to convert mp4’s to mp3’s, about 124 videos total, and I’m using python to iterate through the files they’re in and executing a version of
ffmpeg -i pathtovideo/video.mp4 pathtoaudio/audio.mp3
to convert them.When I use this command on its own in terminal, it converts just fine, but calling from the python script (using os) it says
pathtoaudio/audio.mp3: No such file or directory
but of course there isn’t, I’m asking the computer to generate this file. Any ideas for what might be going wrong or how to fix ? -
x264 plugins compilation error
8 décembre 2014, par Rajendran AmbikaAm trying to compiling X264 plugins of FFMPEG in Mac terminal, While compiling am receiving following error in the CONFIG.LOG.
couldn't understand kern.osversion `14.0.0'
conftest.c:1: error: bad value (armv7a) for -march= switch
conftest.c:1: error: bad value (armv7a) for -mtune= switch -
Run ffmpeg audio under Windows with Flutter
11 janvier, par ChrisI'd like to stream audio comming from my microphone in my flutter app in the windows desktop version.


Since there is no library that seems to do such thing while supporting windows desktop app, I have tried using
Process
like this :

// Start the FFmpeg process to capture audio
ffmpegProcess = await Process.start(
 'ffmpeg',
 [
 '-f', 'dshow', // Specify DirectShow input for Windows
 '-i', 'audio="$selectedMic"', // Input audio device (selected mic)
 '-f', 'wav', // Set audio format
 '-ar', '44100', // Set audio sample rate
 '-ac', '1', // Mono channel
 '-b:a', '128k', // Set audio bitrate
 'pipe:1', // Output to stdout
 ],
);

// Listen for data on stdout (audio stream)
ffmpegProcess.stdout.listen((data) async {
 // Send audio data to the server as it comes in
 await sendAudioToServer(data);
});



I've tested the command directly in my terminal (not in the flutter app) and it works fine.


When I run this code in my Flutter app, my task manager also shows a "ffmpeg" process, but somehow there is no stream output in flutter, even after ensuring that the
selectedMic
variable is correct or even when its hardcoded.

Since this command runs without issue in my terminal and even in python, I am wondering why it does not work in Flutter.


Starting my vscode as administrator also don't solve the issue (I wanted to check if it's a permission issue).


Also relevant : When I run the "ffmpeg -version" command, I get an output for the version, meaning that this is not an installation problem (ffmpeg bin folder is in my PATH environment variable). The problem seems to come from recording from the microphone in flutter, but I don't get why.


ffmpegProcess = await Process.start('ffmpeg', ['-version']); // this works



I'd love to get some suggestions where the problem could come from or any kind of alternative solutions.