
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (33)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (4669)
-
The FFmpeg just show the number form the input text (no characters , just numbers) error=13, Permission denied
14 avril 2021, par gejivi2011I was trying to use FFmpeg to create a video form gif and audio, on Android 10, doesn't work
The code is working fine on android 9 and below, and not work 10 and above
the Cmd, as I mentioned it is work so good on android 9 and below


String[] cmd = new String[24];
 cmd[0] = "-i";
 cmd[1] = audio.getPath();
 cmd[2] = "-ignore_loop";
 cmd[3] = "0";
 cmd[4] = "-i";
 cmd[5] = image_path;
 cmd[6] = "-vf";
 cmd[7] = "scale=trunc(iw/2)*2:trunc(ih/2)*2";
 cmd[8] = "-filter:v";
 cmd[9] = ayat_drawer + qara_draw;
 cmd[10] = "-vcodec";
 cmd[11] = "libx264";
 cmd[12] = "-pix_fmt";
 cmd[13] = "yuv420p";
 cmd[14] = "-r";
 cmd[15] = "25";
 cmd[16] = "-preset";
 cmd[17] = "ultrafast";
 cmd[18] = "-c:a";
 cmd[19] = "aac";
 cmd[20] = "-b:a";
 cmd[21] = "128k";
 cmd[22] = "-shortest";
 cmd[23] = outputLocation.getPath();



The Java code :


FFmpeg mFFmpeg = FFmpeg.getInstance(context);
 try {
 mFFmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
 @Override
 public void onProgress(String message) {
 super.onProgress(message);
 callback.onProgress(message);
 }

 @Override
 public void onSuccess(String message) {
 super.onSuccess(message);
 Utils.refreshGallery(outputLocation.getPath(), context);
 callback.onSuccess(outputLocation, "video");
 }

 @Override
 public void onFailure(String message) {
 super.onFailure(message);
 if (outputLocation.exists()) {
 outputLocation.delete();
 }
 callback.onFailure(new IOException(message));
 }

 @Override
 public void onStart() {
 Log.d("TAG", "<ffmpeg>Started command : mFFmpeg " + java.util.Arrays.toString(cmd));
 }

 @Override
 public void onFinish() {
 Log.d("TAG", "<ffmpeg>Finished command : mFFmpeg " + java.util.Arrays.toString(cmd));
 super.onFinish();
 callback.onFinish();
 }
 });
 } catch (FFmpegCommandAlreadyRunningException e) {
 Log.e("MAS" , e.getMessage());
 e.printStackTrace();
 }
</ffmpeg></ffmpeg>


I think that because FFmpeg using Asynctask and it is deprecated


-
Evolution #4065 (Fermé) : le lien vers les articles liés à chaque document
19 décembre 2017, par b bSuper, on peut fermer :)
-
Anomalie #4290 (Fermé) : Bug : Expressions régulières, certaines syntaxes ne répondent pas ce qu’o...
19 février 2019, par b bSuper, on peut fermer alors :)