Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (22)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8352)

  • Revision 4e06b0c602 : gen_asm_deps.sh : regex fix Fixed the quantifier that optionally matches a quote

    25 juin 2012, par John Koleszar

    Changed Paths : Modify /build/make/gen_asm_deps.sh gen_asm_deps.sh : regex fix Fixed the quantifier that optionally matches a quote before the filename. This was originally reported in the homebrew project[1]. Note that this fix is different than patch posted there, as there are some platforms (...)

  • CD+G to MKV with FFMpeg

    8 juin 2022, par eth4n

    I'm trying to convert cdg+mp3 files to mkv with ffmpeg, i'm using the following

    


    ffmpeg -i %1 -i %2 -vcodec libx265 -crf 31 -preset veryslow -vtag hvc1 -acodec libopus -frame_duration 40 -b:a 90000 -ar 48000 "% dpn1.mkv"

    


    but

    


    For example, if the CDG file stops at 4:26 and the audio duration is 6:15 (375 seconds), no problem playing mkv files on VLC and WMP (they read the video until the end with the last frame freezed on screen), but i have some problems on other platforms, and Avidemux reads only until the video duration (4:26), not the audio one (6:15)

    


    Any advice ?
Thank you in advance

    


  • Compile FFmpeg for iOS using Xcode5.1 error

    18 avril 2014, par Smeegol Xie

    Environment : Mac OS X 10.9.2, Xcode 5.1. Build shell scripts as below :

    #!/bin/sh

    # OS X 10.9.2, Xcode 5.1

    set -ex

    VERSION="2.2.1"
    SDKVERSION="7.1"
    BUILDDIR=`pwd`
    DESTDIR="ffmpeg-built"
    OUTPUTDIR="dependencies"
    DEVELOPER=`xcode-select -print-path`
    GASPREPROCESSOR="gas-preprocessor.pl"
    ARCHS="i386 x86_64 armv7 armv7s arm64"

    cp $GASPREPROCESSOR /usr/local/bin

    rm -rf $DESTDIR
    mkdir $DESTDIR

    rm -rf $OUTPUTDIR
    mkdir $OUTPUTDIR
    mkdir -p $OUTPUTDIR/bin
    mkdir -p $OUTPUTDIR/include
    mkdir -p $OUTPUTDIR/lib

    if [ ! -e "ffmpeg-$VERSION.tar.bz2" ]; then
       curl -LO http://ffmpeg.org/releases/ffmpeg-$VERSION.tar.bz2
    fi

    tar jxf ffmpeg-$VERSION.tar.bz2
    cd "ffmpeg-$VERSION"

    set +e
    CCACHE=`which ccache`
    if [ $? == "0" ]; then
       CCACHE="$CCACHE "
    else
       CCACHE=""
    fi
    set -e

    for ARCH in $ARCHS;
    do
       mkdir -p ../$DESTDIR/$ARCH

       make distclean

       IOSMV="-miphoneos-version-min=4.3"
       if [ $ARCH == "arm64" ]; then
           IOSMV="-miphoneos-version-min=7.0"
       fi
       CONFIG="--disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-avresample --enable-cross-compile"

       if [ "$ARCH" == "i386" ];
       then
           PLATFORM="iPhoneSimulator"
           EXTRA_CONFIG="--arch=i386 --target-os=darwin --cpu=i386 --disable-asm --enable-pic"
           EXTRA_CFLAGS="-arch i386"
           EXTRA_LDFLAGS="-I$DEVELOPER/Platforms/$PLATFORM.platform/Developer/SDKs/$PLATFORM$SDKVERSION.sdk/usr/lib -mfpu=neon"
       else
           PLATFORM="iPhoneOS"
           EXTRA_CONFIG="--arch=arm --target-os=darwin --cpu=cortex-a8 --disable-armv5te --enable-pic"
           EXTRA_CFLAGS="-w -arch $ARCH -mfpu=neon"
           EXTRA_LDFLAGS="-mfpu=neon"
       fi

       ./configure --prefix=$BUILDDIR/$DESTDIR/$ARCH --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-iconv --disable-bzlib --enable-avresample --sysroot="$DEVELOPER/Platforms/$PLATFORM.platform/Developer/SDKs/$PLATFORM$SDKVERSION.sdk" --cc="$DEVELOPER/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" --as='/usr/local/bin/$GASPREPROCESSOR' --extra-cflags="$EXTRA_CFLAGS -miphoneos-version-min=$SDKVERSION -I$BUILDDIR/$OUTPUTDIR/include" --extra-ldflags="-arch $ARCH $EXTRA_LDFLAGS -isysroot $DEVELOPER/Platforms/$PLATFORM.platform/Developer/SDKs/$PLATFORM$SDKVERSION.sdk -miphoneos-version-min=$SDKVERSION -L$BUILDDIR/$OUTPUTDIR/lib" $EXTRA_CONFIG --enable-pic --extra-cxxflags="$CPPFLAGS -I$BUILDDIR/$OUTPUTDIR/include -isysroot $DEVELOPER/Platforms/$PLATFORM.platform/Developer/SDKs/$PLATFORM$SDKVERSION.sdk"

       make
       make install
    done
    make distclean

    cd ..
    mkdir -p $DESTDIR/universal/lib
    cd $DESTDIR/i386/lib

    for FILE in *.a;
    do
       INPUT=""
       for ARCH in $ARCHS;
       do
           INPUT="$INPUT $DESTDIR/$ARCH/lib/$FILE"
       done
       lipo -create $INPUT -output $DESTDIR/universal/lib/$FILE
    done

    But terminal logs that :

    + VERSION=2.2.1
    + SDKVERSION=7.1
    ++ pwd
    + BUILDDIR=/Users/Smeegol/Desktop/FFmpeg
    + DESTDIR=ffmpeg-built
    ++ xcode-select -print-path
    + DEVELOPER=/Applications/Xcode.app/Contents/Developer
    + ARCHS='i386 x86_64 armv7 armv7s arm64'
    + rm -rf ffmpeg-built
    + mkdir ffmpeg-built
    + '[' '!' -e ffmpeg-2.2.1.tar.bz2 ']'
    + tar jxf ffmpeg-2.2.1.tar.bz2
    + cd ffmpeg-2.2.1
    + set +e
    ++ which ccache
    + CCACHE=
    + '[' 1 == 0 ']'
    + CCACHE=
    + set -e
    + for ARCH in '$ARCHS'
    + mkdir -p ../ffmpeg-built/i386
    + IOSMV=-miphoneos-version-min=4.3
    + '[' i386 == arm64 ']'
    + CONFIG='--disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-avresample --enable-cross-compile'
    + '[' i386 == i386 ']'
    + PLATFORM=iPhoneSimulator
    + EXTRA_CONFIG='--arch=i386 --target-os=darwin --cpu=i386 --enable-pic --disable-asm'
    + EXTRA_CFLAGS='-arch i386 -mfpu=neon -miphoneos-version-min=4.3'
    + ./configure --prefix=/Users/Smeegol/Desktop/FFmpeg/ffmpeg-built/i386 --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-avresample --enable-cross-compile --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk --cc=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --extra-cflags=-arch i386 -mfpu=neon -miphoneos-version-min=4.3 '--extra-ldflags=-arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -miphoneos-version-min=4.3' --arch=i386 --target-os=darwin --cpu=i386 --enable-pic --disable-asm
    Unknown option "i386".
    See ./configure --help for available options.

    Why Unknown option "i386". ?