Recherche avancée

Médias (91)

Autres articles (105)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (13940)

  • ffmpeg on iOS 5.1 Undefined Symbols Error

    25 avril 2012, par AndyDunn

    So I've spent several hours now working through the scant amount of information available online about building ffmpeg for iOS. The building process seems to work well and I end up with fat files for armv6 and armv7 which I drag over into my project.

    However, whenever I try to use the "avcodec_init()" command I get the following error :

    Undefined symbols for architecture armv7 :
    "_avcodec_init", referenced from :

    -[FirstViewController viewDidLoad] in FirstViewController.o

    ld : symbol(s) not found for architecture armv7

    clang : error : linker command failed with exit code 1 (use -v to see invocation)

    The library files are included in the 'Link Binary with Libraries' of the project settings, so they are definitely compiled into the app. I just can't for the life of me work out why I'm getting an error on this.

    I've tried several different projects, and downloaded some existing project files from the web and get the same error.

    This is the build script I used :

    export PLATFORM="iPhoneOS" export MIN_VERSION="4.0" export
    MAX_VERSION="5.1" export
    DEVROOT=/Volumes/Lion/Applications/Xcode.app/Contents/Developer/Platforms/$PLATFORM.platform/Developer
    export SDKROOT=$DEVROOT/SDKs/$PLATFORM$MAX_VERSION.sdk export
    CC=$DEVROOT/usr/bin/llvm-gcc export LD=$DEVROOT/usr/bin/ld export
    CPP=$DEVROOT/usr/bin/cpp export CXX=$DEVROOT/usr/bin/llvm-g++ export
    AR=$DEVROOT/usr/bin/ar export LIBTOOL=$DEVROOT/usr/bin/libtool export
    NM=$DEVROOT/usr/bin/nm export CXXCPP=$DEVROOT/usr/bin/cpp export
    RANLIB=$DEVROOT/usr/bin/ranlib

    COMMONFLAGS="-pipe -gdwarf-2 -no-cpp-precomp -isysroot $SDKROOT
    -marm -fPIC" export LDFLAGS="$COMMONFLAGS -fPIC" export CFLAGS="$COMMONFLAGS -fvisibility=hidden" export
    CXXFLAGS="$COMMONFLAGS -fvisibility=hidden
    -fvisibility-inlines-hidden"

    FFMPEG_LIBS="libavcodec libavdevice libavformat libavutil libswscale"

    echo "Building armv6..."

    make clean ./configure \
    —cpu=arm1176jzf-s \
    —extra-cflags='-arch armv6 -miphoneos-version-min=$MIN_VERSION -mthumb' \
    —extra-ldflags='-arch armv6 -miphoneos-version-min=$MIN_VERSION' \
    —enable-cross-compile \
    —arch=arm \
    —target-os=darwin \
    —cc=$CC \
    —sysroot=$SDKROOT \
    —prefix=installed \
    —disable-network \
    —disable-decoders \
    —disable-muxers \
    —disable-demuxers \
    —disable-devices \
    —disable-parsers \
    —disable-encoders \
    —disable-protocols \
    —disable-filters \
    —disable-bsfs \
    —enable-decoder=h264 \
    —enable-decoder=svq3 \
    —enable-gpl \
    —enable-pic \
    —disable-doc perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h make -j3

    mkdir -p build.armv6 for i in $FFMPEG_LIBS ; do cp ./$i/$i.a
    ./build.armv6/ ; done

    echo "Building armv7..."

    make clean ./configure \
    —cpu=cortex-a8 \
    —extra-cflags='-arch armv7 -miphoneos-version-min=$MIN_VERSION -mthumb' \
    —extra-ldflags='-arch armv7 -miphoneos-version-min=$MIN_VERSION' \
    —enable-cross-compile \
    —arch=arm \
    —target-os=darwin \
    —cc=$CC \
    —sysroot=$SDKROOT \
    —prefix=installed \
    —disable-network \
    —disable-decoders \
    —disable-muxers \
    —disable-demuxers \
    —disable-devices \
    —disable-parsers \
    —disable-encoders \
    —disable-protocols \
    —disable-filters \
    —disable-bsfs \
    —enable-decoder=h264 \
    —enable-decoder=svq3 \
    —enable-gpl \
    —enable-pic \
    —disable-doc perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h make -j3

    mkdir -p build.armv7 for i in $FFMPEG_LIBS ; do cp ./$i/$i.a
    ./build.armv7/ ; done

    mkdir -p build.universal for i in $FFMPEG_LIBS ; do lipo -create
    ./build.armv7/$i.a ./build.armv6/$i.a -output ./build.universal/$i.a ;
    done

    for i in $FFMPEG_LIBS ; do cp ./build.universal/$i.a ./$i/$i.a ; done

    make install

  • How to integrate DLNA and ffmpeg ?

    27 mars 2015, par vishnu

    While streaming contents from DMS , I need to encode it using FFMpeg for downscaling. Is there any way to do the same. What are the tools i require and also the procedure to do it ?

  • PHP can't stream video files

    5 septembre 2014, par Rob Avery IV

    I have a mp4 video file. It is able to stream when I give the direct path to the video file in browser (i.e. www.site.com/video.mp4). When I call the following php file, it doesn’t stream :

    <?php

    //Full version of file does a lot of database stuff

    //Get $path of file

    header('Content-type: video/mp4');
    header('Content-Length: '.filesize($path)); // provide file size

    $contents = file_get_contents($path);
    echo $contents;

    This php file is used to indirectly stream video files.

    This doesn’t work in any browser.