Recherche avancée

Médias (1)

Mot : - Tags -/géodiversité

Autres articles (58)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (10950)

  • FFMPEG command fails for file path with white spaces

    28 septembre 2016, par user3904345

    I am executing the below ffmpeg command for trimming videos.The issue I am having is that if filepath contains spaces then the command fails.I tried many ways to handle spaces but none of them worked except moving file to a path that doesn’t have space and then executing the command with new file path as source.
    Below is the command-

    execFFmpegBinary("-i " +  filepath   + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath());



    private void execFFmpegBinary(final String command) {
           try {
               ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
                   @Override
                   public void onFailure(String s) {
                       Log.e("Previewragment", "FAILED with output : " + s);
                   }

                   @Override
                   public void onSuccess(String s) {
                       Log.e("Previewragment", "SUCCESS with output : " + s);
                   }

                   @Override
                   public void onProgress(String s) {
                       Log.e("Previewragment", "Started command : ffmpeg " + command);
                       Log.e("Previewragment", "progress : " + s);
                   }

                   @Override
                   public void onStart() {
                       Log.e("Previewragment", "Started command : ffmpeg " + command);

                   }

                   @Override
                   public void onFinish() {



                   }
               });
           } catch (FFmpegCommandAlreadyRunningException e) {
               // do nothing for now
           }
       }

    I saw this answer and tried

    String addQuotes(String in ) {
           return "\"" + in + "\"";
       }
    execFFmpegBinary("-i " +  addQuotes(filepath)   + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath())

     ;

  • fate/source-check.sh : Use "git show" instead of git —version to test for git

    15 février 2016, par Michael Niedermayer
    fate/source-check.sh : Use "git show" instead of git —version to test for git
    

    This fixes fate with non git source trees

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] tests/fate/source-check.sh
  • FFMPEG show an Image with specific duration in filter_complex chain

    26 juin 2021, par Digerkam

    I have trouble with showing images with a specific duration in filter_complex.

    &#xA;

    I have to use filter_complex, and getting error : "No such filter : 'duration'"

    &#xA;

    So which filter do I need to use ?

    &#xA;

    ffmpeg \&#xA;    -i "music.mp3" \&#xA;    -i "01.mp4" \&#xA;    -i "02.jpg" \&#xA;    -i "03.mp4" \&#xA;    -i "04.jpg" \&#xA;    -i "05.mp4" \&#xA;    -filter_complex " \&#xA;        [1:v]scale=300:400,trim=0:2,setpts=PTS-STARTPTS[v1]; \&#xA;        // Correct filter needed here: \&#xA;        [2:v]scale=300:400,duration=2,setpts=PTS-STARTPTS[v2]; \&#xA;        [3:v]scale=300:400,trim=4:6,setpts=PTS-STARTPTS[v3]; \&#xA;        // And here:&#xA;        [4:v]scale=300:400,duration=2,setpts=PTS-STARTPTS[v4]; \&#xA;        [5:v]scale=300:400,trim=8:10,setpts=PTS-STARTPTS[v5]; \&#xA;        [v1][v2][v3][v4][v5]concat=n=5:v=1:a=0[out] \&#xA;    " \&#xA;    -map "[out]" -map "0:a" -t "12" -c:v "libx264" -pix_fmt "yuv420p" -s "300x400" output.mp4&#xA;

    &#xA;