
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (10)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (4434)
-
avcodec/dvenc : Fix undefined left shift of negative numbers
29 septembre 2020, par Andreas Rheinhardt -
avcodec/motion_est : Fix invalid left shift of negative numbers
26 mars 2021, par Andreas Rheinhardt -
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