Advanced search

Medias (91)

Other articles (63)

  • Use, discuss, criticize

    13 April 2011, by

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 March 2010, by

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3); le plugin champs extras v2 nécessité par (...)

  • Configuration spécifique d’Apache

    4 February 2011, by

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

On other websites (9631)

  • ffmpeg overlay picture is a black rectangle

    6 June 2023, by robert

    I'm trying to overlay several images over an existing video, with the first image coming in with a fade-in effect. But instead I'm getting a black rectangle in place of the picture. But if I skip the fade-in and just put [img0] after decrease like so decrease[img0] then it works (but without fade in)

    


    please advise. TY

    


    -y
-i "G:\...\Videos\BLANK.mp4" 
-i "G:\...\Front\1.jpg" 
-i "G:\...\Front\2.jpg" 
-i "G:\...\Front\3.jpg" 
-i "G:\...\Front\4.jpg" 
-i "G:\...\Front\5.jpg" 
-i "G:\...\Front\6.jpg" 

-filter_complex [1:v]scale=880:545:force_original_aspect_ratio=decrease,fade=t=in:st=2.6:d=1[img0];
[0:v][img0]overlay=x='if(lte(2.6-t,0),450,NAN)':y='if(lte(2.6-t,0),5,NAN)':enable='between(t,2.6,4)'[v0];
[2:v]scale=880:545:force_original_aspect_ratio=decrease[img1];
[v0][img1]overlay=x='if(lte(4-t,0),450,NAN)':y='if(lte(4-t,0),5,NAN)':enable='between(t,4,5.6)'[v1];
[3:v]scale=880:545:force_original_aspect_ratio=decrease[img2];
[v1][img2]overlay=x='if(lte(5.6-t,0),450,NAN)':y='if(lte(5.6-t,0),5,NAN)':enable='between(t,5.6,6.3)'[v2];
[4:v]scale=880:545:force_original_aspect_ratio=decrease[img3];
[v2][img3]overlay=x='if(lte(6.3-t,0),450,NAN)':y='if(lte(6.3-t,0),5,NAN)':enable='between(t,6.3,6.9)'[v3];
[5:v]scale=880:545:force_original_aspect_ratio=decrease[img4];
[v3][img4]overlay=x='if(lte(6.9-t,0),450,NAN)':y='if(lte(6.9-t,0),5,NAN)':enable='between(t,6.9,7.4)'[v4];
[6:v]scale=880:545:force_original_aspect_ratio=decrease[img5];
[v4][img5]overlay=x='if(lte(7.4-t,0),450,NAN)':y='if(lte(7.4-t,0),5,NAN)':enable='between(t,7.4,7.9)'[v5];

 -map [v5] -map 0:a -c:v libx264 -c:a copy "G:\...\Videos\ffmpeg\output.mp4"


    


  • libavcodec/webp: treat out-of-bound palette index as translucent black

    16 September 2014, by Pascal Massimino
    libavcodec/webp: treat out-of-bound palette index as translucent black
    

    See https://code.google.com/p/webp/issues/detail?id=206
    for a description of the problem/fix.

    Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

    This patch makes the decoder follow the recommendation of the spec.
    There is some disagreement (see "[FFmpeg-devel] [PATCH]: libavcodec/webp")
    about what would be best to be written in the spec, so in case the spec
    is changed again, this potentially would need to be amended or reverted

    • [DH] libavcodec/webp.c
  • trimming video with FFMPEG, but the output is a black video, with audio

    18 July 2017, by riancu

    i have a video, and i want to trim it. This is what I am doing:

    ffmpeg -i input.mp4 -ss 0 -t 4 -vcodec copy -acodec copy output.mp4

    However, output.mp4 only provides me with the correct audio — the video is just a black screen

    I found a similar issue, and someone said to add -pix_fmt yuv420p
    I added it, but nothing changed (did i add it incorrectly?)

    Any thoughts?