Recherche avancée

Médias (91)

Autres articles (57)

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (12333)

  • Run FFmpeg executable from sdcard

    29 juillet 2013, par vijay

    In my android application, I have to concat videos of different formats and i use FFmpeg for this.I made use of the java wrapper provided by guardianproject at the below link :

    https://github.com/guardianproject/android-ffmpeg-java

    But this method uses the FFmpeg executable. Some of the guys suggested to avoid this approach, because we need to issue permission to run the executable s since android will not do that.

    Also this can only be possible when the app's data is in phone memory.So the problem is, the app cannot be moved to sdcard. When we do so, the executable cannot be run.

    I feel this method is good when compared to writing JNI. So is it possible to issue permission to a executable that can run on a sdcard.

    Any help is appreciated.

  • In Android run asyn task inside Worker class of WorkManager

    29 mars 2019, par Usman Rana

    I’ve a Worker in which i first want to apply FFMPEG command before uploading it to server. As Worker is already running in background so to keep the result on hold until file uploads I’ve used RxJava .blockingGet() method. But I’m unable to understand that how to execute FFmpeg command synchronously by anyway i.e. RxJava etc. One tip that I found is to use ListenableWorker but it’s documentation says that it stops working after 10 minutes. So, i don’t want to go with that solution. Following is the method of FFmpeg just like any other async method. How can i make it synchronous or integrate it with RxJava ? Any ideas would be appreciable.

    ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
                       @Override
                       public void onFailure(String s) {
                       }

                       @Override
                       public void onSuccess(String s) {
                          uploadMediaItem(mediaUpload);
                       }

                       @Override
                       public void onProgress(String s) {
                       }

                       @Override
                       public void onStart() {
                       }

                       @Override
                       public void onFinish() {

                           // countDownLatch.countDown();

                       }
                   });

    This is the flow of my Worker :

    1. check pending post count in DB.
    2. Pick first post and check if it has pending media list to upload.
    3. Pick media recursively and check if editing is required on it or not.
    4. Apply FFmpeg editing and upload and delete from DB.
    5. Repeat the cycle until last entry in the DB.

    Thanks

  • android NDK cannot locate symbol "mmap64"

    4 juin 2018, par tainguyen

    I’m a beginer in ffmpep, I did my first simple project as this tutorial

    https://proandroiddev.com/android-ndk-how-to-integrate-pre-built-libraries-in-case-of-the-ffmpeg-7ff24551a0f?gi=72f471c40747

    But it raised the error "cannot locate mmap64 symbol...".

    Help me please !

    This is my logcat :

    java.lang.UnsatisfiedLinkError : dlopen failed : could not load library "libavutil.so" needed by "libnative-lib.so" ; caused by cannot locate symbol "mmap64" referenced by "libavutil.so"...
    at java.lang.Runtime.loadLibrary(Runtime.java:365)
    at java.lang.System.loadLibrary(System.java:526)
    at video.media.tainguyen.test_ffmpeg_ndk.MainActivity.(MainActivity.java:12)
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1208)
    at android.app.Instrumentation.newActivity(Instrumentation.java:1079)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2222)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)
    at android.app.ActivityThread.access$900(ActivityThread.java:161)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:157)
    at android.app.ActivityThread.main(ActivityThread.java:5356)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
    at dalvik.system.NativeStart.main(Native Method)

    I built my so file with NDK r17, ffmpeg version 3.4, ubuntu 12.04.5(64bit) (I just built it in ubuntu, my current OS is windows 7 64 bit)
    My project is created in android studio 2.2 using NDK r17

    compileSdkVersion 27

    buildToolsVersion "27.0.2"

    minSdkVersion 15

    targetSdkVersion 27

    externalNativeBuild
    cmake
    cppFlags ""
    arguments "-DANDROID_STL=c++_shared"
    targets "native-lib","avutil","avformat","avcodec"


    ndk
    abiFilters "x86", "x86_64", "armeabi-v7a", "arm64-v8a", "armeabi"