Recherche avancée

Médias (91)

Autres articles (72)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (6110)

  • swr/swresample : avoid reapplication of firstpts

    15 décembre 2023, par Gyan Doshi
    swr/swresample : avoid reapplication of firstpts
    

    During a resampling operation where

    1) user has specified first_pts
    2) SWR_FLAG_RESAMPLE is not set initially (directly or otherwise)
    3) first_pts has been fulfilled (always using hard compensation)

    then upon first encountering a delay where a soft compensation is
    required, swr_set_compensation will lead to another init of swr which
    will reset outpts to the specified firstpts thus leading to an output
    frame having its pts = firstpts. When the next input frame is received,
    swr will see a large delay and inject silence from firstpts to the
    current frame's pts. This can lead to severe desync and in worst case,
    loss of audio playback.

    Parameter firstpts initialized to AV_NOPTS_VALUE in swr_alloc and then
    checked in swr_init to avoid resetting outpts, thus avoiding reapplication
    of firstpts.

    Fixes #4131.

    • [DH] libswresample/options.c
    • [DH] libswresample/swresample.c
    • [DH] tests/fate/libswresample.mak
    • [DH] tests/ref/fate/swr-async-firstpts
  • Merge Videos using fluent-ffmpeg

    25 octobre 2023, par Andronik Nazaryan

    I'm trying to merge two videos, the following code works perfectly on windows 10, but it gives me an error when trying to run it on linux/ubuntu, same on wsl

    


        async joinVideo(): Promise<boolean> {&#xA;        return new Promise((resolve, reject) => {&#xA;            signale.info(&#x27;Joining video&#x27;)&#xA;            const profile = path.join(__dirname, &#x27;../videos/input/profile.mp4&#x27;)&#xA;            const sb = path.join(__dirname, &#x27;../videos/input/sb.mp4&#x27;)&#xA;&#xA;            const joined = path.join(__dirname, &#x27;../videos/profile-sb.mp4&#x27;)&#xA;            const tempFolder = path.join(__dirname, &#x27;../videos/temp&#x27;)&#xA;&#xA;            ffmpeg({ source: profile })&#xA;                .input(sb)&#xA;                .on(&#x27;end&#x27;, () => {&#xA;                    signale.success(&#x27;Video joined&#x27;)&#xA;                    resolve(true)&#xA;                })&#xA;                .on(&#x27;error&#x27;, err => {&#xA;                    signale.error(err)&#xA;                    reject(false)&#xA;                })&#xA;                .mergeToFile(joined, tempFolder)&#xA;        })&#xA;    }&#xA;</boolean>

    &#xA;

    The error i get

    &#xA;

    Error: ffmpeg exited with code 1: Error reinitializing filters! &#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #1:0&#xA;Conversion failed!&#xA;&#xA;    at ChildProcess.<anonymous> (/mnt/c/Users/Anri/Desktop/lead-gif-generator/node_modules/.pnpm/fluent-ffmpeg@2.1.2/node_modules/fluent-ffmpeg/lib/processor.js:182:22)&#xA;    at ChildProcess.emit (node:events:517:28)&#xA;    at ChildProcess.emit (node:domain:489:12)&#xA;    at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)&#xA;</anonymous>

    &#xA;

    the installation of fluent-ffmpeg should be correct as other operations are working, only mergeToFile function is erroring out

    &#xA;

    also strange thing is that if i put same file in both inputs it works fine, my guess it happens because of differance between videos, but why it works on windows

    &#xA;

  • aarch64 : Manually tweak vertical alignment/indentation in tx_float_neon.S

    17 octobre 2023, par Martin Storsjö
    aarch64 : Manually tweak vertical alignment/indentation in tx_float_neon.S
    

    Favour left aligned columns over right aligned columns.

    In principle either style should be ok, but some of the cases
    easily lead to incorrect indentation in the surrounding code (see
    a couple of cases fixed up in the preceding patch), and show up in
    automatic indentation correction attempts.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavutil/aarch64/tx_float_neon.S