Recherche avancée

Médias (0)

Mot : - Tags -/latitude

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (68)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • 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 (7904)

  • trying to merge audio with video

    9 juillet 2019, par vikram

    i am using ffmpeg for merging audio and video. i have download 4 sec mp3 file trying to merge but not successful. i am also trying to merge silent audio it works but the video become half of its original length.

     this command for silent audio works but cut video



     String mergecmd1[]={"-i",output,"-f", "lavfi" ,"-i", "aevalsrc=0", " -
     shortest", "-y", output};    

      this command for mp3 audio but not working

      String cmd1[]={"-i", output ,"-
      i","/storage/emulated/0/FestiveApp/Assets/audio.mp3" ,"-codec", "copy",
      "-shortest", output};






            ffmpeg = FFmpeg.getInstance(Donts_Activity.this);
       try {

           ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {

               @Override
               public void onStart() {

    // Log.e("ffmpeg","Exaction Start") ;
    }

               @Override
               public void onProgress(String message) {}

               @Override
               public void onFailure(String message) {
                   progressDialog.dismiss();
                   Log.e("ok",message);
               }

               @Override
               public void onSuccess(String message) {
                   new Sessionmanager(Donts_Activity.this).SetImageToVideoPath(output);

                   Log.e("ok","success");


                   progressDialog.dismiss();

                   Intent intent=new Intent(Donts_Activity.this,MediaRecorderRecipe.class);
                   startActivity(intent);
                   finish();
               }

               @Override
               public void onFinish() {

               }
           });
       } catch (FFmpegCommandAlreadyRunningException e) {
           Log.e("ffmpeg",e.toString());
           progressDialog.dismiss();
       }

    my first goal generate video with audio but video length does not be reduce or cut if i am using mp3 or silent ffmpeg audio command

  • Fade in and out audio repeatedly of an audio source using ffmpeg

    1er avril 2022, par corgrath

    I am wondering if this is possible with FFMPEG. If not, I am interested what the closest solution could be.

    


    I have an audio file ; input.mp3

    


    I would like to do this repeatedly over the whole track ;

    


      

    • Play the audio for 10 seconds
    • 


    • Fade out to silence
    • 


    • The track is silent for 10 seconds
    • 


    • Fade in the audio again
    • 


    • The track is playing for 10 seconds
    • 


    


    Then output the audio.

    


    With other words, I would like to continuously play the audio of an input every other 10 seconds with fade in and out effects.

    


    I am not sure if this is possible with FFMPEG to continuously do that.

    


    If it is not possible to continuously do that until the end of the track, I can create a script that does that if timestamps are needed. If so, I need to learn how to fade in at X, play for Y seconds, fade out (alternatively, fade out at X, it remains silent for 10 seconds, then fade in at Y).

    


    Any advice is appreciated !

    


    Update !

    


    Now that I think about it, the question is more about adjusting input sound volumes across time !

    


  • Add line to FFmpeg waveform without a background

    26 février 2024, par kaif15

    I am trying to write an ffmpeg command to generate a waveform from audio. I've managed to generate the waveform but I fail when trying to add a line such that the silent areas are not blank.

    


    Currently the command is :

    


     -filter_complex "[0:a]aformat=channel_layouts=mono,compand=attacks=0:points=-80/-900|-45/-15|-27/-9|0/-7|20/-7:gain=15,showwavespic=s=180x26:colors=#7c84cc[fg];color=s=180x26:color=#303030[bg];[bg][fg]overlay=format=auto,drawbox=x=(iw-w)/2:y=(ih-h)/2:w=iw:h=1:color=#7c84cc" -frames:v 1


    


    I have added some tweaks of my own to boost the visual appeal but what I would like is to use the drawbox without the color filter. If I try to do that the line disappears during the silent part.

    


    I have also attempted to use a transparent image as the background but that failed as well.

    


    I have relied heavily on this question when approaching this problem :
    
Generating a waveform using ffmpeg