Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (50)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (2918)

  • ffmpeg. I correct that to insert the logo [closed]

    13 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 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.

  • Android ffmpeg : Use image for Watermark from drawable or assets folder

    17 septembre 2019, par Pratik Butani

    How to use image for watermark from drawable folder or assets folder in Android.

    I found many examples with command but all the examples are working with static image path of internal storage.

    I have done following code to make video with watermark.

       try {
           FFmpeg ffmpeg = FFmpeg.getInstance(mContext);
           // to execute "ffmpeg -version" command you just need to pass "-version"

           String mSelectedPath = PathUtils.getPathFromUri(mContext, selectedUri);
           String mFileName = PathUtils.getFileName(mSelectedPath);
           final String mDestinationPath = "/storage/emulated/0/" + mFileName;

           String[] array = new String[]{"-i", mSelectedPath , "-i", "/storage/emulated/0/logo.png", "-filter_complex", "[0:v][1:v]overlay=main_w-overlay_w-10:10", "-codec:a", "copy", mDestinationPath};

           ffmpeg.execute(array, new ExecuteBinaryResponseHandler() {

               @Override
               public void onStart() {
                   Log.d(TAG, "onStart: ");
                   Toast.makeText(mContext, "Preparing video...", Toast.LENGTH_SHORT).show();
               }

               @Override
               public void onProgress(String message) {
                   Log.d(TAG, "onProgress: " + message);
                   Toast.makeText(mContext, "Processing for compression...", Toast.LENGTH_SHORT).show();
               }

               @Override
               public void onFailure(String message) {
                   Log.d(TAG, "onFailure: " + message);
                   Toast.makeText(mContext, "Failed to upload, Try Again.", Toast.LENGTH_SHORT).show();
               }

               @Override
               public void onSuccess(String message) {
                   Log.d(TAG, "onSuccess: " + message);
                   Toast.makeText(mContext, "Uploading started", Toast.LENGTH_SHORT).show();
                   mFinalUploadUri = PathUtils.getUriFromPath(mContext, new File(mDestinationPath));
                   uploadVideo();
               }

               @Override
               public void onFinish() {
                   Log.d(TAG, "onFinish: ");

               }
           });
       } catch (FFmpegCommandAlreadyRunningException e) {
           // Handle if FFmpeg is already running
           e.printStackTrace();
       }

    Anyone know how to use image for watermark from drawable or assets folder ? Can anyone help ?

  • Execute command by php exec() with xampp in ubuntu {not working}

    27 juin 2020, par Mohamed Ali

    I executed this command
nohup ffmpeg -i input.mp4 -vcodec h264 -preset:v ultrafast -b:v 1000k -acodec mp3 output.mp4 2>output.txt &
in ubuntu by Terminal and it worked properly but when I tried to execute it by php exec($myCommand) it didn't work and show this message

    


    Error message :
enter image description here

    


    I tried to solve it by change name of this file libstdc++.so.6 to libstdc++.so.6.old in this directory /opt/lampp/lib after that when I execute my command it show this message
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates