Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (54)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

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

Sur d’autres sites (5173)

  • avfilter/formats : Make ff_formats_pixdesc_filter return AVFilterFormats*

    26 septembre 2021, par Andreas Rheinhardt
    avfilter/formats : Make ff_formats_pixdesc_filter return AVFilterFormats*
    

    Up until now, it has returned the AVFilterFormats list via
    an AVFilterFormats** parameter ; the actual return value was an int
    that was always AVERROR(ENOMEM) on error. The AVFilterFormats**
    argument was a pure output parameter which was only documented
    by naming the parameter rfmts. Yet nevertheless all callers
    initialized the underlying AVFilterFormats* to NULL.

    This commit changes this to return a pointer to AVFilterFormats
    directly. This is more in line with the API in general, as it
    allows to avoid checks for intermediate values.

    Reviewed-by : Nicolas George <george@nsup.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavfilter/formats.c
    • [DH] libavfilter/formats.h
    • [DH] libavfilter/vf_copy.c
    • [DH] libavfilter/vf_crop.c
    • [DH] libavfilter/vf_detelecine.c
    • [DH] libavfilter/vf_fieldhint.c
    • [DH] libavfilter/vf_hwdownload.c
    • [DH] libavfilter/vf_il.c
    • [DH] libavfilter/vf_mix.c
    • [DH] libavfilter/vf_stack.c
    • [DH] libavfilter/vf_swaprect.c
    • [DH] libavfilter/vf_telecine.c
    • [DH] libavfilter/vf_untile.c
    • [DH] libavfilter/vf_weave.c
  • Apply simplex noise to image with ffmpeg

    26 avril 2022, par aalystama

    Is there any way to apply simplex noise on image with ffmpeg ?

    &#xA;

    Implementation in JavaScript

    &#xA;

    export function addGrain(out, image, slice, scale, intensity){&#xA;    let simplex = new SimplexNoise(new Alea());&#xA;    let od = out.data,&#xA;        id = image.data,&#xA;        w = image.width,&#xA;        h = image.height,&#xA;        ox = slice.x,&#xA;        oy = slice.y,&#xA;        d = Math.min(slice.width, slice.height);&#xA;&#xA;    for(var y = 0; y &lt; h; y&#x2B;&#x2B;) {&#xA;        for(var x = 0; x &lt; w; x&#x2B;&#x2B;) {&#xA;            // reduce noise in shadows and highlights, 4 = no noise in pure black and white&#xA;            let i = (y*w&#x2B;x)*4,&#xA;                l = (id[i]&#x2B;id[i&#x2B;1]&#x2B;id[i&#x2B;2])/768-0.5,&#xA;                rx = x &#x2B; ox,&#xA;                ry = y &#x2B; oy,&#xA;                noise = (simplex.noise2D(rx/d*scale, ry/d*scale) &#x2B;&#xA;                         simplex.noise2D(rx/d*scale/2, ry/d*scale/2)*0.25 &#x2B;&#xA;                         simplex.noise2D(rx/d*scale/4, ry/d*scale/4))*0.5;&#xA;            // reduce noise in shadows and highlights, 4 = no noise in pure black and white&#xA;            noise *= (1-l*l*2);&#xA;            noise *= intensity*255;&#xA;            od[i] = id[i]&#x2B;noise; // R&#xA;            od[i&#x2B;1] = id[i&#x2B;1]&#x2B;noise; // G&#xA;            od[i&#x2B;2] = id[i&#x2B;2]&#x2B;noise; // B&#xA;        }&#xA;    }&#xA;}&#xA;

    &#xA;

    I've idea to do it with generic equation on each pixel geq but i need to get simplex noise value that is calculated from pixel's X and Y

    &#xA;

    Resources

    &#xA;

    &#xA;

  • HLS "bufferStalledError" / "bufferNudgeOnStall"

    20 avril 2022, par Yago

    I'm trying to stream videos with HLS.js, and it works perfectly fine, but when I separate the audio from the video to support multiple audio tracks, it returns these two errors at random times in the video ("bufferStalledError" and "bufferNudgeOnStall").

    &#xA;

    I've tried using pure ffmpeg, I've tried using shaka packager, and I'm currently using bento4, but this error always occurs

    &#xA;

    (my bento4 code)

    &#xA;

    mp4hls --hls-version 4 -o "${outputFolder}" -f&#xA;[type=audio,&#x2B;language=Japanese]"${inputFolder}${epFolder}/1080p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/1080p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/720p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/480p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/360p.mp4"&#xA;[type=video]"${inputFolder}${epFolder}/240p.mp4"&#xA;

    &#xA;