Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (31)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (6038)

  • Change youtube-dl download output (Windows)

    13 avril 2016, par Inforcer25

    I hope you can help me.

    I am using youtube-dl on windows (youtube-dl.exe)
    Downloading the video works great and also just the audio. But what i want is for it to save the audio file in a different place eg. C :\Users*******\Desktop

    I made a batch file with this code :

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 --output C:\Users\*******\Desktop\(ext)s.%(ext)s %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    and then it gives me this

    Usage: youtube-dl.exe [OPTIONS] URL [URL...]

    youtube-dl.exe: error: You must provide at least one URL.
    Type youtube-dl --help to see a list of all options.
    Press any key to continue . . .

    It works fine if i use this but it saves it in the same folder.

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    Also please keep in mind that it also uses ffprobe.exe and ffmpeg.exe (They are both in the same folder as youtube-dl.exe

  • Compiling FFmpeg : libx264 not found

    17 mars 2016, par SaidTagnit

    I hope some one helps me the solve this problems. I was trying to compile FFmpeg 2.2.3 library under ubuntu 12.04LTS for android using android ndk r10e by following this tutorials :

    Tutorial1

    Tutorial2

    here is my build_android.sh file :

    #!/bin/bash
    NDK=/home/rango/Desktop/android-ndk-r10e
    SYSROOT=$NDK/platforms/android-19/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86

    #ADDI_LDFLAGS="-L /usr/local/lib"
    #ADDI_CFLAGS="-I /usr/include"

    function build_one
    {
    ./configure \
    --prefix=$PREFIX \
    --enable-shared \
    --enable-static \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-doc \
    --disable-symver \
    --enable-protocol=concat \
    --enable-protocol=file \
    --enable-muxer=mp4 \
    --enable-demuxer=mpegts \
    --enable-memalign-hack \
    --enable-gpl \
    --enable-libx264 \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --target-os=linux \
    --arch=arm \
    --enable-cross-compile \
    --sysroot=$SYSROOT \
    --extra-cflags="-Os -fpic -marm $ADDI_CFLAGS" \
    --extra-ldflags="$ADDI_LDFLAGS" \

    make clean
    make -j4
    make install
    }

    CPU=arm
    PREFIX=$(pwd)/android/$CPU

    build_one

    when i execute buid_android.sh script without —enable-libx264 \ line everything is going well and i can get .a files on android/arm/ folder. but with this line it fails and show the following error in the console :

    ERROR : libx264 not found

    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

    it seems like it can’t find where the libraries are, as i get a lot of the following errors in config.log file :

    "LIBNAME".h : No such file or directory
    newlib.h : No such file or
    directory mingw.h : No such file or directory
    x264.h : No such file or
    directory

    Here is the tail of config.log file :

    check_mathfunc truncf 1
    check_ld cc
    check_cc
    BEGIN /tmp/ffconf.zGKqGin6.c
       1   #include
       2   float foo(float f, float g) { return truncf(f); }
       3   int main(void){ return (int) foo; }
    END /tmp/ffconf.zGKqGin6.c
    /home/rango/Desktop/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -isysroot /home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -Os -fpic -marm -march=armv5te -std=c99 -fomit-frame-pointer -fPIC -marm -pthread -c -o /tmp/ffconf.8Q9ke3aO.o /tmp/ffconf.zGKqGin6.c
    /home/rango/Desktop/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -isysroot /home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -Wl,--as-needed -o /tmp/ffconf.3sjTkc5z /tmp/ffconf.8Q9ke3aO.o -lm -lz -pthread
    check_lib x264.h x264_encoder_encode -lx264
    check_header x264.h
    check_cpp
    BEGIN /tmp/ffconf.zGKqGin6.c
       1   #include
       2   int x;
    END /tmp/ffconf.zGKqGin6.c
    /home/rango/Desktop/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -isysroot /home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -Os -fpic -marm -march=armv5te -std=c99 -fomit-frame-pointer -fPIC -marm -pthread -E -o /tmp/ffconf.8Q9ke3aO.o /tmp/ffconf.zGKqGin6.c
    /tmp/ffconf.zGKqGin6.c:1:18: fatal error: x264.h: No such file or directory
    #include
                     ^
    compilation terminated.
    ERROR: libx264 not found
  • Compiling FFmpeg : libx264 not found

    17 mars 2016, par SaidTagnit

    I hope some one helps me the solve this problems. I was trying to compile FFmpeg 2.2.3 library under ubuntu 12.04LTS for android using android ndk r10e by following this tutorials :

    Tutorial1

    Tutorial2

    here is my build_android.sh file :

    #!/bin/bash
    NDK=/home/rango/Desktop/android-ndk-r10e
    SYSROOT=$NDK/platforms/android-19/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86

    #ADDI_LDFLAGS="-L /usr/local/lib"
    #ADDI_CFLAGS="-I /usr/include"

    function build_one
    {
    ./configure \
    --prefix=$PREFIX \
    --enable-shared \
    --enable-static \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-doc \
    --disable-symver \
    --enable-protocol=concat \
    --enable-protocol=file \
    --enable-muxer=mp4 \
    --enable-demuxer=mpegts \
    --enable-memalign-hack \
    --enable-gpl \
    --enable-libx264 \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --target-os=linux \
    --arch=arm \
    --enable-cross-compile \
    --sysroot=$SYSROOT \
    --extra-cflags="-Os -fpic -marm $ADDI_CFLAGS" \
    --extra-ldflags="$ADDI_LDFLAGS" \

    make clean
    make -j4
    make install
    }

    CPU=arm
    PREFIX=$(pwd)/android/$CPU

    build_one

    when i execute buid_android.sh script without —enable-libx264 \ line everything is going well and i can get .a files on android/arm/ folder. but with this line it fails and show the following error in the console :

    ERROR : libx264 not found

    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

    it seems like it can’t find where the libraries are, as i get a lot of the following errors in config.log file :

    "LIBNAME".h : No such file or directory
    newlib.h : No such file or
    directory mingw.h : No such file or directory
    x264.h : No such file or
    directory

    Here is the tail of config.log file :

    check_mathfunc truncf 1
    check_ld cc
    check_cc
    BEGIN /tmp/ffconf.zGKqGin6.c
       1   #include
       2   float foo(float f, float g) { return truncf(f); }
       3   int main(void){ return (int) foo; }
    END /tmp/ffconf.zGKqGin6.c
    /home/rango/Desktop/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -isysroot /home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -Os -fpic -marm -march=armv5te -std=c99 -fomit-frame-pointer -fPIC -marm -pthread -c -o /tmp/ffconf.8Q9ke3aO.o /tmp/ffconf.zGKqGin6.c
    /home/rango/Desktop/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -isysroot /home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -Wl,--as-needed -o /tmp/ffconf.3sjTkc5z /tmp/ffconf.8Q9ke3aO.o -lm -lz -pthread
    check_lib x264.h x264_encoder_encode -lx264
    check_header x264.h
    check_cpp
    BEGIN /tmp/ffconf.zGKqGin6.c
       1   #include
       2   int x;
    END /tmp/ffconf.zGKqGin6.c
    /home/rango/Desktop/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -isysroot /home/rango/Desktop/android-ndk-r10e/platforms/android-19/arch-arm/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -Os -fpic -marm -march=armv5te -std=c99 -fomit-frame-pointer -fPIC -marm -pthread -E -o /tmp/ffconf.8Q9ke3aO.o /tmp/ffconf.zGKqGin6.c
    /tmp/ffconf.zGKqGin6.c:1:18: fatal error: x264.h: No such file or directory
    #include
                     ^
    compilation terminated.
    ERROR: libx264 not found