Advanced search

Medias (91)

Other articles (41)

  • Pas question de marché, de cloud etc...

    10 April 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • HTML5 audio and video support

    13 April 2011, by

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

  • Support audio et vidéo HTML5

    10 April 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

On other websites (6492)

  • libfdk-aacdec: Bump the max number of channels to 8

    14 August 2015, by Martin Storsjö
    libfdk-aacdec: Bump the max number of channels to 8
    

    In the latest version of fdk-aac, the decoder can output up to 8
    channels; take this into account when preallocating buffers that
    need to fit the output from any packet.

    CC: libav-stable@libav.org
    Signed-off-by: Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/libfdk-aacdec.c
  • How to set the length metadata property with fluent-ffmpeg?

    8 April 2024, by 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;

  • How to create a m3u8 Byte-Range playlist without creating a new file

    20 March 2019, by 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?