Recherche avancée

Médias (91)

Autres articles (18)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (2994)

  • How to set the length metadata property with fluent-ffmpeg ?

    8 avril 2024, par volume one

    I have transcoded a sample video using fluent-ffpmeg and want to set the length metadata property so that the <video></video> player knows how long the video is going to be.

    &#xA;

    To get the duration of the video I did this :

    &#xA;

    import ffmpeg from &#x27;fluent-ffmpeg&#x27;;&#xA;&#xA;function ffprobePromise() {&#xA;            return new Promise((resolve, reject) => {&#xA;                ffmpeg.ffprobe(&#x27;/path/to/file&#x27;), function (err, metadata) {&#xA;                    FileDuration = metadata.format.duration;&#xA;                    resolve()&#xA;                });&#xA;            })}&#xA;&#xA;  await ffprobePromise();&#xA;&#xA;  ffmpeg(&#x27;path/to/output&#x27;)&#xA;                    .videoCodec(&#x27;libx264&#x27;)&#xA;                    .audioCodec(&#x27;libmp3lame&#x27;)&#xA;                    .duration(FileDuration)   // !! not setting &#x27;length&#x27; metadata property in file&#xA;                    .size(`960x400`)&#xA;                    // Stream output requires manually specifying output formats&#xA;                    .format(&#x27;mp4&#x27;)&#xA;                    .outputOptions([&#x27;-movflags dash&#x27;, `-metadata length=${FileDuration}`]) // also not setting length in metadata&#xA;

    &#xA;

    Here is the sample file that was created : https://devxxx001.s3.amazonaws.com/sample_960x400_47sec.mp4

    &#xA;

    If you download and view the properties of that file, there is no length property in the metadata. Hence when you play the file, the video player is not able to determine the total duration of the video. You'll notice it keeps jumping up as the video plays.

    &#xA;

    The ffmpeg documentation states that you can use ffmpeg -i in.avi -metadata title="my title" out.flv to set the title for example. But how do you do this with fluent-ffmpeg ?

    &#xA;

  • avformat:matroskadec : use a define to mark the EBML length is unknown

    23 février 2019, par Steve Lhomme
    avformat:matroskadec : use a define to mark the EBML length is unknown
    

    Unifying the way the EBML unknown length is signaled, rather than using two
    incompatible values. UINT64_MAX cannot be read as a valid EBML length with the
    current code.

    Co-authored-by : Steve Lhomme <robux4@ycbcr.xyz>
    Co-authored-by : Dale Curtis <dalecurtis@chromium.org>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/matroskadec.c
  • audio dynamic range compression in php

    28 mai 2020, par monu214

    Is this possible to dynamic audio range compression in PHP. There is a lot of confusion between compression of audio, what I mean of audio compression here is described in this article.

    &#xA;&#xA;

    Some posts I saw here about the audio compression which only converts the audio format from wav to mp3 or other formats using FFmpeg, but what I want here is to change some audio settings like threshold, compression ratio, attack time, release time which is basic settings that can be used in audio compression.

    &#xA;&#xA;

    Is there any way I can do this in server-side using PHP ?

    &#xA;