Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (94)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (10769)

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

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

    &#xA;

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

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

    &#xA;

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

    &#xA;

    Would love some help.

    &#xA;

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