Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (75)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • How to find best FFmpeg libx265 encoding settings for a specific (set of) file(s)

    19 mai 2020, par Boba0514

    I have only recently discovered FFmpeg and tried using the x265 video codec to reduce the video stream size for some videos, and realized that I can achieve tremendous space savings, especially for video recorded via smarthphones. As I'm new to this, I tried doing some research and found that mostly it's about choosing the correct CRF and preset, so I am thinking it would be sufficient to write a script which iterates through these, creating samples which I could look at and decide what's the best option for a given (set of) video(s).

    



    Is this enough, or should I take some other things into consideration as well ? If so, what would the best solution ? What is the potential range for a good CRF value ? (I am thinking 20-30)

    


  • How can I get FFmpeg to locate installed libraries when —sysroot is pointing to another directory ?

    3 février 2013, par Xaero Degreaz

    I've been going at this, literally for days. I'm trying to build FFmpeg with libmp3lame for use in an Android application. The build script sets a --sysroot flag that points to the Android NDK directory necessary to build these libraries in a way that Android can use them.

    The problem comes when I add the flag to --enable-libmp3lame ; I get ERROR: libmp3lame >= 3.98.3 not found during the build start up. I know that LAME, and it's libraries are installed, because I can just run ./configure --enable-libmp3lame manually and the configuration launches without a hitch, and shows that libmp3lame is enabled for this build. However, building like this will simply not work for what I need it for, since I need the Android NDK to do some work.

    I've tracked the problem down to the fact that this build script is declaring the sysroot, and through some research, I've tried adding -Luser/include, -L/user/includeto the extra cflags, and ldflags (which I've read is the default search location for gcc). I've tried several other things as well, but I'm confident that someone out here can help with this specific problem. This entire build script is as follows :

    Extra info :

    • Build OS : Ubuntu 11.10
    • FFmpeg Ver : Latest from git
    • LAME Ver : 3.9.x
    • Android NDK : r7

    build.sh

    #!/bin/bash

    if [ "$NDK" = "" ]; then
       echo NDK variable not set, assuming ${HOME}/android-ndk
       export NDK=${HOME}/android-ndk
    fi

    SYSROOT=$NDK/platforms/android-3/arch-arm
    # Expand the prebuilt/* path into the correct one
    TOOLCHAIN=`echo $NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86`
    export PATH=$TOOLCHAIN/bin:$PATH

    rm -rf build/ffmpeg
    mkdir -p build/ffmpeg
    cd ffmpeg

    # Don't build any neon version for now
    for version in armv5te armv7a; do

           DEST=../build/ffmpeg
           FLAGS="--target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm"
           FLAGS="$FLAGS --sysroot=$SYSROOT"
           FLAGS="$FLAGS --soname-prefix=/data/data/net.smartnotes/lib/"
           FLAGS="$FLAGS --enable-shared --disable-symver"
           FLAGS="$FLAGS --enable-small --optimization-flags=-O2"
           FLAGS="$FLAGS --disable-everything --enable-protocol=file"
           FLAGS="$FLAGS --enable-libmp3lame --enable-encoder=nellymoser"

           case "$version" in
                   neon)
                       EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon"
                       EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
                       # Runtime choosing neon vs non-neon requires
                       # renamed files
                       ABI="armeabi-v7a"
                       ;;
                   armv7a)
                       # I have tried many things here.
                       EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp"
                       EXTRA_LDFLAGS=""
                       ABI="armeabi-v7a"
                       ;;
                   *)
                       # I have tried many things here.
                       EXTRA_CFLAGS="-Luser/include"
                       EXTRA_LDFLAGS=""
                       ABI="armeabi"
                       ;;
           esac
           DEST="$DEST/$ABI"
           FLAGS="$FLAGS --prefix=$DEST"

           mkdir -p $DEST
           echo $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" > $DEST/info.txt
           ./configure $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" | tee $DEST/configuration.txt
           [ $PIPESTATUS == 0 ] || exit 1
           make clean
           make -j4 || exit 1
           make install || exit 1

    done
  • Ffmpeg 2 mp4 combining

    17 novembre 2014, par Fatih Uçar
    class Program
    {
       static void Main(string[] args)
       {
           ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\ffmpeg\bin\ffmpeg.exe");
           Process.Start(startInfo);//ffmpeg open and close
           startInfo = new ProcessStartInfo(@"C:\ffmpeg\bin\ffmpeg.exe", @"cat C:\1.mp4 C:\2.mp4 | ffmpeg -f mpeg -i - -vcodec copy -acodec copy C:\merged.mp4");
           //this close:(

       }
    }

    2mp4 combining for windows form application ?

    2 things I want to combine video
    All I want to combine 2 mp4