Recherche avancée

Médias (91)

Autres articles (105)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • 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" ;

Sur d’autres sites (5353)

  • My webcam works fine, while using cv2.Videocapture() but while trying to read from hard drive it shows error cap.isOpened() returns false, why ?

    27 septembre 2017, par Hu Yang

    import cv2
    video_capture = cv2.VideoCapture("rtsp ://admin:Trust1986_@10.58.94.47:554/h264/ch1/main/av_stream")
    video_capture.isOpened()

    False

    Other information below here, and ffmpeg I had installed.

     Video I/O:
       DC1394 1.x:                  NO
       DC1394 2.x:                  NO
       FFMPEG:                      NO
         avcodec:                   NO
         avformat:                  NO
         avutil:                    NO
         swscale:                   NO
         avresample:                NO
       GStreamer:                   NO
       OpenNI:                      NO
       OpenNI PrimeSensor Modules:  NO
       OpenNI2:                     NO
       PvAPI:                       NO
       GigEVisionSDK:               NO
       Aravis SDK:                  NO
       UniCap:                      NO
       UniCap ucil:                 NO
       V4L/V4L2:                    NO/NO
       XIMEA:                       NO
       Xine:                        NO
       Intel Media SDK:             NO
       gPhoto2:                     NO

    root@ubuntu:/home/face_recognition/opencv/ffmpeg/ffmpeg-3.3.4# ffmpeg -version
    ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
    configuration:
    libavutil      55. 58.100 / 55. 58.100
    libavcodec     57. 89.100 / 57. 89.100
    libavformat    57. 71.100 / 57. 71.100
    libavdevice    57.  6.100 / 57.  6.100
    libavfilter     6. 82.100 /  6. 82.100
    libswscale      4.  6.100 /  4.  6.100
    libswresample   2.  7.100 /  2.  7.100
    root@ubuntu:/home/face_recognition/opencv/ffmpeg/ffmpeg-3.3.4#
    root@ubuntu:/home/face_recognition/opencv/ffmpeg/ffmpeg-3.3.4# python3.6m -V
    Python 3.6.2
    root@ubuntu:/home/face_recognition/opencv/ffmpeg/ffmpeg-3.3.4# pkg-config --modversion opencv  
    3.3.0

    what shall I do next step ? Thanks.

  • Anomalie #4710 (Nouveau) : Warning PHP SPIP 3.2.11 / PHP 7.2

    2 avril 2021

    Bonjour,

    J’ai ceci :
    PHP Warning : Use of undefined constant _PROTOCOLES_STD - assumed ’_PROTOCOLES_STD’ (this will throw an Error in a future version of PHP) in /home/www/ecrire/inc/lien.php on line 105
    PHP Warning : Use of undefined constant _SPIP_ECRIRE_SCRIPT - assumed ’_SPIP_ECRIRE_SCRIPT’ (this will throw an Error in a future version of PHP) in /home/www/ecrire/inc/utils.php on line 2044

    En PHP 7.2
    (obtenu avec spip-cli parce que le dossier local manquait)

  • undefined reference to 'memset' while configuring ffmpeg

    20 mai 2013, par Jacques Giraudel

    I want to port ffmpeg on android to use it in an app (to convert video files in webm format).

    I use the following command to configure FFMPEG :

    ./configure --target-os=linux \
       --cross-prefix=arm-linux-androideabi \
       --arch=arm-linux \
       --sysroot=$TC_SYSROOT \
       --nm=$NM \
       --ar=$AR \
       --cc=$CC \
       --ld=$LD \
       --disable-symver \
       --enable-small \
       --enable-libvorbis \
       --enable-libvpx \
       --extra-cflags="-I$PROJECT_BASE/jni/libvorbis/build/include -I$PROJECT_BASE/jni/libogg/build/include -I$PROJECT_BASE/jni/libvpx/libvpx -I$PROJECT_BASE/jni/libvpx/libvpx/build/install/include" \
       --extra-ldflags="-L$PROJECT_BASE/jni/libvorbis/build/lib -L$PROJECT_BASE/jni/libogg/build/lib -L$PROJECT_BASE/jni/libvpx/libvpx/build/install/lib" \
       --prefix=$PROJECT_BASE/jni/ffmpeg/build

    I use a standalone toolchain (NDK compiler version : 4.6). I dont use the AS of the toolchain, when I try the command block (I have waited for 10 minutes without response, some starting infos in the config.log and it seems to block at the beginning of the compilation). The different lib and directory added are the build install of the libraries needed (ogg, vorbis and vpx).

    I obtain this message :

     /Bureau/TripApp/jni/ffmpeg /Bureau/TripApp/jni /Bureau/TripApp/jni
    ERROR : libvpx decoder version must be >=0.9.1

    When I look at the config.log file, I have :

    check_lib2 vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
    check_func_headers vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
    check_ld cc -lvpx
    check_cc
    BEGIN /tmp/ffconf.TOBhIIiF.c
       1   #include <vpx></vpx>vpx_decoder.h>
       2   #include <vpx></vpx>vp8dx.h>
       3   long check_vpx_codec_dec_init_ver(void) { return (long) vpx_codec_dec_init_ver; }
       4   int main(void) { return 0; }
    END /tmp/ffconf.TOBhIIiF.c
    /home/jacques/my-android-toolchain2/bin/arm-linux-androideabi-gcc --sysroot=/home/jacques/my-android-toolchain2/sysroot -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -I/home/jacques/Bureau/TripApp/jni/libvorbis/build/include -I/home/jacques/Bureau/TripApp/jni/libogg/build/include -I/home/jacques/Bureau/TripApp/jni/libvpx/libvpx -I/home/jacques/Bureau/TripApp/jni/libvpx/libvpx/build/install/include -march=armv5te -std=c99 -fomit-frame-pointer -fPIC -marm -c -o /tmp/ffconf.bbOA0x5j.o /tmp/ffconf.TOBhIIiF.c
    /home/jacques/my-android-toolchain2/bin/arm-linux-androideabi-ld -L/home/jacques/Bureau/TripApp/jni/libvorbis/build/lib -L/home/jacques/Bureau/TripApp/jni/libogg/build/lib -L/home/jacques/Bureau/TripApp/jni/libvpx/libvpx/build/install/lib --sysroot=/home/jacques/my-android-toolchain2/sysroot -o /tmp/ffconf.IqRLz1B9 /tmp/ffconf.bbOA0x5j.o -lvpx -lvorbisenc -lvorbis -logg -lm -lz
    /home/jacques/my-android-toolchain2/bin/arm-linux-androideabi-ld: /home/jacques/Bureau/TripApp/jni/libvpx/libvpx/build/install/lib/libvpx.a(vpx_decoder.c.o): in function vpx_codec_dec_init_ver:(.text+0xc0): **error: undefined reference to &#39;memset&#39;**
    ERROR: libvpx decoder version must be >=0.9.1

    I have also a warning at the beginning of the file :

    WARNING: arm-linux-androideabipkg-config not found, library detection may fail.

    And many other errors which seem to be not blocking (eg : related to the support of older ARM version than the targeted one)

    libvpx is configured using the following command (the make succeeds) :

    ./libvpx/configure --target=armv5te-android-gcc --disable-examples \
                       --sdk-path=$NDK_BASE --prefix=$PROJECT_BASE/jni/libvpx/libvpx/build

    The NDK version used is r8e.

    My search on this :
    The libvpx version used is 1.1.0, memset is a function defined in string.h. String.h is present in the include dir of the sysroot used (and memset is defined).

    Do you see what could be the source of the problem ?