Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (8715)

  • Errors while ffmpeg compiling

    10 mai 2012, par iSun

    I trying to compile ffmpeg through the following script, but I got errors while compiling : (Using windows 7 - android ndk 7rb and cygwin)

    s@s-PC /cygdrive/f/export/ffmpeg-0.8.10
    $ ./setup.sh
    F:/Compiler/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/wind                                                                                                    ows/bin/arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.
    ./setup.sh: line 48: --extra-cflags=: command not found
    ./setup.sh: line 51: --extra-ldflags=: command not found
    ./setup.sh: line 53: --extra-ldflags=: command not found
    Makefile:1: config.mak: No such file or directory
    libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
    libavutil/../subdir.mak:96: warning: overriding recipe for target `libavutil/'
    libavutil/../subdir.mak:26: warning: ignoring old recipe for target `libavutil/'
    libavutil/../subdir.mak:96: warning: overriding recipe for target `libavutil/'
    libavutil/../subdir.mak:96: warning: ignoring old recipe for target `libavutil/'
    Makefile:239: /tests/fate.mak: No such file or directory
    Makefile:240: /tests/fate2.mak: No such file or directory
    Makefile:242: /tests/fate/aac.mak: No such file or directory
    Makefile:243: /tests/fate/als.mak: No such file or directory
    Makefile:244: /tests/fate/fft.mak: No such file or directory
    Makefile:245: /tests/fate/h264.mak: No such file or directory
    Makefile:246: /tests/fate/mp3.mak: No such file or directory
    Makefile:247: /tests/fate/vorbis.mak: No such file or directory
    Makefile:248: /tests/fate/vp8.mak: No such file or directory
    make: *** No rule to make target `/tests/fate/vp8.mak'.  Stop.
    Makefile:1: config.mak: No such file or directory
    libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
    libavutil/../subdir.mak:96: warning: overriding recipe for target `libavutil/'
    libavutil/../subdir.mak:26: warning: ignoring old recipe for target `libavutil/'
    libavutil/../subdir.mak:96: warning: overriding recipe for target `libavutil/'
    libavutil/../subdir.mak:96: warning: ignoring old recipe for target `libavutil/'
    Makefile:239: /tests/fate.mak: No such file or directory
    Makefile:240: /tests/fate2.mak: No such file or directory
    Makefile:242: /tests/fate/aac.mak: No such file or directory
    Makefile:243: /tests/fate/als.mak: No such file or directory
    Makefile:244: /tests/fate/fft.mak: No such file or directory
    Makefile:245: /tests/fate/h264.mak: No such file or directory
    Makefile:246: /tests/fate/mp3.mak: No such file or directory
    Makefile:247: /tests/fate/vorbis.mak: No such file or directory
    Makefile:248: /tests/fate/vp8.mak: No such file or directory
    make: *** No rule to make target `/tests/fate/vp8.mak'.  Stop.

    Here is my script :

       #!/bin/bash

       export TMPDIR=C:/cygwin/tmp

       ANDROID_API=android-8
       export ANDROID_NDK=F:/Compiler/android-ndk-r7b
       export ANDROID_SDK=F:/Compiler/android-sdk
       SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-arm
       ANDROID_BIN=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin
       CROSS_COMPILE=${ANDROID_BIN}/arm-linux-androideabi-
       export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools

       export ARM_ROOT=$ANDROID_NDK
       export ARM_INC=$ARM_ROOT/platforms/android-5/arch-arm/usr/include
       export ARM_LIB=$ARM_ROOT/platforms/android-5/arch-arm/usr/lib
       export LIB_INC=${HOME}/include
       export LIB_LIB=${HOME}/lib


       CFLAGS=" -I$ARM_INC -fPIC -DANDROID -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__  -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID  -Wa,--noexecstack -MMD -MP "
       LDFLAGS=" -nostdlib -Bdynamic  -Wl,--no-undefined -Wl,-z,noexecstack  -Wl,-z,nocopyreloc -Wl,-soname,/system/lib/libz.so -Wl,-rpath-link=$ARM_LIB,-dynamic-linker=/system/bin/linker -L$ARM_LIB -nostdlib $ARM_LIB/crtbegin_dynamic.o $ARM_LIB/crtend_android.o -lc -lm -ldl -lgcc "

       FLAGS="--target-os=linux
       --enable-cross-compile
       --cross-prefix=$CROSS_COMPILE
       --arch=arm --prefix=$HOME
       --disable-shared
       --enable-static
       --extra-libs=-static
       --extra-cflags=--static
       --enable-small
       --disable-asm
       --disable-yasm
       --disable-amd3dnow
       --disable-amd3dnowext
       --disable-mmx
       --disable-mmx2
       --disable-sse
       --disable-ssse3
       --disable-indevs"


       export CFLAGS=$EXTRA_CFLAGS
       export LDFLAGS=$EXTRA_LDFLAGS


    ./configure $FLAGS
    --extra-cflags="$CFLAGS"
    --extra-ldflags="$LDFLAGS" \
    --cc="${CROSS_COMPILE}gcc
    --sysroot=${SYSROOT}"
    --extra-ldflags="$LDFLAGS" \
    --cxx="${CROSS_COMPILE}g++ --sysroot=${SYSROOT}" \
    --nm="${CROSS_COMPILE}nm" \
    --ar="${CROSS_COMPILE}ar"


    make clean
    make -j4 || exit 1
    make install || exit 1

    Any ideas ?

  • Problem compiling libsrt for ffmpeg, library not found using pkg-config

    3 juin 2022, par Kodsama

    I am trying to build ffmpeg and dependencies from sources (as it will be used from a container on aws) but I have hard time with ffmpeg and pkg-config.

    


    I compile static libraries, among which libsrt from sources and put generated files to well defined directories. pkg-config finds srt without problem but ffmpeg doesn't for some reason (see output below).

    


    Here is how it looks like :

    


    Build code (I extracted the interesting parts, other libraries are built as well, I added prints to be able to see what happens) :

    


    echo "*** Building libsrt ***"
