Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (62)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (9339)

  • Unable to find a suitable output format for "ffmpeg" [duplicate]

    25 mars 2020, par deva

    I’m trying to convert video to mp3 using ffmpeg library. when i execute the commands its fail and logs says :
    Unable to find a suitable output format for "ffmpeg".

    There is my code :

       try {

    String[] cmd = new String[]{"ffmpeg", "-i", selectedVideo.get(i),"-y", dstto};

           if (cmd.length!=0){
               fFmpeg.execute(cmd, new ExecuteBinaryResponseHandler(){

                   @Override

                   public  void onSuccess(String s){

                       Toast.makeText(getApplicationContext(),"success"+ s, Toast.LENGTH_SHORT).show();

                   }



                   @Override

                   public  void onFailure(String s){

                       Toast.makeText(getApplicationContext(),"fail"+ s, Toast.LENGTH_SHORT).show();

                       log.setText(s);

                   }

               });

           }

       } catch (FFmpegCommandAlreadyRunningException e) {

           e.printStackTrace();

       } ```
  • ffmpeg. I correct that to insert the logo

    12 mai 2012, par user1390921
    private void btnStart_Click(object sender, EventArgs e)
    {
    this.btnStart.Enabled = false;
    this.progressBar1.Value = 0;

    string srcFile = Path.Combine(this.txtSource.Text, this.lstFiles.SelectedItem.ToString());
    MessageBox.Show(srcFile);
    string dstFile = Path.Combine(this.txtOutput.Text,
    Path.GetFileNameWithoutExtension(this.lstFiles.SelectedItem.ToString())) + "." + this.cboOutputFormat.SelectedItem;
    MessageBox.Show(dstFile);
    string imafile = Path.Combine("movie= "+this.openFileDialog1.SafeFileName);
    MessageBox.Show(imafile);


               string videoRateOption = string.Empty;
    if (this.cboVideoRate.SelectedIndex != 0)
    {
    videoRateOption = " -b:v " + this.cboVideoRate.SelectedItem.ToString().Split(' ')[0] + "k ";
    MessageBox.Show(videoRateOption);
    }

    string videoSizeOption = string.Empty;
    if (this.lstVideoSize.SelectedIndex != 0)
    {
    videoSizeOption = " -s " + this.lstVideoSize.SelectedItem.ToString().Split(' ')[0] + " ";
    }


               this.Text = "Converting...";
    ThreadPool.QueueUserWorkItem((object state) =>
    {
    ConvertFile(srcFile, imafile, dstFile, videoRateOption, videoSizeOption);
    });
    }


    string strFFMPEGOut;
    ProcessStartInfo psiProcInfo = new ProcessStartInfo();
    TimeSpan estimatedTime = TimeSpan.MaxValue;

    StreamReader srFFMPEG;

                   string ste = ""movie=watermarklogo.png [wm];[in][wm] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]"";
    string strFFMPEGCmd = " -i "" + srcFile + "" -ar 44100 " + videoRateOption + videoSizeOption +"-vf"+ ste + "-y ""
    + dstFile + """;

    psiProcInfo.FileName = Application.StartupPath + ((IntPtr.Size == 8) ? "\x64" : "\x86") + "\ffmpeg.exe";
    psiProcInfo.Arguments = strFFMPEGCmd;
    psiProcInfo.UseShellExecute = false;
                   psiProcInfo.WindowStyle = ProcessWindowStyle.Hidden;
    psiProcInfo.UseShellExecute = false;
    psiProcInfo.RedirectStandardError = true;
    psiProcInfo.ErrorDialog = true;
    psiProcInfo.RedirectStandardOutput = true;
    psiProcInfo.CreateNoWindow = true;

    prcFFMPEG.StartInfo = psiProcInfo;

    prcFFMPEG.Start();

    There is no response that I push the start button.
    There is no response that I push the start button that I tried to fix the code that I
    inserted the logo in the movie with Ffmpeg.
    Is that be okay if I don't choose the path of logo File. and Is there any something wrong that I did.

  • FFMPEG : extracting jpegs at 1 fps rate with "-r 1" or "vf fps=fps=1" causes first three frames to be wrong [closed]

    11 avril 2013, par Stefan

    I need to use ffmpeg to extract video stills from a video, one picture per second, starting with second 0. I created a 4min test video with a running timecode (25fps, starting with 00:00:00 running to 03:59:24) If I use either

    ffmpeg -i input.mp4 -f image2 -r 1 still-%d.jpeg

    or

    ffmpeg -i input.mp4 -f image2 -vf fps="fps=1" still-%d.jpeg

    I fail because the first three images do not display expected time codes 00:00:00, 00:01:00, 00:02:00, but 00:00:00, 00:00:01, 00:00:13, and all subsequent images show having frame 13 in their timecode (and not :00). This causes my video preview to be off by 1-2 seconds.

    I had to resort to invoke ffmpeg for each frame, using -ss 0..240 and -vframes 1 to extract exactly one frame at the exact time. This works perfectly, all output files show the timecode of the first frame of that second.

    This method is considerably slower, however, and I'd rather not use it.

    Is there something I missed with the -r option or fps filter ? I tried specifying fps=fps=1:round=zero, but I got an error saying that the key "round" was not found.

    Thank you in advance !