Recherche avancée

Médias (91)

Autres articles (34)

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (7592)

  • FFMPEG Input area failure

    6 décembre 2019, par Mike

    I’m trying to convert an input clip to a fixed, padded output and applying an overlay on it.

    This command works fine for resizing :

    ffmpeg -y -i clip.mp4 -vf scale="min(iw*375/ih\,500):min(375\,ih*500/iw),pad=500:375:(500-iw)/2:(375-  ih)/2" output.mp4

    I created the following one to make sure the overlay would be created :

    ffmpeg -y -i clip.mp4 -i clip_overlay.png -strict -2 -filter_complex "[0]scale=min(iw*375/ih\,500):min(375\,ih*500/iw),pad=500:375:(500-iw)/2:(375-ih)/2[v];[v][1]overlay=x=W-w-5:y=H-h-5" output.mp4

    I cannot find the error, but ffmpeg returns :

    [Parsed_pad_1 @ 0x2eae8e0] Input area 144:0:355:375 not within the padded area 0:0:500:374 or zero-sized
    [Parsed_pad_1 @ 0x2eae8e0] Failed to configure input pad on Parsed_pad_1
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #1:0
    [aac @ 0x2eb3020] Qavg: 102.113
    [aac @ 0x2eb3020] 2 frames left in the queue on closing

    Why does that upper command work, and combined with the second one, it doesn’t ?

  • avcodec/agm : Do not allow MVs out of the picture area as no edge is allocated

    2 novembre 2019, par Michael Niedermayer
    avcodec/agm : Do not allow MVs out of the picture area as no edge is allocated
    

    Fixes : out of array access
    Fixes : 18499/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5749038406434816

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/agm.c
  • FFMPEG - scrolling text in area

    25 juin 2021, par Marcin Woźniak

    I try to make scrolling news ticker on a video as overlay.&#xA;I have created a PNG background with a specified place where where i want to scrolling text appear.

    &#xA;&#xA;

    I tried with this :

    &#xA;&#xA;

    ffmpeg -i INPUT.mp4 -vf "drawtext=textfile=ticker.txt:fontfile=BebasNeue-Regular.ttf:y=h-line_h-10:x=w-mod(w*t/25\,2400*(w&#x2B;tw)/w):fontcolor=white:fontsize=40:shadowx=2:shadowy=2" -codec:a copy output.mp4

    &#xA;&#xA;

    but this command scrolls text from right margin to left margin.

    &#xA;&#xA;

    What i want to achieve is that scrolling text scrolls only in selected boundary box i set (in example starts from 100px from right and ends 100px from left).

    &#xA;&#xA;

    I didnt find any answer here or in Google - every example scrools from left to right directly.

    &#xA;