Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (61)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7680)

  • FFMPEG Command in Android Failing to Execute

    15 janvier 2015, par Zoe

    I’m trying to execute ffmpeg commands through an android app I’m developing.

    I found this post which has been somewhat useful :
    Problems with ffmpeg command line on android

    and I downloaded a static build of ffmpeg from here : http://ffmpeg.gusari.org/static/

    The problem is, when this code runs

    public void merge_video(){


         String[] ffmpegCommand = new String[5];
         ffmpegCommand[0] = "/data/data/com.example.zovideo/ffmpeg";
         ffmpegCommand[1] = "-i";
         ffmpegCommand[2] = "concat:storage/emulated/0/DCIM/Camera/VID30141106_211509.mp4|storage/emulated/0/DCIM/Camera/VID30141106_211509.mp4";
         ffmpegCommand[3] = "copy";
         ffmpegCommand[4] = "storage/emulated/0/DCIM/ZoVideo/Output.mp4";  

         try {
             Process ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();

             String line;
             BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));
             Log.d(null, "*******Starting FFMPEG");

             while((line = reader.readLine())!=null){

                 Log.d(null, "***"+line+"***");
             }
             Log.d(null,"****ending FFMPEG****");

       } catch (IOException e) {
           e.printStackTrace();
       }
     }

    It fails when trying to start the process with

    Java.io.IOException: Error running exec(). Command: [/data/data/com.example.zovideo/ffmpeg, -i, concat:storage/emulated/0/DCIM/Camera/VID30141106_211509.mp4|storage/emulated/0/DCIM/Camera/VID30141106_211509.mp4, copy, storage/emulated/0/DCIM/ZoVideo/Output.mp4] Working Directory: null Environment: [ANDROID_ROOT=/system, EMULATED_STORAGE_SOURCE=/mnt/shell/emulated, LOOP_MOUNTPOINT=/mnt/obb, LD_PRELOAD=libsigchain.so, ANDROID_BOOTLOGO=1, EMULATED_STORAGE_TARGET=/storage/emulated, EXTERNAL_STORAGE=/storage/emulated/legacy, SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar, ANDROID_SOCKET_zygote=10, PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, ANDROID_DATA=/data, ANDROID_ASSETS=/system/app, ASEC_MOUNTPOINT=/mnt/asec, BOOTCLASSPATH=/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar, ANDROID_PROPERTY_WORKSPACE=9,0, ANDROID_STORAGE=/storage]

    I understand from the stackoverflow post I mentioned above that the ffmpeg static build needs to be on my device otherwise my app cannot use it.

    However I’m unsure how to get it in the /data/data/com.example.zovideo folder as needed.

    I have done is download the latest static ffmpeg build from http://ffmpeg.gusari.org/static/ and copied it into my libs/armeabi and libs/armeabi-v7a folders but this obviously hasn’t succeeded in getting into the data/data folder when my app is installed onto my device.
    (I feel like I’m being an idiot by copy/pasting the files but I don’t know what else to do. I don’t know how to compile it myself - I have compiled ffmpeg using a Roman10 tutorial but this produces .so files which from which I understand is not what I need)

    So I’m a little stuck.
    Any advice is greatly appreciated. Thanks

  • FFMPEG SilenceDetect

    16 février 2015, par Sreenivas Shenoy

    I am trying to understand the output obtained from FFMPEG. A part of the output, I obtained is as shown below.

    [null @ 000000000449e740] Encoder did not produce proper pts, making some up
    [silencedetect @ 00000000048263a0] silence_start: -0.00356009
    [silencedetect @ 00000000048263a0] silence_end: 11.4242 | silence_duration:11.4278
    [silencedetect @ 00000000048263a0] silence_start: 11.7457
    [silencedetect @ 00000000048263a0] silence_end: 11.8422 | silence_duration: 0.0964399
    [silencedetect @ 00000000048263a0] silence_start: 12.1173
    .....
    [silencedetect @ 00000000048263a0] silence_end: 113.708 | silence_duration: 0.14288
    [silencedetect @ 00000000048263a0] silence_start: 113.751
    frame= 3254 fps=297 q=0.0 Lsize=N/A time=00:02:10.17 bitrate=N/A    
    video:305kB audio:22424kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    I understand that, silence_start gives the timestamp at which silence in the audio file is detected and silence_end gives the ending timestamp. I have two questions here

    1) How come the timestamp for the first silence_start has a negative value ?(-0.00356009)

    2)In the last line of the output I could see the silence_start is at 113.751, but unable to see the silence_end. Why is it so ?

  • FFMPEG issues for android lollipop

    18 février 2015, par Arslan Ahmad

    I was using the FFmpeg library in my application from the last 2 years and it still working fine on old version. It wont even work on android lollipop.

    I was using these library before.

    String[] libraryAssets = { "ffmpeg", "libavcodec-55.so", "libavcodec.so",
               "libavfilter-4.so", "libavfilter.so", "libavformat-55.so",
               "libavformat.so", "libavutil-52.so", "libavutil.so",
               "libswresample-0.so", "libswresample.so", "libswscale-2.so",
               "libswscale.so"

       };

    And I have got the answer from other link that if we use these 3 libraries it will work on lollipop aswell

    "liblicense-jni.so,","libloader-jni.so","libvideokit.so"

    But still It didnot resolve yet.
    Please check this log.

    ***Starting FFMPEG***
    ***error: only position independent executables (PIE) are supported.***
    ***Ending FFMPEG***

    Any help or any update in library ??