Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (46)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

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

Sur d’autres sites (6113)

  • sudo checkinstall - installation failed

    12 janvier 2017, par Mathiem

    I’m trying to install ffmpeg on Raspbian by following these steps :

    cd ffmpeg
    ./configure --prefix=/usr
    time make -j 8
    cat RELEASE
    sudo checkinstall

    but when I do the sudo checkinstall step, it gave me an error :

    pi@raspberrypi ~/ffmpeg $ sudo checkinstall -y

    checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
              This software is released under the GNU GPL.



    *****************************************
    **** Debian package creation selected ***
    *****************************************

    This package will be built according to these values:

    0 -  Maintainer: [ root@raspberrypi ]
    1 -  Summary: [ Package created with checkinstall 1.6.2 ]
    2 -  Name:    [ ffmpeg ]
    3 -  Version: [  ]
    4 -  Release: [ 1 ]
    5 -  License: [ GPL ]
    6 -  Group:   [ checkinstall ]
    7 -  Architecture: [ armhf ]
    8 -  Source location: [ ffmpeg ]
    9 -  Alternate source location: [  ]
    10 - Requires: [  ]
    11 - Provides: [ ffmpeg ]
    12 - Conflicts: [  ]
    13 - Replaces: [  ]

    Enter a number to change any of them or press ENTER to continue:

    Installing with make install...

    ========================= Installation results ===========================
    INSTALL doc/ffmpeg.1
    INSTALL doc/ffprobe.1
    INSTALL doc/ffserver.1
    INSTALL doc/ffmpeg-all.1
    INSTALL doc/ffprobe-all.1
    INSTALL doc/ffserver-all.1
    INSTALL doc/ffmpeg-utils.1
    INSTALL doc/ffmpeg-scaler.1
    INSTALL doc/ffmpeg-resampler.1
    INSTALL doc/ffmpeg-codecs.1
    INSTALL doc/ffmpeg-bitstream-filters.1
    INSTALL doc/ffmpeg-formats.1
    INSTALL doc/ffmpeg-protocols.1
    INSTALL doc/ffmpeg-devices.1
    INSTALL doc/ffmpeg-filters.1
    INSTALL doc/libavutil.3
    INSTALL doc/libswscale.3
    INSTALL doc/libswresample.3
    INSTALL doc/libavcodec.3
    INSTALL doc/libavformat.3
    INSTALL doc/libavdevice.3
    INSTALL doc/libavfilter.3
    INSTALL doc/ffmpeg.1
    INSTALL doc/ffprobe.1
    INSTALL doc/ffserver.1
    INSTALL doc/ffmpeg-all.1
    INSTALL doc/ffprobe-all.1
    INSTALL doc/ffserver-all.1
    INSTALL doc/ffmpeg-utils.1
    INSTALL doc/ffmpeg-scaler.1
    INSTALL doc/ffmpeg-resampler.1
    INSTALL doc/ffmpeg-codecs.1
    INSTALL doc/ffmpeg-bitstream-filters.1
    INSTALL doc/ffmpeg-formats.1
    INSTALL doc/ffmpeg-protocols.1
    INSTALL doc/ffmpeg-devices.1
    INSTALL doc/ffmpeg-filters.1
    INSTALL doc/libavutil.3
    INSTALL doc/libswscale.3
    INSTALL doc/libswresample.3
    INSTALL doc/libavcodec.3
    INSTALL doc/libavformat.3
    INSTALL doc/libavdevice.3
    INSTALL doc/libavfilter.3
    INSTALL install-progs-yes
    INSTALL ffmpeg
    INSTALL ffprobe
    INSTALL ffserver
    mkdir: cannot create directory ‘/usr/share/ffmpeg’: No such file or directory
    Makefile:161: recipe for target 'install-data' failed
    make: *** [install-data] Error 1

    ****  Installation failed. Aborting package creation.

    Cleaning up...OK

    Bye.

    Can anyone help me ? What can I do ? I’m not gonna lie, I’m a noob and I don’t really know where to start, I tried 3-4 things but it didn’t work.

    Thanks !

  • Compile FFMPEG in iOS with bitcode mode

    16 février 2016, par Mr.G

    I compiled FFMPEG libs which supports for iOS 7 and 8 but since recent release with iOS 9 there is a new feature has issued which called bitcode mode , as a default setting , this setting has set to NO .

    But if i set this as yes , following error will execute ,

    libavdevice.a(avfoundation.o)’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

    Is there any way to compile FFMPEG which supports FFMpeg in bitcode enabled mode

    here is the build script i used

    #!/bin/sh

    # directories
    SOURCE="ffmpeg-2.6.2"
    FAT="FFmpeg-iOS"

    SCRATCH="scratch"
    # must be an absolute path
    THIN=`pwd`/"thin"

    # absolute path to x264 library
    #X264=`pwd`/fat-x264

    #FDK_AAC=`pwd`/fdk-aac/fdk-aac-ios

    CONFIGURE_FLAGS="--enable-cross-compile --disable-debug --disable-programs \
                    --disable-doc --enable-pic"

    if [ "$X264" ]
    then
       CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-gpl --enable-libx264"
    fi

    if [ "$FDK_AAC" ]
    then
       CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-libfdk-aac"
    fi

    # avresample
    #CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-avresample"

    ARCHS="arm64 armv7 x86_64 i386"

    COMPILE="y"
    LIPO="y"

    DEPLOYMENT_TARGET="6.0"

    if [ "$*" ]
    then
       if [ "$*" = "lipo" ]
       then
           # skip compile
           COMPILE=
       else
           ARCHS="$*"
           if [ $# -eq 1 ]
           then
               # skip lipo
               LIPO=
           fi
       fi
    fi

    if [ "$COMPILE" ]
    then
       if [ ! `which yasm` ]
       then
           echo 'Yasm not found'
           if [ ! `which brew` ]
           then
               echo 'Homebrew not found. Trying to install...'
               ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" \
                   || exit 1
           fi
           echo 'Trying to install Yasm...'
           brew install yasm || exit 1
       fi
       if [ ! `which gas-preprocessor.pl` ]
       then
           echo 'gas-preprocessor.pl not found. Trying to install...'
           (curl -L https://github.com/libav/gas-preprocessor/raw/master/gas-preprocessor.pl \
               -o /usr/local/bin/gas-preprocessor.pl \
               && chmod +x /usr/local/bin/gas-preprocessor.pl) \
               || exit 1
       fi

       if [ ! -r $SOURCE ]
       then
           echo 'FFmpeg source not found. Trying to download...'
           curl http://www.ffmpeg.org/releases/$SOURCE.tar.bz2 | tar xj \
               || exit 1
       fi

       CWD=`pwd`
       for ARCH in $ARCHS
       do
           echo "building $ARCH..."
           mkdir -p "$SCRATCH/$ARCH"
           cd "$SCRATCH/$ARCH"

           CFLAGS="-arch $ARCH"
           if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]
           then
               PLATFORM="iPhoneSimulator"
               CFLAGS="$CFLAGS -mios-simulator-version-min=$DEPLOYMENT_TARGET"
           else
               PLATFORM="iPhoneOS"
               CFLAGS="$CFLAGS -mios-version-min=$DEPLOYMENT_TARGET"
               if [ "$ARCH" = "arm64" ]
               then
                   EXPORT="GASPP_FIX_XCODE5=1"
               fi
           fi

           XCRUN_SDK=`echo $PLATFORM | tr '[:upper:]' '[:lower:]'`
           CC="xcrun -sdk $XCRUN_SDK clang"
           CXXFLAGS="$CFLAGS"
           LDFLAGS="$CFLAGS"
           if [ "$X264" ]
           then
               CFLAGS="$CFLAGS -I$X264/include"
               LDFLAGS="$LDFLAGS -L$X264/lib"
           fi
           if [ "$FDK_AAC" ]
           then
               CFLAGS="$CFLAGS -I$FDK_AAC/include"
               LDFLAGS="$LDFLAGS -L$FDK_AAC/lib"
           fi

           TMPDIR=${TMPDIR/%\/} $CWD/$SOURCE/configure \
               --target-os=darwin \
               --arch=$ARCH \
               --cc="$CC" \
               $CONFIGURE_FLAGS \
               --extra-cflags="$CFLAGS" \
               --extra-cxxflags="$CXXFLAGS" \
               --extra-ldflags="$LDFLAGS" \
               --prefix="$THIN/$ARCH" \
           || exit 1

           make -j3 install $EXPORT || exit 1
           cd $CWD
       done
    fi

    if [ "$LIPO" ]
    then
       echo "building fat binaries..."
       mkdir -p $FAT/lib
       set - $ARCHS
       CWD=`pwd`
       cd $THIN/$1/lib
       for LIB in *.a
       do
           cd $CWD
           echo lipo -create `find $THIN -name $LIB` -output $FAT/lib/$LIB 1>&2
           lipo -create `find $THIN -name $LIB` -output $FAT/lib/$LIB || exit 1
       done

       cd $CWD
       cp -rf $THIN/$1/include $FAT
    fi

    echo Done
  • Unable to compile ffmpeg in OSX [Solved]

    19 septembre 2015, par mallendeo
    git clone https://github.com/FFmpeg/FFmpeg --depth=1
    cd FFmpeg
    ./configure --disable-everything --enable-demuxer=aac --enable-demuxer=mpegvideo --enable-demuxer=h264 --cc=clang --disable-doc
    make

    When I build it, it keeps throwing this error :

    CC  ffmpeg.o
    CC  cmdutils.o
    CC  ffmpeg_opt.o
    CC  ffmpeg_filter.o
    CC  ffmpeg_videotoolbox.o
    LD  ffmpeg_g
    Undefined symbols for architecture x86_64:
     "_av_vda_default_init2", referenced from:
         _videotoolbox_init in ffmpeg_videotoolbox.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [ffmpeg_g] Error 1

    I couldn’t find any solution to this. Some bug reports suggest using --cc=clang but did nothing.

    Thanks

    Update : add --disable-yasm