Recherche avancée

Médias (91)

Autres articles (101)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (12634)

  • FFmpeg overlay filter_complex is slow on Android

    15 septembre 2019, par nor0x

    I’m using FFmpeg on Android (Xamarin) to add a watermark to a video. I have tested the operation with multiple videos and i think overall performance is pretty bad. I wanted to share my results and see how if anyone has similar or better benchmarks.

    I’m using the following command for adding a png watermark to the video.

    $"-i {video} -i {watermark} -filter_complex \"overlay=W-w-5:H-h-5\" -codec:a copy -preset ultrafast -loglevel debug {output} -y";

    The watermark is a 150x150 png with a filesize of 18KB.

    Video 1
    - 13 seconds
    - 3840x2160
    - 60FPS
    - 125MB
    FFmpeg duration : 156 seconds

    Video 2
    - 4 seconds
    - 3840x2160
    - 30FPS
    - 17MB
    FFmpeg duration : 35 seconds

    Video 3
    - 10 seconds
    - 1920x1080
    - 60FPS
    - 35MB
    FFmpeg duration : 79 seconds

    What do you think of these results, is it legit that adding an overlay takes that long ? Maybe there is something wrong with my command ? I ran these tests on an Asus Zenfone 6 (Snapdragon 855, 8GB RAM)

    EDIT :
    I’m using FFmpeg version 3.0.1.1 compiled for ARM. (https://github.com/gperozzo/XamarinAndroidFFmpeg/tree/master/binary/3.0.1.1/arm).

    All videos are mp4 files with the H.264 format.

  • ffmpeg exr sequence to mov with h264 encoding

    19 mars 2017, par JokerMartini

    How can I convert a sequence of exr’s to a mov file with h264 compression ? I’ve been messing with this for quite some time now and haven’t been able to get it to work at all.
    Here is what i have so far.

    enter image description here

    setlocal

    :: VARIABLES
    SET ffmpeg="C:/ffmpeg/bin/ffmpeg.exe"
    SET IMAGES="C:/Users/JokerMartini-Asus/Desktop/Trash/exr/teapot.%04d.exr"
    SET OUTPUT="C:/Users/JokerMartini-Asus/Desktop/Trash/exr/teapot.mp4"

    ::%ffmpeg% -y -f image2 -i %IMAGES% %OUTPUT%
    "C:/ffmpeg/bin/ffmpeg.exe" -y -f image2 -i "%IMAGES%" "%OUTPUT%"

    endlocal
    echo - Complete!
    ::pause
  • FFmpeg can't run in some device Android

    30 mars 2016, par tqn

    i’m working in a video processing project and now i’m using ffmpeg library in Android. I’m facing with a strange problem with asus zenphone 4 t00l (or all x86 device, I’ve just test in this x86 phone). When start command in project, app always crash :

    03-30 15:08:18.461 21068-21068/com.paditech.videa I/FFmpeg: Loading FFmpeg for armv7-neon CPU
    03-30 15:08:18.781 21068-21068/com.paditech.videa I/System.out: Success........
    03-30 15:26:12.933 21068-21068/com.paditech.videa E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 59
    03-30 15:26:12.933 21068-21068/com.paditech.videa E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 63
    03-30 15:26:15.913 21068-21068/com.paditech.videa D/VideoActivity: onDestroy
    03-30 15:26:18.993 21068-21068/com.paditech.videa I/FFmpeg: Loading FFmpeg for armv7-neon CPU
    03-30 15:26:19.263 21068-21068/com.paditech.videa I/System.out: Success........
    03-30 15:26:42.583 21068-21184/com.paditech.videa D/FFmpeg: Running publishing updates method
    03-30 15:26:42.583 21068-21068/com.paditech.videa E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 59
    03-30 15:26:42.583 21068-21068/com.paditech.videa E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 85
    03-30 15:26:42.683 21068-21068/com.paditech.videa D/VideoActivity: /data/data/com.paditech.videa/files/ffmpeg[1]: syntax error: '-�-4�' unexpected
    03-30 15:26:42.683 21068-21068/com.paditech.videa D/VideoActivity: /data/data/com.paditech.videa/files/ffmpeg[1]: syntax error: '-�-4�' unexpected

    First, I think the problem is ffmpeg library. So I created a test module with simple activity just load and run command and there’re no problem.

    Second, I’m afraid that app cannot load version ffmpeg, because in my log, it’s armv7-neon althought it’s x86 (In my test module, it display x86). And according my search result, may be a external library make app to use abi arm (Build.CPU_API="armv7"). So I try remove all library in gradle in module Test and detected a library. But check in aar file of library, it support all x86 and arm. But after remove it, app still crash with same log. And strangely, althogh Test module register as arm but it’still run success (External question : Why add library jp.wasabeef:picasso-transformations make system register as armv7 although it’s x86)

    Finally, i think problem is command. But after debug, I use same command for Test module but it still success. Now i’m still stuck with it. Could anyone help me to solve it. Thanks. Here my demo code :

       String input = "/storage/emulated/0/Videa/Video/VIDEO_20160122_160020.mp4";
       String output = "/storage/emulated/0/Videa/Audio/AUDIO_20160330_142501.wav";
       String[] command = {
               "-y",
               "-i",
               input,
               "-vn",
               "-f",
               "wav",
               output
       };
       FFmpeg ffmpeg = FFmpeg.getInstance(getApplicationContext());
       try {
           ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {

               @Override
               public void onSuccess(String message) {
                   super.onSuccess(message);
                   System.out.println("Success " + message);
               }

               @Override
               public void onFailure(String message) {
                   super.onFailure(message);
                   System.out.println("Failure " + message);
               }
           });
       } catch (Exception e) {
           e.printStackTrace();
       }

    And here is Failed command :

       ArrayList<string> cmd = new ArrayList<string>();
       cmd.add("-y");
       cmd.add("-i");
       cmd.add(input);
       cmd.add("-vn");
       cmd.add("-f");
       cmd.add("wav");
       cmd.add(output);
       String[] result = new String[cmd.size()];
       return cmd.toArray(result);
    </string></string>