Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (5432)

  • OpenCV3.1 compilation error 'ffmpeg/avformat.h' file not found

    15 décembre 2016, par aquagremlin

    On MacOS 10.9.5 Mavericks. I used homebrew to install Python, cmake, ffmpeg.
    Entering ffmpeg in terminal shows it is installed.
    I downloaded Opencv3 and opencv_contrib

    Then cmake with this :

    cmake -D CMAKE_BUILD_TYPE=RELEASE \
       -D WITH_CUDA=OFF -D CMAKE_INSTALL_PREFIX=/Users/stefan/Downloads/opencv-3.1.0dl/build \
       -D PYTHON2_LIBRARIES=/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/bin \
       -D PYTHON2_PACKAGES_PATH=~/.virtualenvs/cv/lib/python2.7/site-packages \
       -D PYTHON2_NUMPY_INCLUDE_DIRS=~/.virtualenvs/cv/lib/python2.7/site-packages/numpy/core/include \
       -D PYTHON2_INCLUDE_DIR=/usr/local/Frameworks/Python.framework/Headers \
       -D INSTALL_PYTHON_EXAMPLES=ON -D WITH_TBB=ON  -D INSTALL_C_EXAMPLES=ON \
       -D FFMPEG_INCLUDE_DIR=/usr/local/Cellar/ffmpeg/3.0.2/include \
       -D FFMPEG_LIB_DIR=/usr/local/Cellar/ffmpeg/3.0.2/lib \
       -D BUILD_EXAMPLES=ON \
       -D OPENCV_EXTRA_MODULES_PATH=~/Downloads/opencv_contrib-3.0.0/modules ..

    Terminal output included this :

    --   Video I/O:
    --     DC1394 1.x:                  NO
    --     DC1394 2.x:                  NO
    --     FFMPEG:                      YES
    --       codec:                     YES (ver 57.24.102)
    --       format:                    YES (ver 57.25.100)
    --       util:                      YES (ver 55.17.103)
    --       swscale:                   YES (ver 4.0.100)
    --       resample:                  YES (ver 3.0.0)
    --       gentoo-style:              YES

    But CMakeError.log had this as its only error :

    ffmpeg/avformat.h file not found

    The file does exist at

    /usr/local/Cellar/ffmpeg/3.0.2/include/libavformat/avformat.h

    I do not understand why I am getting this error if I properly specified the FFMPEG include directories in the cmake command. Also the variables FMPEG_INCLUDE_DIR and FFMPEG_LIB_DIR do not exist in the file, CMakeLists.txt.
    Does that make my use of those variables in the cake command useless ?

  • While working with ffmpeg : Created function in C file and after compilation with NDK accessing from android activity, getting signal 11 error

    30 mai 2016, par Dayanand Lande

    After successfully fire command ndk-build I got .so file in my libs folder, then after some changes in gradle file I got native_libs.xml .idea/libraries folder.

    Now I am accessing c function from my java code/ android activity. I am getting signal 11 error

    My code is

    C file

    #include
    #include <android></android>log.h>
    #include

    #include "libavcodec/avcodec.h"
    #include "libavformat/avformat.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__)


    //JNIEXPORT jint JNICALL Java_com_xxx_xxx_activities_SplashActivity_logFileInfo(JNIEnv * env, jobject this, jstring filename);

    jint Java_com_xxx_xxx_activities_TutorialsActivity_logFileInfo(JNIEnv * env, jobject this, jstring filename)
    {
       av_register_all();

       AVFormatContext *pFormatCtx;
       const jbyte *str;
       str = (*env)->GetStringUTFChars(env, filename, NULL);

       if(avformat_open_input(&amp;pFormatCtx, str, NULL, NULL)!=0)
       {
           LOGE("Can't open file '%s'\n", str);
           return 1;
       }
       else
       {
           LOGI("File was opened\n");
           LOGI("File '%s', Codec %s",
               pFormatCtx->filename,
               pFormatCtx->iformat->name
           );
       }
       return 0;
    }

    Loading and try to access method in java code is

    private static native int logFileInfo(String filename);


       static {
           System.loadLibrary("framegrabber");
       }

    In OnCreate of activity

    logFileInfo(file.getAbsolutePath());

    Finally error at point logFileInfo(file.getAbsolutePath()); is

    A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x106e in tid 8905 (Thread-20972)

    Please replay if you have any solution, Thanking in advance.

  • FFmpeg compilation with encoder x264 not found Windows

    23 novembre 2016, par Bernhard Lutz

    FFmpeg compilation with encoder x264 not found Windows

    I am trying to compile FFmpeg with several encoder (x264, NVENC). I already
    managed to compile FFmpeg with MinGW and also x264 but I do not know how I can
    tell where my compiled encoders are.

    I have a folder where my FFmpeg sources are and in this directory I have my
    compiled x264 encoder in a subfolder called x264.

    OS : Windows 10

    Compiler : MinGW