Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (8687)

  • Uploading & Processing Videos in Rails app on Heroku

    8 octobre 2015, par scientiffic

    In my Rails app, users can upload videos. The videos need to get converted to mp4s to ensure they can play across browsers, and they are hosted on AWS S3.

    If the video conversion (using ffmpeg) happens quickly, the resulting mp4 is rendered directly on the page so the user can immediately view the uploaded video. Sometimes, though the conversion takes long enough that I get Heroku H12 errors (request timeout), which prevents the video preview from appearing.

    Is there a recommended workflow for dealing with processing larger files in a Rails app using Heroku ?

    The option that immediately comes to mind is processing in a background task using something like Sidekiq, but then the user doesn’t receive feedback when the upload is complete.

  • Need help to remove repetitions or duplicated frams in my podcast videos

    19 décembre 2020, par Måns Bredelius

    I record videos in a strange way. When I record my podcast videos I often record in the same conversation twice within the same video.

    


    If you would look at it you would see and hear something like this.

    


    "I open the door I open the door and let him in".

    


    I open the door was recorded twice in this example. Currently, I am manually removing these things myself in DaVinci resolve afterward. But I have heard that FFMPEG and mpdecimate are things that could do some wonders here.

    


    I found a video on youtube and found this code
ffmpeg -i original_file.mp4 -vf mpdecimate -vsync vfr -acodec copy mpdecimated.mp4

    


    but nothing happened. Something did happen, it did do something, but nothing happened to my video.

    


    Would love some help.

    


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