Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (72)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (6371)

  • How to concatenate videos using FFMPEG in android using guardian project

    12 juin 2014, par Divya Motiwala

    I am trying to combine two mp4 videos using guardian project as library project in my app. But it does not generate the output at specified location. I went through various solution for it but no success.
    PFB the code :

    File fileTmp = this.getCacheDir();
    File fileAppRoot = new File(this.getApplicationInfo().dataDir);

    FfmpegController fc;

    fc = new FfmpegController(fileTmp, fileAppRoot);



       final Clip out = new Clip(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)+"/Video/compiled.mp4");

       ArrayList<clip> listVideos = new ArrayList<clip>();

       File fileVideoRoot = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)+"/Video");
       String[] fileList = fileVideoRoot.list();

       for (String fileVideo : fileList)
       {
           if (fileVideo.endsWith("mp4"))
           {
               Clip clip = new Clip();
               clip.path = new File(fileVideoRoot,fileVideo).getCanonicalPath();

               fc.getInfo(clip);

               clip.duration = clip.duration-1;
               listVideos.add(clip);


           }
       }


       fc.concatAndTrimFilesMP4Stream(listVideos, out, false, false, new ShellUtils.ShellCallback() {

           @Override
           public void shellOut(String shellLine) {

               System.out.println("fc>" + shellLine);
           }

           @Override
           public void processComplete(int exitValue) {

               if (exitValue &lt; 0)
                   System.err.println("concat non-zero exit: " + exitValue);

           }
       });
    </clip></clip>

    I am getting exception :

    There was a problem rendering the video :
    /mnt/sdcard/Download/Video/compiled.mp4

    Please guide me on how to concatenate videos in android.

  • executing batch file when called from java project

    28 décembre 2013, par Mostafa Wasat

    So I'm working on a java project, that at some point I have to execute a batch file (from within the code).

    The batch file runs fine if I run it by double clicking in windows explorer,
    and/or even if I write the command in the command prompt it runs ok.

    However, when i call the file from the java code, the command prompt launches and says that its not a recognized command, program, or batch file.

    the patch file looks something like this :

    ffmpeg -re -i C:/001.mp3 -c:a mp3 -ar 12000 -f mulaw -f rtp rtp://127.0.0.1:1234

    and here's how I call it within the java code :

    Runtime.getRuntime().exec("cmd /c start c:\\encode.bat");

    I might add that the command prompt when run by java it runs as administrator and I have included the ffmpeg path to be run by any user anyway.

    Excuse me if I have missed any important details and would be happy to provide them if anyone needs further details to answer my dilemma.

    why might this be ?

    Edit :
    i have tried the same code on another pc and it works fine, can someone please explain to me why the command doesnt get recognized when the command prompt gets run through java

  • FFmpeg output to MacOSX screen ?

    18 août 2014, par Richard Milewski

    How do I route ffmpeg output to the screen on MacOSX ?

    If I type :

    ffmpeg -i input.mp4 -i logo.png -filter_complex overlay  output.mp4

    The output file contains the input file with the logo overlayed on top of it.

    If I type :

    ffplay -i input.mp4 -i logo.png -filter_complex overlay  

    Then it throws the error :

    Argument 'logo.png' provided as input filename, but 'input.mp4' was already specified.

    ...but typing :

    ffplay -filters

    displays a list of filters including :

    T.C overlay          VV->V      Overlay a video source on top of the input.

    Clearly, I’m missing something obvious.

    How do I route ffmpeg output to the screen, and where can I find a list of which filters and options work in ffmpeg but not in ffplay ?