
Recherche avancée
Autres articles (14)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (3784)
-
avfilter/tonemap_vaapi : set va parameters filters and numbers
30 juin 2020, par Fei Wangavfilter/tonemap_vaapi : set va parameters filters and numbers
This can fill VAProcPipelineParameterBuffer correctly and make the
pipeline works.Reviewed-by : Soft Works <softworkz@hotmail.com>
Signed-off-by : Fei Wang <fei.w.wang@intel.com>
Signed-off-by : Haihao Xiang <haihao.xiang@intel.com> -
ffmpeg : deprecate passing numbers to -vsync
4 décembre 2021, par Anton Khirnov -
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