
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (73)
-
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 (...) -
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 -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (10914)
-
Unable to find a suitable output format for x. x invalid argument
16 août 2018, par TahtakafaI want to concat 2 videos with their audio. If i try the code below it gives an error. In each syntax error it gives invalid argument error. I couldn’t figure out what is proper syntax. Is concating with ffmpeg has to be so problematic ?
code :
ffmpeg -i /var/www/html/GetVideo/reklam/muzikli1.mp4 -i /var/www/html/GetVideo/reklam/muzikli2.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]" /var/www/html/GetVideo/reklam/out.mp4
error :
Unable to find a suitable output format for '[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]'
[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]: Invalid argument -
awkward behaviour in bash find-loop with ffmpeg
25 avril 2018, par AlexanderThere is something weird going on when running following script with Docker.
The dockerfile for this is :
FROM debian:9
WORKDIR /app
RUN apt-get -y update && \
apt-get -y install ffmpeg curl
COPY . /appThe script
run.sh
:#!/bin/bash
find /pfs/in -maxdepth 1 -name "*.flac" -print0 | while IFS= read -r -d $'\0' inFile; do
echo "\n##### Process '${inFile}' #####"
ffmpeg -y -i ${inFile} -ar 16000 tmp.wav # use 16kHz - default for EML
doneStarting this, when mounting 3 files into the container :
$ ls pfs/in/
Testaudio16k_2.flac Testaudio16k.flac Testaudio16k.wav TestSprache_Saetze.flac
$ docker run --rm -t -v $(pwd)/pfs/in:/pfs/in test-img:latest /bin/bash run.shI get an error on processing the second file :
pfs/in/Testaudio16k_2.flac: No such file or directory
. The leading/
is missing. It is also missing in the preceeding echo. Indeed this happens every second file (if I put more than 3 files in that folder).Now coming to the counter example :
If I comment out theffmpeg
line in the script, rebuild and run, The echo prints for every file the correct path.Does anybody have an idea about this ?
Is it about thefind
or is theffmpeg
doing something weird ? Something completely different ? -
ProcessBuilder Can't Find a File for Conversion ?
19 avril 2018, par Sarah SzaboI’m running a simple script (On a Kubuntu 17.10 OS) to convert from a .mp4 file to .opus, not that this really matters though. I’ve verified that the command works as intended by making the program print out the command, then navigating to the directory and executing it there. It works and converts the file to .opus.
The problem is that when it is run via process builder, it no longer works. I can’t understand why, as the process should be localized by calling the
.directory(temporary-folder-path)
method. Yet, in the output of ffmpeg when it runs via the program, seems to indicate that it can’t find the file, which is in the the temp folder.private void processOP(String... commands) throws InterruptedException, IOException {
System.out.println("About to Initiate (Temp Folder Path): " + this.diskManager.getTempDirectory());
//Print out FFMPEG Command
String s = "";
for (String st : new ProcessBuilder(commands)
.directory(this.diskManager.getTempDirectory().toFile()).inheritIO().command()) {
s += " " + st;
}
System.out.println("COMMAND: " + s);
//Actually do it
Process proc = new ProcessBuilder(commands)
.directory(this.diskManager.getTempDirectory().toFile()).inheritIO().start();
proc.waitFor();
}The output yields the temporary folder directory and the command :
About to Initiate (Temp Folder Path): /tmp/OPUS Converter Temporary Directory5521626892860463135
COMMAND: ffmpeg -i "Sarah Szabo -- The Fourtyth Divide.mp4" -y -b:a 320k -metadata title="The Fourtyth Divide" -metadata artist="Sarah Szabo" "Sarah Szabo -- The Fourtyth Divide.opus"And Execution Reveals that the conversion attempt fails due to not being able to find the file :
ffmpeg version 3.3.4-2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (Ubuntu 7.2.0-8ubuntu2)(Lots of FFMPEG Stuff)
Then :
"Sarah Szabo -- The Fourtyth Divide.mp4": No such file or directory
This is mysterious because I’ve executed the very same code in a localized terminal at the temporary directory. It converts successfully. This leads me to believe that somehow this is a localization issue. I should add that I’ve checked the file path to the temp directory as well, this is the folder that I’ve intended and isn’t some other one. It contains the file as well. There are no spelling mistakes that I can detect in the filenames, and i have checked them, as well as copy-pasting them to ensure that there are no misspellings.