Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (67)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (13806)

  • 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;

  • CRF/CQP is incompatible with 2pass. FFmpeg error

    22 juillet 2020, par user12129980

    This is my command :

    &#xA;&#xA;

    ..\ffmpeg -y -i "D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4" -c:v libx264 -preset ultrafast -maxrate 3000k -bufsize 6000k -g 50 -c:a aac -b:a 128k -ac 2 -ar 44100 -an -pass 1 -f mp4 NUL   &amp;&amp; ..\ffmpeg -i "D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4" -c:v libx264 -s 1280x720 -preset ultrafast -maxrate 500k -bufsize 1000k -vf "scale=1280:-1,format=yuv420p" -g 50 -c:a aac -b:a 128k -ac 2 -ar 44100 -an -pass 2 aa_start_with_BAGAN.mp4_ultrafast_500.mp4&#xA;

    &#xA;&#xA;

    in the output I get CRF/CQP is incompatible with 2pass, but I didnt use the cfr/-q option in the command at all, why do I get this error ?&#xA;Add the full metadata of FFMpeg maybe someone can help me with this ?&#xA;(-g 50 because the default fps is 25 base on the documentation)

    &#xA;&#xA;

    `ffmpeg version git-2020-01-29-de1b2aa Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.2.1 (GCC) 20200122&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 38.100 / 56. 38.100&#xA;  libavcodec     58. 67.100 / 58. 67.100&#xA;  libavformat    58. 36.100 / 58. 36.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 71.100 /  7. 71.100&#xA;  libswscale      5.  6.100 /  5.  6.100&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : M4V&#xA;    minor_version   : 1&#xA;    compatible_brands: M4V mp42isom&#xA;    creation_time   : 2018-04-24T18:21:09.000000Z&#xA;  Duration: 00:35:54.00, start: 0.000000, bitrate: 1057 kb/s&#xA;    Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 929 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-04-24T18:21:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      encoder         : AVC Coding&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-04-24T18:21:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Sound Media Handler&#xA;Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (NUL) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0000024ec2de0f80] using SAR=1/1&#xA;[libx264 @ 0000024ec2de0f80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0000024ec2de0f80] profile Constrained Baseline, level 3.0, 4:2:0, 8-bit&#xA;[libx264 @ 0000024ec2de0f80] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=50 keyint_min=5 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=3000 vbv_bufsize=6000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=0&#xA;Output #0, mp4, to &#x27;NUL&#x27;:&#xA;  Metadata:&#xA;    major_brand     : M4V&#xA;    minor_version   : 1&#xA;    compatible_brands: M4V mp42isom&#xA;    encoder         : Lavf58.36.100&#xA;    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-04-24T18:21:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      encoder         : Lavc58.67.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 3000000/0/0 buffer size: 6000000 vbv_delay: N/A&#xA;frame=53849 fps=999 q=-1.0 Lsize=  496489kB time=00:35:53.92 bitrate=1888.3kbits/s speed=39.9x&#xA;video:496266kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.044919%&#xA;[libx264 @ 0000024ec2de0f80] frame I:1077  Avg QP:20.39  size: 38800&#xA;[libx264 @ 0000024ec2de0f80] frame P:52772 Avg QP:23.39  size:  8838&#xA;[libx264 @ 0000024ec2de0f80] mb I  I16..4: 100.0%  0.0%  0.0%&#xA;[libx264 @ 0000024ec2de0f80] mb P  I16..4:  8.4%  0.0%  0.0%  P16..4: 51.8%  0.0%  0.0%  0.0%  0.0%    skip:39.8%&#xA;[libx264 @ 0000024ec2de0f80] coded y,uvDC,uvAC intra: 44.8% 54.5% 18.3% inter: 30.2% 22.0% 2.0%&#xA;[libx264 @ 0000024ec2de0f80] i16 v,h,dc,p: 39% 25% 16% 19%&#xA;[libx264 @ 0000024ec2de0f80] i8c dc,h,v,p: 35% 23% 24% 17%&#xA;[libx264 @ 0000024ec2de0f80] kb/s:1887.41&#xA;ffmpeg version git-2020-01-29-de1b2aa Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.2.1 (GCC) 20200122&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 38.100 / 56. 38.100&#xA;  libavcodec     58. 67.100 / 58. 67.100&#xA;  libavformat    58. 36.100 / 58. 36.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 71.100 /  7. 71.100&#xA;  libswscale      5.  6.100 /  5.  6.100&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : M4V&#xA;    minor_version   : 1&#xA;    compatible_brands: M4V mp42isom&#xA;    creation_time   : 2018-04-24T18:21:09.000000Z&#xA;  Duration: 00:35:54.00, start: 0.000000, bitrate: 1057 kb/s&#xA;    Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 929 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-04-24T18:21:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Video Media Handler&#xA;      encoder         : AVC Coding&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-04-24T18:21:09.000000Z&#xA;      handler_name    : Mainconcept MP4 Sound Media Handler&#xA;Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (aa_start_with_BAGAN.mp4_ultrafast_500.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0000013691fbda00] using SAR=3/4&#xA;[libx264 @ 0000013691fbda00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0000013691fbda00] CRF/CQP is incompatible with 2pass.&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;Conversion failed!`&#xA;

    &#xA;