Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (100)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (14838)

  • ffmpeg processing the live screen streaming has high latency

    27 février 2020, par Ant's

    I’m trying to do live screen sharing using ffmpeg using the following command :

    ffmpeg -f avfoundation -i "1:1" -c:v libx264 -threads 4 -preset ultrafast -c:a aac -ar 44100 -f flv rtmp://localhost/live/test

    Now I have a rtmp server, which receives the data and using flv.js, I’m showing the live stream video on the browser. The integration works perfectly fine, but the problem was the stream is getting delayed very much. There is a delay for say atleast 10s ; I’m not sure, whether we can make it less delay (more like instant screen share).

    Note : I’m using the Node RTMP server using https://github.com/illuspas/Node-Media-Server. The code for that is over here :

    const NodeMediaServer = require('node-media-server');

    const config = {
     rtmp: {
       port: 1935,
       chunk_size: 6000,
       gop_cache: true,
       ping: 30,
       ping_timeout: 60
     },
     http: {
       port: 8000,
       allow_origin: '*'
     }
    };

    var nms = new NodeMediaServer(config)
    nms.run();

    Any suggestions ? I’m on MacOS

  • Revision 36982 : Certaines valeurs ne passent pas dans presets ... on améliore de ce coté ...

    6 avril 2010, par kent1@… — Log

    Certaines valeurs ne passent pas dans presets ... on améliore de ce coté là
    On affiche les boutons sous les documents même dans le cas d’un retour ajax

  • Compile error for a simple library in Android using latest FFmpeg library with NDK

    21 mars 2017, par satyres

    I’m trying to get FFmpeg working in Android , and after successfuly compiled it on Ubuntu 64bit , and created the Android.mk under source/ffmpeg-3.4.2/android/arm folder and also the Android.mk in my own Android project
     ! i’m unable to compile a simple program and create the .so file !
    By the way i’ve searched over the net and in Stackoverflow for 2 days now without luck !
    here is the code Android.mk

    LOCAL_PATH:= $(call my-dir)
    include $(CLEAR_VARS)
    LOCAL_MODULE    := MyLibrary
    LOCAL_SRC_FILES := MyNativeFunctions.c
    LOCAL_LDLIBS := -lz -llog
    LOCAL_STATIC_LIBRARIES := libavformat_static libavcodec_static libavutil_static
    include $(BUILD_SHARED_LIBRARY)

    $(call import-module,ffmpeg-3.2.4/android/arm)

    The native functions

       #include <libavformat></libavformat>avformat.h>
       #include <libavcodec></libavcodec>avcodec.h>
       #include <libavutil></libavutil>avutil.h>

       #include <android></android>log.h>
       #define LOG_TAG "mylib"
       #define LOGI(...)  __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
       #define LOGE(...)  __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
       jint Java_com_example_home_hellondk_MyNativeFunctions_TestNdk(JNIEnv * env, jobject this, jstring filename)
       {
            av_register_all();

    return 0;
    }

    when i use NDK-BUILD here is the error i got :

    /home/home/Android/Sdk/ndk-bundle/sources/ffmpeg-3.2.4/android/arm/lib/libavformat.a: error adding symbols: File in wrong format
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [obj/local/arm64-v8a/libMyLibrary.so] Error 1

    [EDIT]
    Build_android.sh

    #!/bin/bash
    NDK=/home/home/Android/Sdk/ndk-bundle
    SYSROOT=$NDK/platforms/android-24/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    function build_one
    {
    ./configure \
    --prefix=$PREFIX \
    --disable-shared \
    --enable-static \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-avdevice \
    --disable-doc \
    --disable-symver \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --target-os=linux \
    --arch=arm \
    --enable-cross-compile \
    --sysroot=$SYSROOT \
    --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
    --extra-ldflags="$ADDI_LDFLAGS" \
    $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    [EDIT]
    The problem has been solved by adding the missing library in
    LOCAL_STATIC_LIBRARIES := libavformat_static libavcodec_static libswscale_static libavutil_static libswresample_static
    and for all users of Android Studio do not forget to add this line to your gradle otherwise it won’t work.

    sourceSets.main {
           jni.srcDirs = []
           jniLibs.srcDir 'src/main/libs'
       }

    Best regards