Recherche avancée

Médias (1)

Mot : - Tags -/publicité

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 (5560)

  • avutil/mem : fix doc for reallocs

    1er avril 2022, par Zhao Zhili
    avutil/mem : fix doc for reallocs
    

    The doc says those function are like av_free if size or nmemb is
    zero. It doesn't match the code. av_realloc() realloc one byte if
    size is zero, which was added by 91ff05f6ac5 ten years ago.
    realloc() itself in C is implementation-dependent. Make the doc
    match the longstanding behaviour.

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavutil/mem.h
  • FFmpeg - Vertical-Scroll Image Overlay for same duration as audio file

    28 décembre 2020, par John Doe

    I want to scroll an image vertically, but I want the animation duration to match an mp3 file, which will be different every time. Here's what I have :

    &#xA;

    ffmpeg -y -hide_banner -f lavfi -i color=s=1280x720 -loop 1 -i "image.jpg" -filter_complex "[1:v]scale=1280:-2,setpts=if(eq(N\,0)\,0\,1&#x2B;1/0.01/TB),fps=30[fg]; [0:v][fg]overlay=y=-&#x27;t*h*0.01&#x27;:eof_action=endall[video]" -map "[video]" "output.mp4"&#xA;

    &#xA;

    But this always produces a video with duration of 1 minute and 40 seconds, making the animation slow down or speed up accordingly. This is not what I want. I want the output video (and the scrolling animation) duration to match a random mp3 file.

    &#xA;

    I am using FFmpeg in a Batch file on Windows. Any help would be appreciated.

    &#xA;

  • Multiple video input to Video grid using vstack and hstack in ffmpeg

    22 mars 2017, par Newbee7

    I am trying to find a working example for ffmpeg to combine 4 videos (2x2 stack) and 9 videos (3x3 stack) that are not the same resolution.

    For the 2x2 example I am currently I am using the documentation example but it only works if all videos are the same resolution. see command

    ffmpeg -i top_l.mp4 -i top_r.mp4 -i bottom_l.mp4 -i bottom_r.mp4 -i audio.mp4 \
    -filter_complex "[0:v][1:v]hstack[t];[2:v][3:v]hstack[b];[t][b]vstack[v]" \
    -map "[v]" -an -sn -shortest -f flv rtmp://server/stream

    This does not work with my videos inputs with the following error.

    [Parsed_vstack_2 @ 0000000003245cc0] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 0000000003245cc0] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #3:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033fec20] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fec20] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Error while filtering: Invalid argument
    [Parsed_vstack_2 @ 00000000033feb40] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033feb40] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #0:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033fec20] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fec20] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #1:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033fece0] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fece0] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #2:0: Invalid argument
    [Parsed_vstack_2 @ 00000000033ff1c0] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033ff1c0] Failed to configure output pad on Parsed_vstack_2
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while decoding stream #3:0: Invalid argument
    Finishing stream 0:0 without any data written to it.
    [Parsed_vstack_2 @ 00000000033fec20] Input 1 width 1440 does not match input 0 width 1264.
    [Parsed_vstack_2 @ 00000000033fec20] Failed to configure output pad on Parsed_vstack_2
    Error configuring filter graph
    Conversion failed!

    Also if anyone knows how to do the 3x3 stack, feel free to comment.