Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (63)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (6726)

  • avcodec/av1dec : partially clean state on frame decoding errors

    4 octobre 2020, par James Almer
    avcodec/av1dec : partially clean state on frame decoding errors
    

    Fixes : member access within null pointer of type 'TileGroupInfo' (aka 'struct TileGroupInfo')
    Fixes : 25725/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AV1_fuzzer-5166692706287616

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/av1dec.c
  • How to prevent gray overlays, transparency issues, and similar shader defects when using gl-transition filters

    29 janvier 2021, par Soren Wray

    I compiled and installed a local build of ffmpeg with support for gl-transition adapted from the official guide for Ubuntu. The build is configured with all relevant packages and seems to be working as intended. See the code samples at the end.

    &#xA;

    I know the gl-transition filter is installed due to ./ffmpeg -v 0 -filters | grep gltransition, which outputs :

    &#xA;

    T.. gltransition      VV->V      OpenGL blend transitions

    &#xA;

    All sources were tested with the custom command string : ./ffmpeg -i ~/PATH/TO/INPUT1.mp4 -i ~/PATH/TO/INPUT2.mp4 -filter_complex "gltransition=duration=3:offset=1:source=/PATH/TO/EFFECT.glsl" -y ~/PATH/TO/OUTPUT.mp4, which is for a 3 second transition effect (duration=3), starting at 1 second (offset=1).

    &#xA;

    I've been testing the code sources for various transition effects listed in the gl-transition gallery and have encountered some unusual gray overlays at the transition points, likely having to do with alpha channel transparency. In many cases, there are also shader or animation defects, e.g. with windowslice.glsl rendering only 1 slice when there are supposed to be 10, or again with WaterDrop.glsl, which simply fades out the clip in place of the intended ripple effect. Most complex animations seem to default to this monotonous gray overlay. I provide a gif example below for the GlitchedMemories.glsl transition.

    &#xA;

    Example of Glitched Memories

    &#xA;

    I couldn't locate any other reports of this particular issue online. The documentation for gl-transitions is sorely lacking and the Stack Exchange network has very little information about this custom filter. I don't know how to fix the problem. It could have something to do with the codec or pixel format used, or some quirk of my build, but the technical details are beyond me.

    &#xA;

    Please note my compilation and configuration steps, perhaps the error is there :

    &#xA;

    sudo apt-get update -qq &amp;&amp; sudo apt-get -y install autoconf automake build-essential cmake git-core libass-dev libfreetype6-dev libgnutls28-dev libsdl2-dev libtool libunistring-dev libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo wget yasm zlib1g-dev&#xA;&#xA;mkdir -p ~/ffmpeg_sources ~/bin&#xA;&#xA;sudo apt-get install nasm libx264-dev libx265-dev libnuma-dev libvpx-dev libfdk-aac-dev libmp3lame-dev libopus-dev&#xA;&#xA;cd ~/ffmpeg_sources &amp;&amp; wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 &amp;&amp; tar xjvf ffmpeg-snapshot.tar.bz2&#xA;&#xA;cd ~/ &amp;&amp; git clone https://github.com/transitive-bullshit/ffmpeg-gl-transition.git&#xA;

    &#xA;

    Open ~/ffmpeg-gl-transition/vf_gltransition.c in an editor and delete line : # define GL_TRANSITION_USING_EGL // remove this line if you don&#x27;t want to use EGL

    &#xA;

    cd ~/ffmpeg_sources/ffmpeg &amp;&amp; cp ~/ffmpeg-gl-transition/vf_gltransition.c libavfilter/&#xA;&#xA;git apply ~/ffmpeg-gl-transition/ffmpeg.diff&#xA;&#xA;PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \&#xA;    --prefix="$HOME/ffmpeg_build" \&#xA;    --pkg-config-flags="--static" \&#xA;    --extra-cflags="-I$HOME/ffmpeg_build/include" \&#xA;    --extra-ldflags="-L$HOME/ffmpeg_build/lib" \&#xA;    --extra-libs="-lpthread -lm" \&#xA;    --bindir="$HOME/bin" \&#xA;    --enable-gpl \&#xA;    --enable-opengl \&#xA;    --enable-gnutls \&#xA;    --enable-libass \&#xA;    --enable-libfdk-aac \&#xA;    --enable-libfreetype \&#xA;    --enable-libmp3lame \&#xA;    --enable-libopus \&#xA;    --enable-libvorbis \&#xA;    --enable-libvpx \&#xA;    --enable-libx264 \&#xA;    --enable-libx265 \&#xA;    --disable-shared \&#xA;    --enable-static \&#xA;    --enable-runtime-cpudetect \&#xA;    --enable-filter=gltransition \&#xA;    --extra-libs=&#x27;-lGLEW -lglfw&#x27; \&#xA;    --enable-nonfree &amp;&amp; \&#xA;PATH="$HOME/bin:$PATH" make&#xA;&#xA;source ~/.profile&#xA;

    &#xA;

  • Configured Half-ninja android FFMPEG project

    24 décembre 2013, par Mr.G

    I have configured android-halfninja project completely and i manage to build

    refered to this link

    libs/armeabi/libvideokit.so and
    libs/armeabi/ffmpeg

    libs from the given source

    But i had to make some changes to the .sh files in order to build .so files.

    But now i tried to execute following ffmpeg command in my android project it doesn't run properly

       String var[] = {"ffmpeg","-i",input};



    12-24 10:34:44.569: I/VideoKit(14374): Loading native library compiled at 14:43:51 Dec 18 2013
    12-24 10:34:44.599: I/ActivityManager(290): Process uk.co.halfninja.videokit (pid 14374) has died.
    12-24 10:34:44.599: W/ActivityManager(290): Force removing ActivityRecord{2bea3e28 uk.co.halfninja.videokit/.MainActivity}: app died, no saved state

    Can any one tell me what might be th issue to have this error in half-nonja project

    here is my configure_ffmpeg.sh file

       #!/bin/bash
    pushd `dirname $0`
    . settings.sh

    if [[ $DEBUG == 1 ]]; then
     echo "DEBUG = 1"
     DEBUG_FLAG="--disable-stripping"
    fi

    # I haven&#39;t found a reliable way to install/uninstall a patch from a Makefile,
    # so just always try to apply it, and ignore it if it fails. Works fine unless
    # the files being patched have changed, in which cause a partial application
    # could happen unnoticed.
    patch -N -p1 --reject-file=- &lt; redact-plugins.patch
    patch -N -p1 --reject-file=- &lt; arm-asm-fix.patch
    patch -d ffmpeg -N -p1 --reject-file=- &lt; \
       ARM_generate_position_independent_code_to_access_data_symbols.patch
    patch -d ffmpeg -N -p1 --reject-file=- &lt; \
       ARM_intmath_use_native-size_return_types_for_clipping_functions.patch
    patch -d ffmpeg -N -p1 --reject-file=- &lt; \
       enable-fake-pkg-config.patch

    pushd ffmpeg

    ./configure \
    $DEBUG_FLAG \
    --arch=arm \
    --cpu=cortex-a8 \
    --target-os=linux \
    --enable-runtime-cpudetect \
    --prefix=$prefix \
    --enable-pic \
    --disable-shared \
    --enable-static \
    --cross-prefix=$NDK_TOOLCHAIN_BASE/bin/$NDK_ABI-linux-androideabi- \
    --sysroot="$NDK_SYSROOT" \
    --extra-cflags="-I../x264 -mfloat-abi=softfp -mfpu=neon" \
    --extra-ldflags="-L../x264" \
    \
    --enable-version3 \
    --enable-gpl \
    \
    --disable-doc \
    --enable-yasm \
    \
    --disable-everything \
    --enable-decoder=mjpeg \
    --enable-demuxer=mjpeg \
    --enable-parser=mjpeg \
    --enable-demuxer=image2 \
    --enable-muxer=mp4 \
    --enable-encoder=libx264 \
    --enable-decoder=rawvideo \
    --enable-protocol=file \
    --enable-hwaccels \
    --enable-filter=buffer \
    --enable-filter=buffersink \
    --disable-demuxer=v4l \
    --disable-demuxer=v4l2 \
    --disable-indev=v4l \
    --disable-indev=v4l2 \
    \
    --disable-indevs \
    --enable-indev=lavfi \
    --disable-outdevs \
    \
    --enable-hwaccels \
    \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffprobe \
    --disable-ffserver \
    --disable-network \
    \
    --enable-libx264 \
    --enable-zlib \
    --enable-muxer=md5

    popd; popd


    #--enable-decoders \
    #--enable-encoders \
    #--enable-muxers \
    #--enable-demuxers \
    #--enable-parsers \
    #--enable-protocols \
    #--enable-filter=buffer \
    #--enable-filter=buffersink \
    #--enable-avresample \
    #--enable-faac \