
Recherche avancée
Autres articles (68)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (13198)
-
Command works on terminal but not with Kotlin
9 novembre 2019, par AntonyI’m trying to use an FFMPEG command for concatenating different videos. The command is
ffmpeg -i video.mp4 -i video-2.mp4 -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4
This command works good when I run on Windows PowerShell. But when I try to run with Kotlin code it doesn’t work.
val firstVideo = "D:\\Videos\\ffmpeg\\video.mp4"
val secondVideo = "D:\\Videos\\ffmpeg\\video-2.mp4"
val resultPath = "D:\\Videos\\ffmpeg\\result-2.mp4"
val cmd = "ffmpeg -i $firstVideo -i $secondVideo -filter_complex \"[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]\" -map \"[v]\" -map \"[a]\" $resultPath"
.split(" ").toTypedArray()
Runtime.getRuntime().exec(cmd)I’m not taking any error messages since I’m using FFMPEG cli.
Also, this piece of Kotlin works perfect when I’m trying to run other FFMPEG operations.
-
Can no longer get ffmpeg to run in Terminal on macOS
31 décembre 2023, par Chewie The ChorkieHere's a command I tried to run which always worked :


Mac-mini:images Admin$ ffmpeg -r 30 -f image2 -s 1080x1080 -i %d.png -vcodec h264 -crf 25 -pix_fmt yuv420p zVideo.mp4



The output I get is :


dyld[94095]: Library not loaded: /usr/local/opt/theora/lib/libtheoraenc.1.dylib
 Referenced from: <20EBE016-0DD0-3F29-96CD-D22BC2E40B38> /usr/local/Cellar/ffmpeg/6.1.1/bin/ffmpeg
 Reason: tried: '/usr/local/opt/theora/lib/libtheoraenc.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/theora/lib/libtheoraenc.1.dylib' (no such file), '/usr/local/opt/theora/lib/libtheoraenc.1.dylib' (no such file)
Abort trap: 6



I've tried reinstalling ffmpeg, installing the command line tools from Xcode, and Xcode itself.


-
ffmpeg commands execution failed when run from Java. Executed successfully when the command is run in the terminal
28 septembre 2022, par Kaung Myat KhaingI'm working on a java project which works with audio file manipulation(I'm newbie to Java). I want to get the start and end time of silence in the audio with ffmpeg "silencedetect" audio filter and write the results to a text file.
I run the filter command within the following function, but it always result in failure(prints "Silence Detection failed"). Then, I tried running the command in the terminal and it was successful(prints "Silence Detection successful"). I don't know what's wrong with my java code. I have other functions which execute other ffmpeg commands with the same flow as provided, but they works fine.
Here's the function.


public static void getSilence(String filePath) throws InterruptedException, IOException {
 // detect silence
 System.out.println("Silence Detection cmd: ffmpeg -i " + filePath
 + " -af silencedetect=d=1:noise=-60dB -f null - |& awk '/silencedetect/ {print $4,$5}' > "
 + SOURCE_PATH + "/silence_detections/silenceInfo.txt");
 Process silenceDetect = Runtime.getRuntime().exec("ffmpeg -i " + filePath
 + " -af silencedetect=d=1:noise=-60dB -f null - |& awk '/silencedetect/ {print $4,$5}' > "
 + SOURCE_PATH + "/silence_detections/silenceInfo.txt");

 if (silenceDetect.waitFor() == 0) {
 System.out.println("Silence Detection successful");
 } else System.out.println("Silence Detection failed");
 }