Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (27)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (4134)

  • compile FFMpeg for Android (Ubuntu14) - cannot locate symbol

    11 mai 2015, par unichiduci

    I’m trying to compile FFMpeg for Android and I have troubles running the APK on Android 4 (on Android 5 I don’t get this shitty unsatisfied link error) :

    05-09 15:16:18.880  22160-22304/com.gpac.Osmo4 I/LibrariesLoader﹕ Loading library avcodec...
    05-09 15:16:18.910  22160-22304/com.gpac.Osmo4 E/dalvikvm﹕ dlopen("/data/app-lib/com.gpac.Osmo4-1/libavcodec.so") failed: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "log2f" referenced by "libavcodec.so"...
    05-09 15:16:18.920  22160-22304/com.gpac.Osmo4 E/LibrariesLoader﹕ Failed to load library : avcodec due to link error Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "log2f" referenced by "libavcodec.so"...
       java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "log2f" referenced by "libavcodec.so"...

    I’m using NDK 10d, toolchain 4.9 but I was trying with NDK 8 and 9 also and I was getting the same result.
    The only difference when I compile with older NDK versions is that I get a warning message :

    incompatible declaration of built-in function log2f

    I checked libm.so (where log2f should be) which is on the target device and of course there is no log2f function defined there but replacing the library by hand probably would crash some other stuff + I need to root the phone.

    I know this is a linker issue and it should not be that hard to fix but I ran out of ideas.

    EDIT :
    I’m trying to compile ffmpeg 2.4.3
    The script that I’m using to configure :

    #!/bin/bash

    if [ "$NDK" = "" ]; then
       echo NDK variable not set, assuming ${HOME}/android-ndk
       export NDK=${HOME}/android-ndk
    fi

    echo "Compiling with NDK located at: $NDK"

    ROOT_DIR=`cd ..; pwd`
    CUR_DIR=`pwd`

    echo "Fetching Android system headers"
    if [ ! -d "$ROOT_DIR/android-source/frameworks/base" ]; then
       git clone --depth=1 --branch cm-11.0 https://github.com/CyanogenMod/android_frameworks_base.git "$ROOT_DIR/android-source/frameworks/base"
    fi
    if [ ! -d "$ROOT_DIR/android-source/system/core" ]; then
       git clone --depth=1 --branch cm-11.0 https://github.com/CyanogenMod/android_system_core.git "$ROOT_DIR/android-source/system/core"
    fi
    if [ ! -d "$ROOT_DIR/android-source/frameworks/av" ]; then
       git clone --depth=1 --branch cm-11.0 https://github.com/CyanogenMod/android_frameworks_av "$ROOT_DIR/android-source/frameworks/av"
    fi
    if [ ! -d "$ROOT_DIR/android-source/hardware/libhardware" ]; then
       git clone --depth=1 --branch cm-11.0 https://github.com/CyanogenMod/android_hardware_libhardware.git "$ROOT_DIR/android-source/hardware/libhardware"
    fi
    if [ ! -d "$ROOT_DIR/android-source/frameworks/native" ]; then
       git clone --depth=1 --branch cm-11.0 https://github.com/CyanogenMod/android_frameworks_native.git "$ROOT_DIR/android-source/frameworks/native"
    fi

    echo "Fetching Android libraries for linking"
    # Libraries from any froyo/gingerbread device/emulator should work
    # fine, since the symbols used  should be available on most of them.
    if [ ! -d "$ROOT_DIR/android-libs" ]; then
       wget http://download.cyanogenmod.org/get/jenkins/65493/cm-10.2.1.3-serranoltexx.zip -P../
       unzip ../cm-10.2.1.3-serranoltexx.zip system/lib/* -d../
       mv ../system/lib "$ROOT_DIR/android-libs"
       rmdir ../system
       rm ../cm-10.2.1.3-serranoltexx.zip
    fi

    ANDROID_SOURCE="$ROOT_DIR/android-source"
    echo "ANDROID_SOURCE: $ANDROID_SOURCE"
    ANDROID_LIBS="$ROOT_DIR/android-libs"
    OBJS="$ROOT_DIR/objs"
    if [ "$DEST" = "" ]; then
       rm -rf $ROOT_DIR/build/stagefright
       mkdir -p $ROOT_DIR/build/stagefright
       DEST=$ROOT_DIR/build/stagefright
    fi

    #for ABI in "armeabi-v7a" "armeabi" "x86"; do
    for ABI in "armeabi-v7a" "armeabi"; do
       if [ "$ABI" = "x86" ]; then
           ARCH="x86"
           TOOLCHAIN=`echo $NDK/toolchains/x86-4.9/prebuilt/*-x86*`
       else
           ARCH="arm"
           TOOLCHAIN=`echo $NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/*-x86*`
       fi
       SYSROOT=$NDK/platforms/android-18/arch-$ARCH
       # Expand the prebuilt/* path into the correct one
       export PATH=$TOOLCHAIN/bin:$PATH

       FLAGS="--target-os=linux --arch=$ARCH"
       FLAGS="$FLAGS --sysroot=$SYSROOT"
       FLAGS="$FLAGS --enable-shared --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --disable-symver"
       if [ "$ARCH" = "arm" ]; then
           FLAGS="$FLAGS --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- --cpu=armv7-a --enable-libstagefright-h264"
           #FLAGS="$FLAGS --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- --cpu=armv7-a"
       else
           FLAGS="$FLAGS --cross-prefix=$TOOLCHAIN/bin/i686-linux-android- --disable-asm"
       fi

       EXTRA_CFLAGS="-I$DEST/$ABI/include"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$ANDROID_SOURCE/frameworks/base/include -I$ANDROID_SOURCE/system/core/include"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$ANDROID_SOURCE/frameworks/native/include"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$ANDROID_SOURCE/frameworks/native/include/media/openmax"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$ANDROID_SOURCE/frameworks/av/include"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$ANDROID_SOURCE/frameworks/av/media/libstagefright"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$NDK/sources/cxx-stl/gnu-libstdc++/4.9/include -I$NDK/sources/cxx-stl/gnu-libstdc++/4.9/libs/$ABI/include"
       EXTRA_CFLAGS="$EXTRA_CFLAGS -I$ANDROID_SOURCE/hardware/libhardware/include"
       if [ "$ARCH" = "arm" ]; then
           EXTRA_CFLAGS="$EXTRA_CFLAGS -march=armv7-a -mfloat-abi=softfp -mfpu=neon -Wl,--no-undefined" #-Werror=implicit-function-declaration"
       fi
       EXTRA_LDFLAGS="-Wl,--fix-cortex-a8 -L$ANDROID_LIBS -Wl,-rpath-link,$ANDROID_LIBS -L$NDK/sources/cxx-stl/gnu-libstdc++/4.9/libs/$ABI"
       EXTRA_CXXFLAGS="-Wno-multichar -fno-exceptions -fno-rtti"
       FLAGS="$FLAGS --prefix=$DEST/$ABI"

       mkdir -p $DEST/$ABI
       mkdir -p $OBJS/$ABI

       echo $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" --extra-cxxflags="$EXTRA_CXXFLAGS" > $DEST/$ABI/info.txt
       echo "Configuring ..."
       cd $OBJS/$ABI
       $ROOT_DIR/configure $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" --extra-cxxflags="$EXTRA_CXXFLAGS" | tee $DEST/$ABI/configuration.txt
       [ $PIPESTATUS == 0 ] || exit 1
       echo "Making ..."
       #make clean
       make -j4 || exit 1
       make install || exit 1
       cd $CUR_DIR
    done
  • Shell command error with XAMPP on Yosemite - dyld : Symbol not found : _sqlite3_intarray_bind

    17 juin 2015, par Hyperion

    I’m trying to run a simple shell command with PHP. I’m using XAMPP on OS X Yosemite, this is my script

    <?php
    $output = shell_exec(PHP_BINDIR.'/ffmpeg 2>&1');
    echo "<pre>$output</pre>";
    ?>

    I’ve placed my ffmpeg executable in /Applications/XAMPP/xamppfiles/bin but when I run it, I got this error on the page instead of the shell output :

    dyld: Symbol not found: _sqlite3_intarray_bind
     Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
     Expected in: /Applications/XAMPP/xamppfiles/lib/libsqlite3.dylib
    in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData

    What this error means ? Why is involved Sqlite3 ?

  • symbol(s) not found for architecture x86_64 on Mac when using Qt+opencv+ffmpeg

    20 juillet 2015, par Galaxy

    I’m running a project using Qt+opencv+ffmpeg on Mac, but it comes to an error : symbol(s) not found for architecture x86_64.


    Part of .pro :

    INCLUDEPATH += /usr/local/include
    INCLUDEPATH += /usr/local/include/opencv
    INCLUDEPATH += /usr/local/include/opencv2

    LIBS += -L/usr/local/lib -lavformat -lavcodec -lavutil

    When I use GCC (x86 64bit in /usr/bin) to compile, it shows

    error: symbol(s) not found for architecture x86_64

    When I use Clang (x86 64bit in /usr/bin) to compile, it shows

    error: symbol(s) not found for architecture x86_64
    error: linker command failed with exit code 1 (use -v to see invocation)

    I’m using OS X Yosemite 10.10.4. Does anybody know how to fix it ?