Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (67)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (9420)

  • AVCONV / FFMPEG hardware acceleration for video conversion

    21 mars 2016, par Alex Bern

    I have an Ubuntu PC with no video card.

    I use avconv for video conversion :

    avconv -i video.wmv -c:v libx264 -c:a libmp3lame -b:v 1800K video.mp4

    My CPU (Intel Core i7-4770K) processes 1.5-2Gb video in around 7-10 minutes.

    In the avconv github sources I saw the options

    Hardware accelerators:
     --enable-d3d11va         enable D3D11VA code
     --enable-dxva2           enable DXVA2 code
     --enable-vaapi           enable VAAPI code
     --enable-vda             enable VDA code
     --enable-vdpau           enable VDPAU code

    I am thinking of compiling avconv with --enable-vdpau and putting a video card into the PC.

    Does this allow avconv to use the video card for video conversion ?

    How can this increase the speed of video conversion (I mean my command) ?

    Can you help me to do this test, if you have avconv in your PC with a video card ?

    Here is an example of WMV.

  • Can't link libfdk-aac for ffmpeg on Android

    19 novembre 2015, par Steve M

    I’m trying a custom build of ffmpeg with libfdk-aac for Android. I can get ffmpeg to build without libfdk-aac and it runs, and I can build libfdk-aac.so, but when I build ffmpeg with libfdk-aac I am getting CANNOT LINK EXECUTABLE DEPENDENCIES: library "libfdk-aac.so" not found when I try to run ffmpeg. libfdk-aac.so is in the same directory as the ffmpeg executable on the Android device, and I have tried the -rpath-link linker option. Here is my complete configure for ffmpeg :

    NDK=/Applications/sdk/android-ndk-r10e
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    function build_one
    {
    ./configure \
       --prefix=$PREFIX \
       --disable-shared \
       --enable-static \
       --disable-programs \
       --disable-doc \
       --disable-everything \
       --enable-filter=aresample \
       --enable-decoder=aac \
       --enable-decoder=aac_latm \
       --enable-decoder=aac_fixed \
       --enable-decoder=ac3 \
       --enable-decoder=ac3_fixed \
       --enable-decoder=als \
       --enable-decoder=alac \
       --enable-decoder=mp1 \
       --enable-decoder=mp1float \
       --enable-decoder=mp2 \
       --enable-decoder=mp2float \
       --enable-decoder=mp3 \
       --enable-decoder=mp3float \
       --enable-decoder=mp3adufloat \
       --enable-decoder=mp3adu \
       --enable-decoder=mp3on4 \
       --enable-decoder=mp3on4float \
       --enable-decoder=als \
       --enable-decoder=vorbis \
       --enable-decoder=flac \
       --enable-decoder=wavpack \
       --enable-decoder=wmalossless \
       --enable-decoder=wmapro \
       --enable-decoder=wmav1 \
       --enable-decoder=wmav2 \
       --enable-decoder=wmavoice \
       --enable-decoder=pcm* \
       --enable-bsf=mp3_header_decompress \
       --enable-bsf=aac_adtstoasc \
       --enable-bsf=chomp \
       --enable-bsf=remove_extradata \
       --disable-swscale \
       --disable-network \
       --enable-swresample \
       --enable-parser=aac \
       --enable-parser=aac_latm \
       --enable-parser=ac3 \
       --enable-parser=flac \
       --enable-parser=ac3 \
       --enable-parser=vorbis \
       --enable-parser=mpegaudio \
       --enable-demuxer=aac \
       --enable-demuxer=au \
       --enable-demuxer=asf \
       --enable-demuxer=mov \
       --enable-demuxer=ac3 \
       --enable-demuxer=eac3 \
       --enable-demuxer=aiff \
       --enable-demuxer=flac \
       --enable-demuxer=latm \
       --enable-demuxer=mp3 \
       --enable-demuxer=ogg \
       --enable-demuxer=eac3 \
       --enable-demuxer=xwma \
       --enable-demuxer=pcm* \
       --enable-demuxer=wav \
       --enable-demuxer=matroska \
       --enable-demuxer=rm \
       --enable-protocol=file \
       --enable-muxer=pcm* \
       --enable-muxer=wav \
       --enable-muxer=ipod \
       --enable-encoder=pcm* \
       --enable-encoder=aac \
       --enable-libfdk-aac \
       --enable-ffmpeg \
       --enable-libfdk-aac \
       --enable-encoder=libfdk_aac \
       --disable-avdevice \
       --disable-swscale-alpha \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --cpu=cortex-a8 \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic -I$INCLUDE_DIR $ADDI_CFLAGS" \
       --extra-ldflags="-fPIE -pie -L$LIB_DIR -Wl,-rpath-link,'$ORIGIN' $ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    INCLUDE_DIR=/Applications/sdk/android-ndk-r10e/sources/ffmpeg-2.8.1/include
    LIB_DIR=/Applications/sdk/android-ndk-r10e/sources/ffmpeg-2.8.1/lib
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one
  • Building x264 on a Mac for android “No working C compiler found”

    20 novembre 2015, par LostPuppy

    I am trying to build x264 and eventually use it to build ffmpeg the following is my script :

    #!/bin/bash

    NDK="/Users/account/Documents/FFmpeg/android-ndk-r10e"
    TOOL_DIR_ARM="/Users/account/Documents/FFmpeg/android-ndk-r10e/sources/ffmpeg-2.8.2/my-android-toolchain"
    SYSROOT=$NDK/platforms/platforms/android-21/arch-arm
    echo "removing tool chain directory if it exists"
    rm -r $TOOL_DIR_ARM

    $NDK/build/tools/make-standalone-toolchain.sh \
       --platform=android-21 \
       --arch=arm \
       --install-dir=$TOOL_DIR_ARM \
       --toolchain=arm-linux-androideabi-clang3.6\
       --llvm-version=3.6 \
       --system=darwin-x86_64

    if [ -d $SYSROOT ]; then
       echo "$SYSROOT is a valid directory"
    fi

    function build_x264
    {
    cd x264

    # another build for phone
    ./configure \
    --cross-prefix=arm-linux-androideabi- \
    --sysroot=$SYSROOT \
    --host=arm-linux \
    --enable-static \
    --enable-pic \
    --disable-cli

    make -j4
    make install

    cd ../
    }


    function build_one
    {
    cd

    # another build for phone
    ./configure \
    --sysroot=$SYSROOT \
    --target-os=linux \
    --arch=arm \
    --cross-prefix=$TOOL_DIR_ARM/bin/arm-linux-androideabi- \
    --cc=$TOOL_DIR_ARM/bin/clang \
    --enable-cross-compile \
    --enable-encoder=mpeg4 \
    --enable-pthreads \
    --enable-gpl \
    --enable-libx264 \
    --enable-pic \
    --extra-cflags='-I/usr/local/include' \
    --extra-ldflags='-L/usr/local/lib'

    make clean
    make -j4
    make install

    }
    echo "Building x_264 library"
    build_x264
    echo "Building FFmpeg"
    build_one

    I get an error saying

    No working C compiler found.
    Makefile:3: config.mak: No such file or directory

    The following is the output from the config.log file

    checking for -mdynamic-no-pic... yes
    checking for -arch x86_64... yes
    x264 configure script

    checking whether gcc works... yes
    checking whether gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
    checking for -mpreferred-stack-boundary=5... no
    Failed commandline was:
    --------------------------------------------------
    gcc conftest.c -m64 -Qunused-arguments -Wall -I. -I$(SRCPATH) -mdynamic-no-pic -arch x86_64 -std=gnu99  -mpreferred-stack-boundary=5  -m64  -lm -arch x86_64$
    clang: error: unknown argument: '-mpreferred-stack-boundary=5'
    --------------------------------------------------
    Failed program was:
    --------------------------------------------------
    int main (void) {  return 0; }
    --------------------------------------------------
    checking whether yasm supports vpmovzxwd ymm0, xmm0... yes

    Solutions that I tried :

    I made sure I have a working GCC

    I have the update to date version of clang

    I have the update to date version of LLVM