
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (98)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (10040)
-
ffmpeg4android : "Fatal signal 11 (SIGSEGV) .." Error
6 février 2015, par Jonas BRunning ffmpeg4android to crop video from
480x640
(rotated) to fit4:3
I get this error 2/10 times.Command
"ffmpeg", "-y", "-i", tempFile.getPath(), "-strict", "experimental", "-b:a", "128k", "-b:v", "2567k", "-vcodec", "mpeg4", "-vf", "[in] crop=360:480 [out]", tempFile.getPath().replace( ".mp4", "_cropped.mp4" )
Error log
02-06 10:11:57.067 13177-14055/mypackage I/Videokit﹕ license file not found...
02-06 10:11:57.068 13177-14055/mypackage I/Videokit﹕ license file //license// created.
02-06 10:11:57.069 13177-14055/mypackage D/Videokit﹕ license check rc : 2
02-06 10:11:57.069 13177-14055/mypackage D/Videokit﹕ run() called
02-06 10:11:57.466 13177-14055/mypackage A/libc﹕ Fatal signal 11 (SIGSEGV), code 2, fault addr 0x407fffff in tid 14055 (AsyncTask #3)//license// : my path to license file
mypackage : censored package name -
Revision 915d5c12d3 : Merge "Fix a tsan error bug in frame parallel decode."
5 mars 2015, par hkuangChanged Paths :
Modify /vp9/decoder/vp9_decodeframe.c
Merge "Fix a tsan error bug in frame parallel decode." -
java.io.IOException : Cannot run program "usr/bin/ffmpeg " : error=2, No such file or directory
1er décembre 2015, par Madan MadanI am experiencing errors when executing ffmpeg command from java program in Ubuntu server. When I execute in putty it executes successfully but from java it gives me the exceptions of
java.io.IOException: Cannot run program "/usr/bin/ffmpeg ":
error=2, No such file or directoryMy Code below :
public String convert3gpTomp4(File contentFile, String filename) {
String[] cmd = new String[6];
filename = StringUtils.substringBefore(filename, ".");
cmd[0] = "/usr/bin/ffmpeg ";
cmd[1] = "-y ";
cmd[2] = "-i ";
cmd[3] = contentFile.getPath();
cmd[4] = " -acodec copy ";
String myfilename = filename +"eg.mp4";
cmd[5] = contentFile.getParent() + "/" + myfilename;
if (execute(cmd)){
return myfilename;
}else{
return null;
}
}
}
public boolean execute(String[] cmd){
try{
Runtime rt= Runtime.getRuntime();
Process proc = rt.exec(cmd);
StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");
StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
errorGobbler.start();
outputGobbler.start();
int exitVal = proc.waitFor();
String sb = outputGobbler.sb.toString();
String eb = errorGobbler.sb.toString();
System.out.println("Command Exceute Exit value: " + exitVal);
proc.destroy();
return true;
}
catch(java.io.IOException e ){System.out.println("IOException "+e);e.printStackTrace();}
catch(java.lang.InterruptedException e){}
return false;
}Output of ffmpeg command :
/usr/bin/ffmpeg -y -i /mydata/clip1.3gp -acodec copy /mydata/clip1eg.mp4
When I run above command in putty , it executes successfully but from Java program.
In the program, I also tried with the following but no success.
usr/bin/ffmpeg
/bin/ffmpeg
ffmpeg
/root/usr/bin/ffmpegPlease let me know where I am doing wrong.
Thanks,