cd $BUILD_DIR/srt*
make distclean
PKG_CONFIG_PATH="$TARGET_DIR/lib/pkgconfig" \
  PATH="$BIN_DIR:$PATH" \
    cmake -G "Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX="$TARGET_DIR" \
    -DCMAKE_INSTALL_LIBDIR="$TARGET_DIR/lib" \
    -DCMAKE_INSTALL_INCLUDEDIR="$TARGET_DIR/include" \
    -DCMAKE_INSTALL_BINDIR="$BIN_DIR" \
    -DENABLE_SHARED:bool=off \
    -DENABLE_C_DEPS:bool=on \
    -DENABLE_STATIC:bool=on
make -j $jval
make install
echo '========================================================================'
pwd
echo "$TARGET_DIR"
echo "$BUILD_DIR"
echo 'target_dir=' && ls "$TARGET_DIR"
echo 'lib=' && ls "$TARGET_DIR/lib"
echo 'lib/pkgconfig=' && ls "$TARGET_DIR/lib/pkgconfig"
echo 'bin_dir=' && ls "$BIN_DIR"
echo 'include=' && ls "$TARGET_DIR/include"
echo 'path=' && echo $PATH
pkg-config --modversion srt
export PKG_CONFIG_PATH="$TARGET_DIR/lib/pkgconfig":$PKG_CONFIG_PATH


echo "*** Building FFmpeg ***"
cd $BUILD_DIR/FFmpeg*
make distclean
PATH="$BIN_DIR:$PATH" \
  ./configure \
    --prefix="$TARGET_DIR" \
    --pkg-config-flags="--static" \
    --extra-cflags="-I$TARGET_DIR/include -I$TARGET_DIR/usr/local/include -I/usr/local/cuda/include" \
    --extra-ldflags="-L$TARGET_DIR/lib -L$TARGET_DIR/usr/local/lib -L/usr/local/cuda/lib64" \
    --extra-libs="-Wl,-Bstatic -lharfbuzz -lfreetype -lpng -lz -lbz2 -Wl,-Bdynamic -lm -ldl -lpthread -lsrt -lssl -lcrypto" \
    --extra-ldexeflags="-Wl,-Bstatic" \
    --nvccflags="-gencode arch=compute_75,code=sm_75 -O2" \
    --bindir="$BIN_DIR" \
    --enable-pic \
    --enable-ffplay \
    --enable-fontconfig \
    --enable-frei0r \
    --enable-gpl \
    --enable-version3 \
    --enable-libass \
    --enable-libfribidi \
    --enable-libfdk-aac \
    --enable-libfreetype \
    --enable-libmp3lame \
    --enable-libopenjpeg \
    --enable-libopus \
    --enable-libsoxr \
    --enable-libspeex \
    --enable-libtheora \
    --enable-libvidstab \
    --enable-libvorbis \
    --enable-libvpx \
    --enable-libwebp \
    --enable-libx264 \
    --enable-libx265 \
    --enable-libxvid \
    --enable-libzimg \
    --enable-nonfree \
    --enable-openssl \
    --enable-cuda-nvcc \
    --enable-cuvid \
    --enable-nvenc \
    --enable-libsrt \
    --enable-libnpp || tail -n 100 ${HOME}/build/FFmpeg*/ffbuild/config.log

