Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (36)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

  • doc : fix one accented word

    24 février 2014, par Vittorio Giovara
    doc : fix one accented word
    
    • [DH] doc/filters.texi
  • Révision 21338 : Report de c21337 : Ne pas confondre le Kazakh (kk - http://fr.wikipedia.org/wiki...

    5 mai 2014, par kent1 -
  • How to preserve colours when colour metadata is "unknown"

    5 avril 2024, par Hashim Aziz

    I often need to scale up many files with unknown color metadata (probably because FFmpeg itself was dropping that metadata until very recently) :

    


    $ ffprobe -v error -show_streams "input.mp4" | grep color

color_range=tv
color_space=unknown
color_transfer=unknown
color_primaries=unknown


    


    No matter what I do to try and preserve the colours in these files, nothing works to prevent the colours from shifting, usually coming out darker than the input.

    


    I've already tried :

    


      

    1. Setting all four color metadata options (-colorspace, -color_trc, -color_primaries, -color_range) to all of their possible values for PAL, NTSC and HD inputs (bt470bg, smpte170m and bt709 respectively)

      


    2. 


    3. Automatically converting the colorspace as part of the scale by adding in_color_matrix=auto:out_color_matrix=<colorspace></colorspace>, where is either bt470, smpte170m or bt709

      &#xA;

    4. &#xA;

    5. Explicitly converting the colorspace as part of the scale by adding in_color_matrix=<colorspace>:out_color_matrix=bt709</colorspace>, where is either bt470, smpte170m or bt709

      &#xA;

    6. &#xA;

    &#xA;

    After all of this, I'm still left none the wiser as to how the hell colour works in FFmpeg and what I'm meant to be doing just to get my colour to look as it does in the original input.

    &#xA;

    Here is the (simplified) FFmpeg command that I'm running as part of a larger script, most of which is probably irrelevant to the issue but which I've included in case it isn't :

    &#xA;

    ffmpeg -y -hide_banner \&#xA;-i "input.webm" -i "outro.mp4" -loop 1 -i "watermark.png" \&#xA;-movflags &#x2B;faststart&#x2B;write_colr \ &#xA;-filter_complex \&#xA;"color=black:16x16:d=780[base];&#xA;[0:v]scale=1922:&#x27;max(1080,ih)&#x27;:flags=lanczos:in_color_matrix=auto:out_color_matrix=bt709[v0];&#xA;[1:v]scale=1922:&#x27;max(1080,ih)&#x27;:flags=lanczos,fade=in:st=0:d=2:alpha=1[v1];&#xA;[2:v]lut=a=val*0.7,fade=in:st=15:d=3:alpha=1,fade=out:st=775:d=3:alpha=1[v2];&#xA;[base][v0]scale2ref[base][v0];&#xA;[base][v0]overlay[tmp];&#xA;[tmp][v1]overlay,setsar=1[tmp2];&#xA;[v2][tmp2]scale2ref=w=oh*mdar:h=ih*0.07[watermark_scaled][video]&#xA;[video][watermark_scaled]overlay=80:50:shortest=1:format=rgb[outv];&#xA;[0:a]afade=out:st=778:d=2[0a];&#xA;[0a][1:a]concat=n=2:v=0:a=1[outa]" \&#xA;-map "[outv]" -map "[outa]" -c:v libx264 -crf 15 -c:a libopus \&#xA;-pix_fmt yuv420p -colorspace bt709 -color_trc bt709 -color_primaries bt709 -color_range tv "output.mp4" &#xA;

    &#xA;