Recherche avancée

Médias (91)

Autres articles (72)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (7237)

  • Windows Source-Specific-Multicast packets dropped at application layer ?

    26 août 2019, par Morris

    Both Switch A and Switch B support IGMPv3, and device A and device B multicasting a video stream to the same address and port(e.g. 232.0.0.1:12000). vlc/ffplay on Windows 7/10 plays with packets lost, but on Linux, plays smoothly.

    I have tested the following scenario :

    1. with IGMP v2, both devices multicasting streams(to different addresses), both on Windows and Linux, play smoothly ;
    2. with IGMP v3, both devices multicasting streams, Linux plays smoothly, Windows 7/10 plays flicked, and Wireshark on Windows shows that no packet is lost ;
    3. with IGMP v3, only one device multicasting, both Windows and Linux play smoothly.
    +----------+                                          +--------------+
    | Device A |                                          | Windows 7/10 |
    +----------+      +----------+      +----------+      +--------------+
         \---------> |          |      |          |----------/
                     | Switch A | ---> | Switch B |
         /---------> |          |      |          |----------\
    +----------+      +----------+      +----------+        +-------+
    | Device B |                                            | Linux |
    +----------+                                            +-------+
  • How to use ffmpeg .so file in Android application

    17 décembre 2018, par Ravi

    I have compiled ffmpeg code and generated .so files,
    Then I put these .so files in jniLibs/armeabi/ folder.

    To use it below code :

    Controller.java
    public class Controller {

       static {
           System.loadLibrary("avutil");
           System.loadLibrary("swresample");
           System.loadLibrary("avcodec");
           System.loadLibrary("avformat");
           System.loadLibrary("swscale");
           System.loadLibrary("avfilter");
           System.loadLibrary("avdevice");
       }

       public static native void runffmpegCommand(String[] argv);

       public static void testFFMPEG(String[] strings) {
           runffmpegCommand(new String[]);
       }
    }

    ffmpeg_controller.c

    #include <android></android>log.h>
    #include "ffmpeg_Controller.h"
    #include
    #include
    int main(int argc, char **argv);
    JavaVM *sVm = NULL;
    jint JNI_OnLoad( JavaVM* vm, void* reserved )
    {
       sVm = vm;
       return JNI_VERSION_1_6;
    }
    JNIEXPORT void JNICALL Java_com_test_Controller_runffmpegCommand(JNIEnv *env, jobject obj, jobjectArray args)
    {
       int i = 0;
       int argc = 0;
       char **argv = NULL;
       jstring *strr = NULL;
       if (args != NULL) {
           argc = (*env)->GetArrayLength(env, args);
           argv = (char **) malloc(sizeof(char *) * argc);
           strr = (jstring *) malloc(sizeof(jstring) * argc);
           for(i=0;iGetObjectArrayElement(env, args, i);
               argv[i] = (char *)(*env)->GetStringUTFChars(env, strr[i], 0);
           }
       }
       main(argc, argv);
       for(i=0;iReleaseStringUTFChars(env, strr[i], argv[i]);
       }
       free(argv);
       free(strr);
    }

    ffmpeg_controller.h

    #include
    #ifndef _Included_com_test_Controller
    #define _Included_com_test_Controller
    #ifdef __cplusplus
    extern "C" {
    #endif

    JNIEXPORT void JNICALL Java_com_android_com_test_Controller_runffmpegCommand(JNIEnv *, jobject, jobjectArray);
    #ifdef __cplusplus
    }
    #endif
    #endif

    When I run this code it through error as below :

    Logs :

    2018-12-17 14:11:17.850 25598-25598/com.android.test E/AndroidRuntime : FATAL EXCEPTION : main
    Process : com.android.test, PID : 25598
    java.lang.UnsatisfiedLinkError : dlopen failed : "/data/app/com.android.test-1/lib/arm/libavutil.so" is 64-bit instead of 32-bit
    at java.lang.Runtime.loadLibrary0(Runtime.java:989)
    at java.lang.System.loadLibrary(System.java:1530)

  • FFMPEG on Android java application

    11 juillet 2015, par Kim T

    I’m prototyping a Hybrid app using Cordova : https://cordova.apache.org. Also using this plugin : https://github.com/jbavari/cordova-plugin-video-editor

    The plugin renders a video into new formats using FFMPEG. The specific piece of code which does this is here :

    https://github.com/jbavari/cordova-plugin-video-editor/blob/master/src/android/VideoEditor.java

    al.add("ffmpeg");
    al.add("-i");
    al.add(videoSrcPath);
    String[] ffmpegCommand = al.toArray(new String[al.size()]);
    vk.run(ffmpegCommand, workFolder, appContext);
    Log.d(TAG, Arrays.toString(ffmpegCommand));

    When logged out in Android Studio with variables it is :

    [ffmpeg, -y, -i, /storage/emulated/0/DCIM/Camera/20150709_172753.mp4, -strict, experimental, -s, 320x320, -r, 24, -vcodec, libx264, -preset, ultrafast, -b, 2097152, -ac, 1, -ar, 22050, -t, 2.0, /storage/emulated/0/Movies/HelloWorld/VID_render-1436477283566.mp4]

    This is working perfectly.

    I want to modify this command to allow multiple videos, and other options. Here is an FFMPEG terminal command i’ve tested on my machine working :

    ./ffmpeg -i a.mp4 -i b.mp4 -filter_complex "[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" -loglevel debug -strict -2 output.mp4

    I’ve attempted to modify the java code but this fails :

    al.add("ffmpeg");
    al.add("-i");
    al.add(videoSrcPath);
    al.add("-i");
    al.add(videoSrcPath2);
    al.add("-filter_complex");
    al.add("[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]");
    al.add("-map");
    al.add("[v]");
    al.add("-map");
    al.add("[a]");
    al.add("-strict");
    al.add("-2");

    This is the failing command when logged out with variables :

    [ffmpeg, -y, -i, /storage/emulated/0/DCIM/Camera/20150709_175137.mp4, -i, /storage/emulated/0/Movies/HelloWorld/20150709_234321.mp4, -filter_complex, [0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a], -map, [v], -map, [a], -strict, -2, experimental, -s, 320x320, -r, 24, -vcodec, libx264, -preset, ultrafast, -b, 2097152, -ac, 1, -ar, 22050, -t, 2.0, /storage/emulated/0/Movies/HelloWorld/VID_render-1436478706526.mp4]

    I try to use the logging feature of FFMPEG, I can’t get it to return back to the Java Log, which really restricts what I can debug :(

    al.add("-loglevel");
    al.add("debug");

    Any help would be greatly appreciated !