Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (77)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8586)

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

    


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

    


    Original HDR video infos :

    


    General
Unique ID                      : 235922119201670445249046242281848857470 (0xB17CF2883DCE2BDE00E192235198637E)
Complete name                  : example.mkv
Format                         : Matroska
Format version                 : Version 4
File size                      : 201 MiB
Duration                       : 20 s 96 ms
Overall bit rate mode          : Variable
Overall bit rate               : 83.8 Mb/s
Frame rate                     : 16 343.153 FPS
Movie name                     : example
Writing application            : Lavf60.16.100
Writing library                : Lavf60.16.100
ErrorDetectionType             : Per level 1

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


    


    After encoding to SDR the infos are :

    


    General
Unique ID                      : 197829821108483109262455008881990159019 (0x94D4A33C264AF154BCA17241DA23CAAB)
Complete name                  : example.mkv
Format                         : Matroska
Format version                 : Version 4
File size                      : 182 MiB
Duration                       : 20 s 62 ms
Overall bit rate mode          : Variable
Overall bit rate               : 76.1 Mb/s
Frame rate                     : 16 370.850 FPS
Movie name                     : example
Writing application            : Lavf60.16.100
Writing library                : Lavf60.16.100
ErrorDetectionType             : Per level 1

Video
ID                             : 1
ID in the original source medi : 4113 (0x1011)
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Format Range@L5@Main
HDR format                     : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, Blu-ray compatible
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 20 s 62 ms
Bit rate                       : 66.3 Mb/s
Width                          : 3 840 pixels
Height                         : 2 160 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 16 370.850 FPS
Original frame rate            : 23.976 (24000/1001) FPS
Color space                    : RGB
Bit depth                      : 10 bits
Bits/(Pixel*Frame)             : 0.000
Stream size                    : 106 GiB
Writing library                : x265 3.5+113-8787af124:[Windows][GCC 13.2.0][64 bit] 10bit
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
Language                       : English
Default                        : No
Forced                         : No
Color range                    : Full
Color primaries                : BT.2020
Transfer characteristics       : PQ
Matrix coefficients            : Identity
Original source medium         : Blu-ray


    


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

    


    Encoding video files i expected more accurate file informations.

    


  • How to get a 7.1 PCMle encode in an MOV container to stay a single track while also rendering as 8 mono tracks in an NLE like an MXF container

    26 février 2024, par varys_da_spidah

    I've been trying to convert Blu-Ray footage to the most efficient, yet least time consuming format for editing footage from them. For a while, I would make an MXF container and encode the h264 to DNxHD and the lossless compressed audio to pcm_s24le. I really liked how convenient it was to have my audio linked to my video, how it could be played as a single track in a media player, but then be inserted into my NLE as 6-8 separate mono tracks.

    


    However, I found the DNxHD encodes to be unnecessary as they took up too much storage space and my NLE could perfectly handle the original h264 files in an MOV or MP4 container. But I noticed that switching from MXF to an MOV container meant that things that were jettisoned from the former were in the latter. Some of this was actually welcome, like the chapter markers, but I noticed that 7.1 audio (but not 5.1 for some reason) would now render in my NLE as a single 7.1 track.

    


    I looked in MediaInfo and think I figured out that the issue is that the MOV container formats the channel layout while the MXF one doesn't. I'll paste the info to show what I mean

    


    MOV FILE

    


    

      

    • ID : 2
    • 


    • Format : PCM
    • 


    • Format settings : Little / Signed
    • 


    • Codec ID : in24
    • 


    • Duration : 1 min 41 s
    • 


    • Bit rate mode : Constant
    • 


    • Bit rate : 9 216 kb/s
    • 


    • Channel(s) : 8 channels
    • 


    • Channel layout : L R C LFE Ls Rs Lb Rb
    • 


    • Sampling rate : 48.0 kHz
    • 


    • Bit depth : 24 bits
    • 


    • Stream size : 111 MiB (34%)
    • 


    • Title : English
    • 


    • Language : English
    • 


    • Default : Yes
    • 


    • Alternate group : 1
    • 


    • Menus : 3
    • 


    


    


    MXF FILE

    


    

      

    • ID : 3
    • 


    • Format : PCM
    • 


    • Format settings : Little
    • 


    • Format settings, wrapping mode : Frame (AES)
    • 


    • Codec ID : 0D01030102060300
    • 


    • Duration : 1 min 13 s
    • 


    • Bit rate mode : Constant
    • 


    • Bit rate : 9 216 kb/s
    • 


    • Channel(s) : 8 channels
    • 


    • Sampling rate : 48.0 kHz
    • 


    • Frame rate : 23.976 FPS (2002 SPF)
    • 


    • Bit depth : 24 bits
    • 


    • Stream size : 81.1 MiB (5%)
    • 


    • Delay_SDTI : 0
    • 


    • Locked : Yes
    • 


    


    


    Any ideas ?

    


    I tried this code :

    


    ffmpeg -i "INPUT.mkv" -c:v copy -r 23.976 -c:a pcm_s24le -filter_complex "[0:a:0]pan=mono|c0=c0[a0]; [0:a:1]pan=mono|c0=c0[a1]; [0:a:2]pan=mono|c0=c0[a2]; [0:a:3]pan=mono|c0=c0[a3]; [0:a:4]pan=mono|c0=c0[a4]; [0:a:5]pan=mono|c0=c0[a5]; [0:a:6]pan=mono|c0=c0[a6]; [0:a:7]pan=mono|c0=c0[a7]; [a0][a1][a2][a3][a4][a5][a6][a7]amerge=inputs=8" "OUTPUT.mov”

    


    And got this error message :

    


    Stream specifier ':a:4' in filtergraph description [0:a:0]pan=mono|c0=c0[a0]; [0:a:1]pan=mono|c0=c0[a1]; [0:a:2]pan=mono|c0=c0[a2]; [0:a:3]pan=mono|c0=c0[a3]; [0:a:4]pan=mono|c0=c0[a4]; [0:a:5]pan=mono|c0=c0[a5]; [0:a:6]pan=mono|c0=c0[a6]; [0:a:7]pan=mono|c0=c0[a7]; [a0][a1][a2][a3][a4][a5][a6][a7]amerge=inputs=8 matches no streams.

    


  • ffmpeg - converting one audio track of a multi-track mp4

    30 décembre 2023, par Shaun.M

    I'm having a few mp4 with two audio tracks,
an english one in aac and a french one in dts.

    


    Now I want to convert only the french dts to eac3 with a single ffmpeg command.

    


    I use

    


    ffmpeg -hide_banner -i input.mp4 ^
             -map_metadata -1 ^
             -map 0:0 -c:v copy ^
             -map 0:1 -c:a copy ^
             -map 0:2 -c:a eac3 -b:a 1536k ^
             -metadata:s:a:0 language=eng ^
             -metadata:s:a:0 title="Stereo" ^
             -metadata:s:a:1 language=fra ^
             -metadata:s:a:1 title="Stereo" ^
output.mp4


    


    This works quite nice, but it converts both audio tracks to eac3, instead of leaving the first one untouched ...
What's wrong in the command ?

    


    (ffmpeg version 2023-12-23-git-f5f414d9c4-full_build-www.gyan.dev under Windows 10)