Recherche avancée

Médias (91)

Autres articles (106)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • 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
  • How to create a m3u8 Byte-Range playlist without creating a new file

    20 mars 2019, par Rodrigo Valença

    I’ve found some nice related questions,such as this one How to create byte-range m3u8 playlist for HLS ? but the best answer, that provide us this ffmpeg command ffmpeg -i sample.ts -hls_time 20 -hls_flags single_file out.m3u8 creates a new .ts file to use in the m3u8. In my application we need to create the m3u8 file, but we want it to be faster than the solution provided, it was unworkable for us. I think that the provided solution is a little slow ’cause it has to create a new file, do you guys know a solution that uses a already existing encoded ts file ?

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