
Recherche avancée
Autres articles (101)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (14074)
-
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.


-
MKV to MP4 command on MacOS [closed]
28 février 2023, par Zakary MortonFirst time attempting anything more in-depth via Terminal, and I think I've sorted out the proper coding for my conversion. What I'd like to know/double-check are : 1) Is there a way to compress/control the size of the output file ? ; 2) Can I run this from a top-level folder and convert all videos under it rather than just next level down ? ; 3) Can I automate this somehow ? ; 4) Am I converting these in a way that will make them playable on apple tv ? ; 4) And finally, like, did I do it right ? Is there a simpler way to write this ?


Here's the command :




mkdir output
for f in *.mkv ; do ffmpeg -i "$f" -c:v libx265 -c:a aac -b:a 128k -preset : veryfast -tag:v hvc1 "output/$f%mkvmp4" ;done




Seems to be running ok, but not sure how long its meant to take to complete. Thanks for your inside from a newb


-
How To Convert Bit Rate (VBR) Of MP3 File Using PHP ?
29 avril 2014, par DaveUsing php, I am trying to convert and overwrite an mp3 file using the following command....doesn’t work.
ffmpeg -i /Users/MacBookPro/Desktop/dragons.mp3 -ar 44100 -ab 128k -f mp3 /Users/MacBookPro/Desktop/dragons.mp3
So even when I try the command from the terminal, the new mp3 file is only about 5 seconds (originally 3 minutes). What am I doing wrong & any ideas on how to get the command working ?
Thanks in advance !