Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (85)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

Sur d’autres sites (6824)

  • ffmpeg-next how can I enable multithreading on a decoder ?

    14 décembre 2022, par Brandon Piña

    I'm using the rust crate ffmpeg-next to decode some video into individual frames for usage in another library. Problem is when I run my test it only seems to use a single core. I've tried modifying the threading configuration for my decoder as you can see below, but It doesn't seem to be do anything

    


            let context_decoder =
            ffmpeg_next::codec::context::Context::from_parameters(input_stream.parameters())?;
        let mut decoder = context_decoder.decoder().video()?;
        let mut threading_config = decoder.threading();
        threading_config.count = num_cpus::get();
        threading_config.kind = ThreadingType::Frame;

        decoder.set_threading(threading_config);


    


  • related to homebrew, ffmpeg and imagemagick [closed]

    25 août 2024, par Ansh Rathod

    I installed ImageMagick using Homebrew. If I zip the Homebrew ImageMagick folder and transfer it to another machine, will it work there ?

    


    For my app, I download FFmpeg to the user’s documents folder from GitHub (I zipped FFmpeg from the Homebrew install folder on my machine) and run the commands from within the app. I’m considering doing something similar with ImageMagick. Will this approach work for every mac for my app's user ?

    


    I' don't think FFmpeg wouldn't work either because when you install the FFmpeg/imagemagick it installs python,rust and other stuff. how should I approach this can someone guide me through ?

    


    PS : I can't bundle this on my app directly.

    


  • Linking to static libs cross compiled for android complains "no archive symbol table (run ranlib)"

    5 octobre 2017, par Programist

    I am trying to build FFmpeg for android as static libraries. Following is my buildscript.sh

    #!/bin/bash

    cd ffmpeg-3.3

    NDK=/Users/sambitpujari/codeenv/ndk/android-ndk-r15c
    SYSROOT=$NDK/platforms/android-26/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
    CPREFIX=$TOOLCHAIN/bin/arm-linux-androideabi-ar

    function build_ffmpeg_android {

    ./configure \
     --prefix=$PREFIX \
     --disable-programs \
     --enable-static \
     --disable-shared \
     --disable-doc \
     --enable-postproc \
     --enable-swscale \
     --enable-avfilter \
     --enable-avresample \
     --enable-pic \
     --disable-opencl \
     --disable-securetransport \
     --enable-videotoolbox \
     --enable-audiotoolbox \
     #--enable-libx264 \
     --cross-prefix=$CPREFIX \
     --target-os=linux \
     --arch=arm \
     --enable-cross-compile \
     --enable-gpl \
     --sysroot=$SYSROOT \
     --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
     --extra-ldflags="$ADDI_LDFLAGS" \
     $ADDITIONAL_CONFIGURE_FLAG
     make clean
     make -j9
     make install
    }

    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"

    build_ffmpeg_android

    The output of above script is placed inside ffmpeg-3.3/android/arm.

    Problem :
    When trying to link to these .a libraries from my app (-lavformat -lavcodec -lswscale -lavutil -lavfilter -lswresample -lavdevice),
    I get the following linker error for each of them

    :-1: error: error: avformat: no archive symbol table (run ranlib)
    :-1: error: error: avcodec: no archive symbol table (run ranlib)
    :-1: error: error: swscale: no archive symbol table (run ranlib)
    :-1: error: error: avutil: no archive symbol table (run ranlib)
    :-1: error: error: avfilter: no archive symbol table (run ranlib)
    :-1: error: error: swresample: no archive symbol table (run ranlib)
    :-1: error: error: avdevice: no archive symbol table (run ranlib)

    Looking at this discussion, I am doing it correct by selecting arm-linux-androideabi-ar in CPREFIX.

    Question :
    What else am I missing here ? What is needed in my buildscript.sh to satisfy correct linking ?