Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (12017)

  • How to convert a video to mask with ffmpeg ?

    8 avril 2019, par Zedd W

    I want to synthesize videos with a pre-designed template.

    template structure

    The final result is similar to the video below

    result : This video is synthesized by me using moviepy(a Python module for video editing). But it takes too long to be used in production.

    So, I need to overlay these videos into a single video.

    Current problems

    • How to convert a video to mask by ffmpeg ?
    • How to synthesize these videos to a single video by ffmpeg ?
  • video compression error in android

    27 avril 2017, par Arpan Sharma

    I am using ffmpeg for video compression in android.I an following this link
    But i always get exit code 1.I am trying to get video from VIDEO CAPTURE intent inside a fragment.
    This is my code

    final Clip clip_in = new Clip(videoPath);
           File fileTmp = activity.getCacheDir();
           File fileAppRoot = new File(activity.getApplicationInfo().dataDir);

           final Clip clip_out = new Clip(videoPath);
           //put flags in clip
           clip_out.videoFps = "30";
           clip_out.width = 480;
           clip_out.height = 320;
           clip_out.videoCodec = "libx264";
           clip_out.audioCodec = "copy";

           try {
               FfmpegController fc = new FfmpegController(getContext(), fileTmp);
               fc.processVideo(clip_in, clip_out, false, new ShellUtils.ShellCallback() {

                   @Override
                   public void shellOut(String shellLine) {
                       System.out.println("MIX> " + shellLine);
                   }

                   @Override
                   public void processComplete(int exitValue) {
                       if (exitValue != 0) {
    //                        System.err.println("concat non-zero exit: " + exitValue);
                           Log.d("ffmpeg", "Compilation error. FFmpeg failed");
                           Toast.makeText(activity, "result: ffmpeg failed", Toast.LENGTH_LONG).show();
                       } else {
                           if (new File("/storage/emulated/0/Developer/result2.mp4").exists()) {
                               Log.d("ffmpeg", "Success file:" + "/storage/emulated/0/Developer/result2.mp4");
                           }
                       }
                   }
               });

           } catch (Exception e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
           }

    Any help will be appreciated.

  • Setting duration is not working in ffmpeg

    7 mai 2014, par Stepan

    Have problem with creating video from 50 png files in ffmpeg in shell.
    Setting duration -t 5 and fps -r 10

    ffmpeg -i image%d.png -y -pix_fmt yuv444p -r 10 -t 5 -s 1920:1080 out.mp4

    Final duration is 2 seconds and fps is 25.

    How to set it correctly ?

    I’m running at elementaryOS, ffmpeg version 0.8.10-4

    Thanks