Recherche avancée

Médias (91)

Autres articles (66)

  • 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 des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (8014)

  • avformat/mxfdec : Read Mastering Display Colour Volume from MXF

    9 septembre 2020, par Harry Mallon
    avformat/mxfdec : Read Mastering Display Colour Volume from MXF
    

    Described in Annex B SMPTE ST 2067-21:2020

    Signed-off-by : Harry Mallon <harry.mallon@codex.online>

    • [DH] libavformat/mxf.c
    • [DH] libavformat/mxf.h
    • [DH] libavformat/mxfdec.c
    • [DH] libavformat/mxfenc.c
  • Wrong video information after encoding [closed]

    22 mars 2024, par Constadinos Chatzis

    Using FFMPEG for encoding videos from HDR to SDR with 3DLuts, i recently came to my attention that after the encoding the video has wrong information.

    &#xA;

    The code i use is :&#xA;-vf lut3d="example.cube" -c:v libx265 -crf 16 -c:a copy -preset fast

    &#xA;

    Original HDR video infos :

    &#xA;

    General&#xA;Unique ID                      : 235922119201670445249046242281848857470 (0xB17CF2883DCE2BDE00E192235198637E)&#xA;Complete name                  : example.mkv&#xA;Format                         : Matroska&#xA;Format version                 : Version 4&#xA;File size                      : 201 MiB&#xA;Duration                       : 20 s 96 ms&#xA;Overall bit rate mode          : Variable&#xA;Overall bit rate               : 83.8 Mb/s&#xA;Frame rate                     : 16 343.153 FPS&#xA;Movie name                     : example&#xA;Writing application            : Lavf60.16.100&#xA;Writing library                : Lavf60.16.100&#xA;ErrorDetectionType             : Per level 1&#xA;&#xA;Video&#xA;ID                             : 1&#xA;ID in the original source medi : 4113 (0x1011)&#xA;Format                         : HEVC&#xA;Format/Info                    : High Efficiency Video Coding&#xA;Format profile                 : Main 10@L5.1@High&#xA;HDR format                     : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL&#x2B;EL&#x2B;RPU, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible&#xA;Codec ID                       : V_MPEGH/ISO/HEVC&#xA;Duration                       : 20 s 96 ms&#xA;Bit rate                       : 66.3 Mb/s&#xA;Width                          : 3 840 pixels&#xA;Height                         : 2 160 pixels&#xA;Display aspect ratio           : 16:9&#xA;Frame rate mode                : Constant&#xA;Frame rate                     : 16 343.153 FPS&#xA;Original frame rate            : 23.976 (24000/1001) FPS&#xA;Color space                    : YUV&#xA;Chroma subsampling             : 4:2:0 (Type 2)&#xA;Bit depth                      : 10 bits&#xA;Bits/(Pixel*Frame)             : 0.000&#xA;Stream size                    : 106 GiB&#xA;Language                       : English&#xA;Default                        : No&#xA;Forced                         : No&#xA;Color range                    : Limited&#xA;Color primaries                : BT.2020&#xA;Transfer characteristics       : PQ&#xA;Matrix coefficients            : BT.2020 non-constant&#xA;Mastering display color primar : Display P3&#xA;Mastering display luminance    : min: 0.0050 cd/m2, max: 4000 cd/m2&#xA;Maximum Content Light Level    : 602 cd/m2&#xA;Maximum Frame-Average Light Le : 184 cd/m2&#xA;Original source medium         : Blu-ray&#xA;

    &#xA;

    After encoding to SDR the infos are :

    &#xA;

    General&#xA;Unique ID                      : 197829821108483109262455008881990159019 (0x94D4A33C264AF154BCA17241DA23CAAB)&#xA;Complete name                  : example.mkv&#xA;Format                         : Matroska&#xA;Format version                 : Version 4&#xA;File size                      : 182 MiB&#xA;Duration                       : 20 s 62 ms&#xA;Overall bit rate mode          : Variable&#xA;Overall bit rate               : 76.1 Mb/s&#xA;Frame rate                     : 16 370.850 FPS&#xA;Movie name                     : example&#xA;Writing application            : Lavf60.16.100&#xA;Writing library                : Lavf60.16.100&#xA;ErrorDetectionType             : Per level 1&#xA;&#xA;Video&#xA;ID                             : 1&#xA;ID in the original source medi : 4113 (0x1011)&#xA;Format                         : HEVC&#xA;Format/Info                    : High Efficiency Video Coding&#xA;Format profile                 : Format Range@L5@Main&#xA;HDR format                     : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL&#x2B;EL&#x2B;RPU, Blu-ray compatible&#xA;Codec ID                       : V_MPEGH/ISO/HEVC&#xA;Duration                       : 20 s 62 ms&#xA;Bit rate                       : 66.3 Mb/s&#xA;Width                          : 3 840 pixels&#xA;Height                         : 2 160 pixels&#xA;Display aspect ratio           : 16:9&#xA;Frame rate mode                : Constant&#xA;Frame rate                     : 16 370.850 FPS&#xA;Original frame rate            : 23.976 (24000/1001) FPS&#xA;Color space                    : RGB&#xA;Bit depth                      : 10 bits&#xA;Bits/(Pixel*Frame)             : 0.000&#xA;Stream size                    : 106 GiB&#xA;Writing library                : x265 3.5&#x2B;113-8787af124:[Windows][GCC 13.2.0][64 bit] 10bit&#xA;Encoding settings              : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=3 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / temporal-layers=0 / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=15 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=2 / selective-sao=4 / no-early-skip / rskip / fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=6 / crqpoffs=6 / rc=crf / crf=16.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=1 / colorprim=9 / transfer=16 / colormatrix=0 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf / no-sbrc&#xA;Language                       : English&#xA;Default                        : No&#xA;Forced                         : No&#xA;Color range                    : Full&#xA;Color primaries                : BT.2020&#xA;Transfer characteristics       : PQ&#xA;Matrix coefficients            : Identity&#xA;Original source medium         : Blu-ray&#xA;

    &#xA;

    Is this normal ? Shouldn't the encoding file had different info's about color primaries, transfer characteristics etc ?

    &#xA;

    Encoding video files i expected more accurate file informations.

    &#xA;

  • How to increase the compression ratio of a JPEG2000 file with "avenc_jpeg2000" GStreamer encoder ?

    10 juillet 2023, par qfr.bertin.group

    I'm using the plugin avenc_jpeg2000, from gst-libav module, combined with videotestsrc and filesink plugins for encoding a raw picture to a JPEG2000 picture :

    &#xA;

    gst-launch-1.0 videotestsrc num-buffers=1 ! avenc_jpeg2000 ! filesink location=/tmp/picture-ref.jp2&#xA;

    &#xA;

    This pipeline works and produce a 31.85 KiB (32,616) file.

    &#xA;

    Pipeline graph

    &#xA;

    Now, I want to divide the size of my output file by two by increasing the compression ratio of the encoder avenc_jpeg2000. To achieve this, I want to minimize the number of bits required to represent the image with an allowable level of distortion. I know JPEG2000 standard support lossless and lossy compression mode. For my use case, the lossy compression mode is acceptable.

    &#xA;

    How should I proceed to increase the compression of my output file ? What encoder's properties should I play with for doing that ?

    &#xA;

    My test configuration :

    &#xA;

      &#xA;
    • i.MX 8M Plus

      &#xA;

    • &#xA;

    • GStreamer 1.18.0

      &#xA;

    • &#xA;

    • libav 1.18.0 (Release date : 2020-09-08)

      &#xA;

    • &#xA;

    &#xA;

    I tried to play with "bitrate" and "bitrate-tolerance" properties, but it seems to have no effect on the size of the output file :

    &#xA;

    gst-launch-1.0 videotestsrc num-buffers=1 ! avenc_jpeg2000 bitrate=100000 bitrate-tolerance=10000 ! filesink location=/tmp/picture-test-01.jp2&#xA;

    &#xA;

    I compare files by doing a checksum with sha224sum command :

    &#xA;

    d0da9118a9c93a0420d6d62f104e0d99fe6e50cda5e87a46cef126f9  /tmp/picture-ref.jp2&#xA;&#xA;d0da9118a9c93a0420d6d62f104e0d99fe6e50cda5e87a46cef126f9  /tmp/picture-test-01.jp2&#xA;

    &#xA;