Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (112)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (5412)

  • Android, Splitting GIFs with FFMPEG doesnt work

    19 mars 2019, par raddeee

    I wanted to split animated gif files using FFmpeg-Android-Java, so I referenced this question Android, split gif to frames with ffmpeg
    and wrote this code.

    String path = "/storage/emulated/0/Download/mothersday-toaster.gif";
           String cmd[] = {"-i",path,"-vsync","0","/storage/emulated/0/Download/output$03d.png"};

           try {
               // to execute "ffmpeg -version" command you just need to pass "-version"
               ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                   @Override
                   public void onStart() {}

                   @Override
                   public void onProgress(String message) {}

                   @Override
                   public void onFailure(String message) {Log.d("Q", "failed to convert");}

                   @Override
                   public void onSuccess(String message) {}

                   @Override
                   public void onFinish() {}
               });
           } catch (FFmpegCommandAlreadyRunningException e) {
               // Handle if FFmpeg is already running
           }

    Although, It always gives me the "failed to convert" log. FFMPEG is already loaded. Is there something wrong with my code ?

  • command not working to find duration of the video file in android ?

    25 octobre 2018, par Dinesh S

    I want to find duration of the video file. For this purpose i used the below command.
    It is working file in Desktop. While running in android.It is showing error. I also attached error message . can anyone able to tell me why it is not working ?

    execFFmpegBinary("-i "+file.getAbsolutePath()+" 2>&1 | find \"Duration\"");

    //Function used to run command
    private static void execFFmpegBinary(final String command)
    {
       try
       {
           ffmpeg.execute(command, new ExecuteBinaryResponseHandler()
           {
               @Override
               public void onFailure(String s)
               {
                   Log.d(TAG, "FAILED with output : " + s);
               }

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

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

               @Override
               public void onStart()
               {
                   Log.d(TAG, "Started command : ffmpeg " + command);
               }

               @Override
               public void onFinish()
               {
                   Log.d(TAG, "Finished command : ffmpeg " + command);
               }
           });
       }
       catch (FFmpegCommandAlreadyRunningException e)
       {
           // do nothing for now
           Log.i(TAG,"Command Already running");
       }
    }

    Error Message :

    [NULL @ 0xac11acd0] Unable to find a suitable output format for '2>&1'
                   2>&1: Invalid argument
  • I am trying add text and image over video using FFmpeg lib in androoid studio

    21 juin 2019, par vikram

    I am using FFmpeg lib for add text over video and add image over video but could not get successful. I am testing this one in a real device.

    I am have already tried 2 commands for add text and add image over video but could not get proper output

    String command[]={"ffmpeg","-i",inputpath,"-vf", "drawtext="+"\""+"fontfile=/sdcard/retro.ttf: text='Test Text'"+"\"",outputpath};


    String addimg[]={"ffmpeg","-i", inputpath,"-i", imagepath ,"-filter_complex", "[0:v][1:v] overlay=25:25:enable='between(t,0,10)'" ,"-pix_fmt", "yuv420p", "-c:a copy",outputpath};

    public void LoadFFmpegLibrary()
    {
       if(ffmpeg==null)
       {
           ffmpeg = FFmpeg.getInstance(MainActivity.this);
           try {
               ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                   @Override
                   public void onStart() {
                       Log.e("ffmpeg","Start to load");
                   }

                   @Override
                   public void onFailure() {
                       Log.e("ffmpeg","failed to load");
                   }

                   @Override
                   public void onSuccess() {
                       Log.e("ffmpeg","load Successfully");
                       ExcuteFfmpefLibrabry(command);
                       //    Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_LONG).show();
                   }

                   @Override
                   public void onFinish() {
                       Log.e("ffmpeg","failed to load");
                   }
               });
           } catch (FFmpegNotSupportedException e) {
               // Handle if FFmpeg is not supported by device
               Log.e("ffmpeg",e.toString());
           }

       }


    }

    public void ExcuteFfmpefLibrabry(String command[])
    {

       ffmpeg = FFmpeg.getInstance(MainActivity.this);
       try {
           // to execute "ffmpeg -version" command you just need to pass "-version"
           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) {
                   Log.e("ffmpeg","failed to Excute Command");
                   Log.e("ok",message);
               }

               @Override
               public void onSuccess(String message) {
                   Log.e("ffmpeg","Video Edited Successfully");
                   Log.e("ok",message);
                   // ExcuteFfmpefLibrabry(tetxcommand);
                   Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_LONG).show();

               }

               @Override
               public void onFinish() {

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

    Unable to find a suitable output format for ’ffmpeg’
    ffmpeg : Invalid argument

    I am getting an error ---> Unable to find a suitable output format for 'ffmpeg' ffmpeg: Invalid argument