Recherche avancée

Médias (91)

Autres articles (53)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

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

Sur d’autres sites (6804)

  • Revision 75d77e36db : Fix the all intra modes mask constant. The new constant expands to 0x3fc00808.

    28 mai 2014, par Alex Converse

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    Fix the all intra modes mask constant.

    The new constant expands to 0x3fc00808.

    Change-Id : Ib5109e4faf035fe0402b59f8a8d2e412628b9276

  • avcodec/vaapi : mask unused bits in bitplane_present.value

    25 février 2018, par Jerome Borsboom
    avcodec/vaapi : mask unused bits in bitplane_present.value
    

    Due to the union construct, unused bits in bitplane_present.value might
    be uninitialized even when the used bits are all set to a value.
    Masking the unused bits prevents spurious true values when all used
    bits are unset, e.g. skipped pictures.

    Signed-off-by : Jerome Borsboom <jerome.borsboom@carpalis.nl>

    • [DH] libavcodec/vaapi_vc1.c
  • Using ffmpeg alphamerge to mask two images before calculating similarity index [closed]

    12 août 2024, par user2814357

    I'm working on a script that removes duplicate frames from images stored on disk. I need to ignore certain irrelevant parts of the images.

    &#xA;

    The following ffmpeg command line should work, but it returns the same SSIM statistics as without mask.

    &#xA;

    ffmpeg -i 1.webp -i 2.webp -i mask.png -filter_complex \&#xA;"[0][2]alphamerge[img1]; \&#xA; [1][2]alphamerge[img2]; \&#xA; [img1]format=yuva420p[masked1]; \&#xA; [img2]format=yuva420p[masked2]; \&#xA; [masked1][masked2]ssim=stats_file=-" -f null -&#xA;

    &#xA;

    Example output :

    &#xA;

    [Parsed_ssim_4 @ 0x7fb76b70ff00] SSIM Y:0.829392 (7.680003) U:0.987882 (19.165656) V:0.993201 (21.675403) All:0.883108 (9.322165)&#xA;[out#0/null @ 0x7fb76c604700] video:0KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown&#xA;frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.602x    &#xA;&#xA;

    &#xA;

    Result is the same with ffmpeg -i 1.webp -i 2.webp  -lavfi ssim=stats_file=- -f null -.

    &#xA;

    [Parsed_ssim_0 @ 0x7f9c0cf06d80] SSIM Y:0.829392 (7.680003) U:0.987882 (19.165656) V:0.993201 (21.675403) All:0.883108 (9.322165)&#xA;[out#0/null @ 0x7f9c0da08e80] video:0KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown&#xA;

    &#xA;

    This is weird because the masked output files look as expected if I output them with :

    &#xA;

    ffmpeg -i 1.webp -i 2.webp -i mask.png -filter_complex \&#xA;"[0][2]alphamerge[img1]; \&#xA; [1][2]alphamerge[img2]; \&#xA; [img1]format=yuva420p[masked1]; \&#xA; [img2]format=yuva420p[masked2]" \&#xA;-map "[masked1]" masked_1.webp \&#xA;-map "[masked2]" masked_2.webp&#xA;

    &#xA;

    Does anyone know what the right syntax would be for getting the SSIM values from a single command using a mask ?

    &#xA;

    Side note : If I use -map "[masked1]" masked_1.jpg it outputs the original picture, not the masked one. Could there be a problem in the ffmpeg pipeline ?

    &#xA;

    Thank you very much !

    &#xA;