PATH="$BIN_DIR:$PATH" make -j $jval
make install


    


    This what I get printed in the logs (I put [...] to take away parts which are not relevant) :

    


    [...]
[100%] Built target srt-file-transmit
Install the project...
-- Install configuration: "Release"
-- Installing: /codebuild/output/ffmpeg/target/lib/libsrt.a
-- Installing: /codebuild/output/ffmpeg/target/include/srt/version.h
-- Installing: /codebuild/output/ffmpeg/target/include/srt/srt.h
-- Installing: /codebuild/output/ffmpeg/target/include/srt/logging_api.h
-- Installing: /codebuild/output/ffmpeg/target/include/srt/access_control.h
-- Installing: /codebuild/output/ffmpeg/target/include/srt/platform_sys.h
-- Installing: /codebuild/output/ffmpeg/target/include/srt/udt.h
-- Installing: /codebuild/output/ffmpeg/target/lib/pkgconfig/haisrt.pc
-- Installing: /codebuild/output/ffmpeg/target/lib/pkgconfig/srt.pc
-- Installing: /codebuild/output/ffmpeg/bin/srt-live-transmit
-- Up-to-date: /codebuild/output/ffmpeg/bin/srt-live-transmit
-- Installing: /codebuild/output/ffmpeg/bin/srt-file-transmit
-- Up-to-date: /codebuild/output/ffmpeg/bin/srt-file-transmit
-- Installing: /codebuild/output/ffmpeg/bin/srt-tunnel
-- Up-to-date: /codebuild/output/ffmpeg/bin/srt-tunnel
-- Installing: /codebuild/output/ffmpeg/bin/srt-ffplay
========================================================================
/codebuild/output/ffmpeg
/codebuild/output/ffmpeg/target
/codebuild/output/ffmpeg/build

target_dir=
bin
etc
include
lib
share
ssl
var

lib=
cmake
[...]
libsrt.a
libssl.a
[...]
pkgconfig

lib/pkgconfig=
[...]
haisrt.pc
[...]
libcrypto.pc
libssl.pc
[...]
openssl.pc
[...]
srt.pc
[...]

bin_dir=
[...]
srt-ffplay
srt-file-transmit
srt-live-transmit
srt-tunnel
[...]

include=
[...]
srt
[...]

path=
/root/.cargo/bin:/root/miniconda3/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/codebuild/user/bin
1.4.3
========================================================================
*** Building FFmpeg ***
ERROR: srt >= 1.3.0 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
tail: cannot open '/root/build/FFmpeg*/ffbuild/config.log' for reading: No such file or directory

[Container] 2021/06/09 15:03:22 Command did not exit successfully ./build.sh exit status 1
[Container] 2021/06/09 15:03:22 Phase complete: BUILD State: FAILED
[Container] 2021/06/09 15:03:22 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: ./build.sh. Reason: exit status 1


    


    Any idea what can be wrong ?

    


    Thanks !

    


  • New Matomo Mobile 2.4.0 released

    12 janvier 2018, par Matomo Core Team

    New Matomo Mobile 2.4.0 update is now available for Android 6+ and iOS10.3+ devices. This is the first mobile release that shows signs of the new Matomo branding instead of Piwik. Don’t be surprised if the app still shows the Piwik app icon. This is on purpose as the name of the app changed to Matomo Mobile and some users would otherwise not find the app anymore if they haven’t heard of the renaming from Piwik to Matomo before.

    What’s new in Matomo Mobile ?

    This new version brings some bug fixes and improvements to our Android and iOS apps :

    • Piwik is now Matomo which includes some name changes in the app as well as showing the new logo
    • Fixed broken “Get-involved” link
    • Links to Matomo or other websites now open in the browser app and no longer in the app itself
    • Improved visitor log to support more actions (see #12284)
    • We have updated the underlying framework bringing some performance and compatibility improvements

    Download the Apps

    Update now or install either the iOS version or the Android version. Android users can also download the latest version from our website : download Matomo Mobile 2.4.0 from our website.

    If you experience any issues with this version please let us know.

    Sponsor

    The new Matomo Mobile release has been sponsored by InnoCraft, the creators of Matomo.

    Happy analytics on the go,

    The post New Matomo Mobile 2.4.0 released appeared first on Analytics Platform - Matomo.