Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (10777)

  • avutil/hwcontext_d3d12va : Use av_image_copy() wrapper

    22 décembre 2023, par Andreas Rheinhardt
    avutil/hwcontext_d3d12va : Use av_image_copy() wrapper
    

    Avoids casts all over the place ; in this case, it also
    replaces the unsafe cast uint8_t**->const uint8_t **
    by the safe cast uint8_t**->const uint8_t * const*.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavutil/hwcontext_d3d12va.c
  • 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/&#39;
    libavutil/../subdir.mak:26: warning: ignoring old recipe for target `libavutil/&#39;
    libavutil/../subdir.mak:96: warning: overriding recipe for target `libavutil/&#39;
    libavutil/../subdir.mak:96: warning: ignoring old recipe for target `libavutil/&#39;
    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&#39;.  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/&#39;
    libavutil/../subdir.mak:26: warning: ignoring old recipe for target `libavutil/&#39;
    libavutil/../subdir.mak:96: warning: overriding recipe for target `libavutil/&#39;
    libavutil/../subdir.mak:96: warning: ignoring old recipe for target `libavutil/&#39;
    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&#39;.  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 ?

  • librosa can't load wav file in aws lambda docker

    30 novembre 2022, par Luka Savic

    I have an AWS Lambda function created using Docker.&#xA;I have librosa installed, ffmpeg installed using the solution from this question : install ffmpeg on amazon ecr linux python

    &#xA;

    I checked in a Lambda function with os.system("ffmpeg -version") and I managed to get valid output, stating different versions and parts of ffmpeg.

    &#xA;

    Problem is that when I do librosa.load(wav_file) it gives the following error :

    &#xA;

    /your/path/.venv/lib/python3.9/site-packages/librosa/util/decorators.py:88: UserWarning: PySoundFile failed. Trying audioread instead.&#xA;  return f(*args, **kwargs) &#xA;

    &#xA;

    From what I've read, librosa should natively support .wav files, even without ffmpeg, and even though I have ffmpeg installed, it doesn't work.

    &#xA;

    One more information, .wav file was downloaded, player, and loaded with librosa on my local PC without any problems. I tried also on different wav and mp3 files, and the problems were still there.

    &#xA;