Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (61)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (5004)

  • avfilter/vf_scale : set proper out frame color range

    31 décembre 2015, par Thomas Mundt
    avfilter/vf_scale : set proper out frame color range
    

    Prevents that following scalers in the filter chain will do unintentional color range conversions.
    Fixes Ticket #5096

    Signed-off-by : Thomas Mundt <loudmax@yahoo.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/vf_scale.c
  • lavu/opt : apply range checks also when setting format string value

    16 décembre 2013, par Stefano Sabatini
    lavu/opt : apply range checks also when setting format string value
    

    Previously when setting a pixel/sample format as a string range checks
    were not performed. This is consistent with the
    av_opt_set_pixel/sample_fmt() interface.

    • [DH] libavutil/opt.c
  • Converting limited range YUV to sRGB using ImageMagick

    6 juillet 2019, par Rotem

    I am trying to convert a set of raw video frames from YUV444 to sRGB using ImageMagick.

    Input format : Raw YUV444 limited range, BT.709 in planar data order.
    Required output format : sRGB (set of PNG images).

    Main issue : ImageMagick conversion always applies JPEG conversion formula.

    • Remark about "limited range" YUV format :
      In 8 bits limited range YUV format, the range of Y is [16, 235] and the range of U, V is [16, 240]. (limited range BT.709 is used in HTDV systems).
      JPEG uses "full range" YUV format, where Y,U,V range is [0, 255].
      sRGB is used in PC systems, and the range of R,G,B is full range [0, 255].
      YUV and YCbCr are interchangeable.

    For testing, I used the following sample image :

    • Sample image in sRGB format (rgb_input.png) :
      rgb_input.png

    I converted the sample to YUV444 format using FFmpeg :
    ffmpeg -y -colorspace bt709 -i rgb_input.png -pix_fmt yuv444p yuv_input.yuv

    Following image illustrates the YUV444 output (in planar data order) :

    • Input image for ImageMagick in YUV444 format (yuv_input.yuv planar data order illustration) :
      yuv_input.yuv

    I converted yuv_input.yuv to PNG using ImageMagick converter (version 7.0.8-51) :
    magick -depth 8 -interlace plane -size 128x96 -colorspace Rec709YCbCr -sampling-factor 4:4:4 yuv:yuv_input.yuv rgb_output_magick.png

    • Result of ImageMagick (rgb_output_magick.png) :
      rgb_output_magick
      If you look carefully you see that the image is different than rgb_input.png.

    Same conversion using FFmpeg (used as reference) :
    ffmpeg -y -s 128x96 -colorspace bt709 -pix_fmt yuv444p -i yuv_input.yuv -pix_fmt rgb24 rgb_output_ffmpeg.png

    • Result of FFmpeg (rgb_output_ffmpeg.png) :
      rgb_output_ffmpeg.png
      Note : The true format of my raw input video frames prevents me from using FFmpeg.

    Conversion formula from 8 bits limited range YUV BT.709 to sRGB :
    R = 1.1644*Y + 0.00000*U + 1.79270*V - 248.10
    G = 1.1644*Y - 0.21325*U - 0.53291*V + 76.878
    B = 1.1644*Y + 2.11240*U + 0.00000*V - 289.02

    How can I do the above conversion using ImageMagick converter ?