Recherche avancée

Médias (91)

Autres articles (56)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (10023)

  • Android : Not able to merge two audio files using ffmpeg Android

    29 mars 2019, par Asif Sb

    I am trying to merge two wav audio files into one using FFMPEG library.

    Here is the command I used for merging two audio files.

    String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;

    Below is my audio merger code :

    public void mergeMediaFiles(Context context,String[] cmd) {
               FFmpeg ffmpeg = FFmpeg.getInstance(context);
               try {
                   try {
                       //Load the binary
                       ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                           @Override
                           public void onStart() {
                           }

                           @Override
                           public void onFailure() {
                           }

                           @Override
                           public void onSuccess() {
                           }

                           @Override
                           public void onFinish() {
                           }
                       });
                   } catch (FFmpegNotSupportedException e) {
                       // Handle if FFmpeg is not supported by device
                   }
                   // to execute "ffmpeg -version" command you just need to pass "-version"
                   ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           Log.d("ttt", "onStart:merge ");
                       }

                       @Override
                       public void onProgress(String message) {
                           Log.d("ttt", "onProgress: merge");
                       }

                       @Override
                       public void onFailure(String message) {
                           Log.d("ttt", "onFailure: stock down");
                       }

                       @Override
                       public void onSuccess(String message) {
                           Log.d("ttt", "onSuccess: stock up");
                           File file= new File(finalAudio);
                           if (file.exists()) {
                               Log.d(TAG, "onPostExecute: mila bhai");
                               startPlaying(file.getPath());
                           }
                       }

                       @Override
                       public void onFinish() {
                           Log.d("ttt", "onFinish: merge ");
                       }
                   });
               } catch (FFmpegCommandAlreadyRunningException e) {
                   //
               }
           }

       }

    When I try to run this code. It always triggers failure callback.
    I just wanted to understand what is the issue with the command and merger code ?

  • Android : Not able to merge two audio files using ffmpeg Android (onFailure)

    1er avril 2019, par Asif Sb

    I am trying to merge two wav audio files into one using FFMPEG library.

    Here is the command I used for merging two audio files.

    String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;

    Below is my audio merger code :

    public void mergeMediaFiles(Context context,String[] cmd) {
               FFmpeg ffmpeg = FFmpeg.getInstance(context);
               try {
                   try {
                       //Load the binary
                       ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                           @Override
                           public void onStart() {
                           }

                           @Override
                           public void onFailure() {
                           }

                           @Override
                           public void onSuccess() {
                           }

                           @Override
                           public void onFinish() {
                           }
                       });
                   } catch (FFmpegNotSupportedException e) {
                       // Handle if FFmpeg is not supported by device
                   }
                   // to execute "ffmpeg -version" command you just need to pass "-version"
                   ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                       @Override
                       public void onStart() {
                           Log.d("ttt", "onStart:merge ");
                       }

                       @Override
                       public void onProgress(String message) {
                           Log.d("ttt", "onProgress: merge");
                       }

                       @Override
                       public void onFailure(String message) {
                           Log.d("ttt", "onFailure: stock down");
                       }

                       @Override
                       public void onSuccess(String message) {
                           Log.d("ttt", "onSuccess: stock up");
                           File file= new File(finalAudio);
                           if (file.exists()) {
                               Log.d(TAG, "onPostExecute: mila bhai");
                               startPlaying(file.getPath());
                           }
                       }

                       @Override
                       public void onFinish() {
                           Log.d("ttt", "onFinish: merge ");
                       }
                   });
               } catch (FFmpegCommandAlreadyRunningException e) {
                   //
               }
           }

       }

    When I try to run this code. It always triggers failure callback.
    I just wanted to understand what is the issue with the command and merger code ?

  • How to prevent my users from installing ffmpeg themselves

    7 février 2018, par keys king

    I would like to develop a program for converting video formats based on the ffmpeg command line on mac. I should use c ++ or python. But now there is a problem that bothers me. I do not want my users to have to install the ffmpeg command themselves , before I use my program, so what should I do ? My question may be naive, I’m just a sophomore in college and I would be very grateful if you could help me.

    I should check whether there is ffmpeg in the program, and then use the command line to install it ? I hope my program can bring ffmpeg, rather than to install

    -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

    Sorry, I did not say clearly. I hope my program can be the same as the normal mac program can be placed directly into the Application folder. And then you can open directly. I will use qt to draw the interface