Recherche avancée

Médias (91)

Autres articles (67)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (10977)

  • ffmpeg .mp4 to .h264 avcc formatted bitstream

    20 juillet 2014, par user2517182

    I have a .mp4 file. I would like to convert it to an .h264 file of the form of avcc bitstream.

    When I run ffmpeg -i somfile.mp4 -vcodec libx264 somefile.h264, a .h264 file is produced, but of the form annexb bitstream. I also tried it with libx264rgb argument to -vcodec and got the same result.

    I ran ffmpeg -codecs and the line that I believe applies to my situation is

    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vda ) (encoders: libx264 libx264rgb )

    According to this post and this post (they seem to be highly recommended on stackoverflow), although there are differences between the two bitstreams ; I should be able to produce either one of the bitstreams if the bits are packed correctly.

    Any help with this would be greatly appreciated.

  • How to build FFmpeg Executable binary for Android on Mac OS ?

    26 août 2016, par TOP

    I’m a new beginner with FFmpeg. All I need is FFmpeg executable binary for Android. I followed the great tutorial from roman10.net

    Here is my build_android.sh file :

       #!/bin/bash
    NDK=/Users/sunshine/Documents/android-ndk-r11-linux-x86_64
    SYSROOT=$NDK/platforms/android-21/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    function build_one
    {
    ./configure \
       --prefix=$PREFIX \
       --enable-shared \
       --enable-static \
       --disable-doc \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --enable-libmp3lame\
       --disable-doc \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    The tutorial says :

    Once it’s done, you should be able to find a folder
    $NDK/sources/ffmpeg-2.0.1/android

    In my case, the build process is done, but I don’t see any android folder. Some new files are created in the same folder with build_android.sh file. Where is my mistake ?

  • How to run multiple commands on file pairs using a shell script ?

    21 avril 2017, par Christian Wheeler

    I’ve looked at this post and this post among a few others. They provided some information as to how to get started, unfortunately my use case is slightly more complex.

    I have pairs of video files that I run ffmpeg commands on. The command I run transfers metadata from the original files to the converted files and looks as follows :

    christian$ ffmpeg -i file_1.mov -i file_1.mp4 -map 1 -map_metadata 0 -c copy file_1_fixed.mp4

    This post explains what the command does, should an explanation be required. Basically the use case is that both the original file and the converted file have the same name, but different extensions. How would I go about writing a shell script that finds all such pairs in a directory and composes and runs the command specified above for each pair ?

    I assume, from a logical point of view that I would need to loop through all the pairs, get the file names, do some sort of string manipulation (if this is even possible with shell scripting) compose the command and run it.

    Any resources you could point me towards would be deeply appreciated. Just to clarify, some pseudo code :

    for (file in directory) {
     string name = file.getname
     string command = "ffmpeg -i " + name + ".mov -i " + name + ".mp4 -map 1
     -map_metadata 0 -c copy " + name + "_fixed.mp4"
     run(command)
    }

    Hope this makes sense, please let me know if I should clarify more. Thank you for reading.