Recherche avancée

Médias (91)

Autres articles (82)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (4622)

  • x264 failed to load avisynth - ubuntu 14.04

    23 juin 2015, par Shoham

    Im trying to reduce a video.mov file (taken with canon dslr).
    Im using x264 like so :

    x264 -o '/home/user/Desktop/MVI_0390.mp4'  '/home/user/Desktop/MVI_0390.MOV'

    And Im getting following error :

    avs [error]: failed to load avisynth
    raw [error]: raw input requires a resolution.
    x264 [error]: could not open input file `/home/user/Desktop/MVI_0390.MOV' via any method!

    What am I doing wrong ?

  • MXE compilation, openjpeg.h not found error

    19 avril 2021, par HIq

    I am compiling MXE for the cross-compilation of FFmpeg.
I am following the instructions here and after running the make command, the following error occurred :

    


    [build]       proj                   i686-w64-mingw32.static
[done]        proj                   i686-w64-mingw32.static                                  27156 KiB      0m10.026s
[build]       libgeotiff             i686-w64-mingw32.static
[done]        libgeotiff             i686-w64-mingw32.static                                  41492 KiB      0m19.380s
[build]       netcdf                 i686-w64-mingw32.static
[done]        netcdf                 i686-w64-mingw32.static                                  114152 KiB     0m22.519s
[build]       openjpeg               i686-w64-mingw32.static
[done]        openjpeg               i686-w64-mingw32.static                                  38572 KiB      0m9.627s
[build]       spatialite             i686-w64-mingw32.static
[done]        spatialite             i686-w64-mingw32.static                                  380204 KiB     0m58.171s
[build]       gdal                   i686-w64-mingw32.static

Failed to build package gdal for target i686-w64-mingw32.static!
------------------------------------------------------------
checking for nc_open in -lnetcdf... no
configure: JasPer (JPEG2000) support disabled.
configure: error: openjpeg.h not found in /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.0 or /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.1 or /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.2 or /home/hiqbal/mxe/usr/i686-w64-mingw32.static/include/openjpeg-2.3
Makefile:851: recipe for target 'build-only-gdal_i686-w64-mingw32.static' failed
make[1]: *** [build-only-gdal_i686-w64-mingw32.static] Error 1
make[1]: Leaving directory '/home/hiqbal/mxe'
real    0m17.644s
user    0m13.999s
sys 0m1.669s
------------------------------------------------------------
[log]      /home/hiqbal/mxe/log/gdal_i686-w64-mingw32.static

Makefile:851: recipe for target '/home/hiqbal/mxe/usr/i686-w64-mingw32.static/installed/gdal' failed
make: *** [/home/hiqbal/mxe/usr/i686-w64-mingw32.static/installed/gdal] Error 1


    


    It seems that it was unable to find openjpeg.h and searched in folder openjpeg-2.0 to openjpeg-2.3. However, when I checked /mxe/usr/i686-w64-mingw32.static/include/, it contains openjpeg-2.4.

    


    The log for /mxe/log/gdal_i686-w64-mingw32.static is present here.

    


    Please help fix this. Thanks.

    


  • Compliing OpenCV with FFMPEG failing

    20 mai 2016, par moorej

    I’m trying to install OpenCV 3.1.0 on Ubuntu 14.04 with ffmpeg and python 2.7 support. I’m able to compile with :

    cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local
    -D  INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=ON
    -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules
    -D WITH_FFMPEG=OFF -D BUILD_EXAMPLES=ON ..

    But -D WITH_FFMPEG=ON fails with the error :

    /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o):
    relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
    making a shared object; recompile with -fPIC
    /usr/local/lib/libavcodec.a: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status

    I’m compiling ffmpeg as well and I’ve looked at a number of posts relating to the problem and attempted to add —enable-pic and —enable-shared along with some other options but I have to admit I’m a bit stupid when it comes to anything compilation related. My process for compiling ffmpeg is below. Please help me with my mess. Thanks !

    mkdir ~/ffmpeg_sources

    #libx264
    cd ~/ffmpeg_sources
    wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
    tar xjvf last_x264.tar.bz2
    cd x264-snapshot*
    PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static --enable-shared --enable-pic
    PATH="$HOME/bin:$PATH" make -j4
    make install
    make distclean

    #libfdk-aac
    cd ~/ffmpeg_sources
    wget -O fdk-aac.tar.gz https://github.com/mstorsjo/fdk-aac/tarball/master
    tar xzvf fdk-aac.tar.gz
    cd mstorsjo-fdk-aac*
    autoreconf -fiv
    ./configure --prefix="$HOME/ffmpeg_build" --enable-shared --enable-pic
    make -j4
    make install
    make distclean

    #libmp3lame
    sudo apt-get install nasm
    cd ~/ffmpeg_sources
    wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
    tar xzvf lame-3.99.5.tar.gz
    cd lame-3.99.5
    ./configure --prefix="$HOME/ffmpeg_build" --enable-nasm --enable-shared --enable-pic
    make -j4
    make install
    make distclean

    #libopus
    cd ~/ffmpeg_sources
    wget http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz
    tar xzvf opus-1.1.tar.gz
    cd opus-1.1
    ./configure --prefix="$HOME/ffmpeg_build" --enable-shared --enable-pic
    make -j4
    make install
    make clean

    #libvpx
    cd ~/ffmpeg_sources
    wget http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.5.0.tar.bz2
    tar xjvf libvpx-1.5.0.tar.bz2
    cd libvpx-1.5.0
    PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-shared --enable-pic
    PATH="$HOME/bin:$PATH" make -j4
    make install
    make clean

    #ffmpeg
    cd ~/ffmpeg_sources
    wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
    tar xjvf ffmpeg-snapshot.tar.bz2
    cd ffmpeg
    PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure
     --prefix="$HOME/ffmpeg_build"
     --pkg-config-flags="--static"
     --extra-cflags="-I$HOME/ffmpeg_build/include"
     --extra-cflags="-fPIC -m64 -I$HOME/ffmpeg_build/include"
     --extra-ldflags="-L$HOME/ffmpeg_build/lib"
     --bindir="$HOME/bin"
     --enable-pic
     --enable-shared
     --enable-gpl
     --enable-libass
     --enable-libfdk-aac
     --enable-libfreetype
     --enable-libmp3lame
     --enable-libopus
     --enable-libtheora
     --enable-libvorbis
     --enable-libvpx
     --enable-libx264
     --enable-nonfree
    PATH="$HOME/bin:$PATH" make -j4
    make install
    make distclean
    hash -r