Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (71)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8823)

  • Uploading Reel to Instagram via API error : The video format is not supported

    24 juin 2024, par Ben Fox

    I'm using FFMPeg to create a video with backing audio to upload to Instagram via the Graph API. I've followed the specs here as closely as I can : https://www.facebook.com/business/help/1197310377458196?id=376980407544978 and I've used ffprobe and MediaInfo to try and debug differences between my generated file and the requirements from Meta but every time, I get "Video process failed with error : Unsupported format : The video format is not supported. Please check spec for supported duration format".

    


    I've tried doing binary uploads and supplying a URL via their Resumable Upload protocol with the same result both times.

    


    Media Info Video
Media Info Audio

    


    I've uploaded screenshots from MediaInfo showing the entire breakout of the file and here is the code using the Node package fluent ffmpeg to create it :

    


    await new Promise<void>((resolve, reject) => {&#xA;  ffmpeg()&#xA;    .size(&#x27;1080x1920&#x27;)&#xA;    .aspect(&#x27;9:16&#x27;)&#xA;    .autopad()&#xA;&#xA;    .input(imageFilePath)&#xA;    .videoCodec(&#x27;libx264&#x27;)&#xA;    // .inputFPS(fps)&#xA;&#xA;    .input(audioFilePath)&#xA;&#xA;    .audioCodec(&#x27;aac&#x27;)&#xA;    .audioChannels(2)&#xA;    .audioFrequency(48000)&#xA;    .audioBitrate(&#x27;128k&#x27;)&#xA;&#xA;    .addOption(&#x27;-use_editlist&#x27;, &#x27;0&#x27;)&#xA;    .addOption(&#x27;-movflags&#x27;, &#x27;&#x2B;faststart&#x27;)&#xA;    .addOption(&#x27;-crf&#x27;, &#x27;23&#x27;)&#xA;&#xA;    /* .outputOptions([&#xA;      // YUV color space with 4:2:0 chroma subsampling for maximum compatibility with&#xA;      // video players&#xA;      &#x27;-pix_fmt yuv420p&#x27;,&#xA;    ]) */&#xA;&#xA;    // Set the output duration. It is required because FFmpeg would otherwise&#xA;    // automatically set the duration to the longest input, and the soundtrack might&#xA;    // be longer than the desired video length&#xA;    .duration(duration)&#xA;    // Set output frame rate&#xA;    .fps(fps)&#xA;&#xA;    // Resolve or reject (throw an error) the Promise once FFmpeg completes&#xA;    .toFormat(&#x27;mp4&#x27;)&#xA;    .saveToFile(outputPath)&#xA;    .on(&#x27;end&#x27;, () => resolve())&#xA;    .on(&#x27;error&#x27;, (error) => {&#xA;      console.log(&#x27;[render] :: Error&#x27;, error);&#xA;      reject(new Error(error));&#xA;    });&#xA;});&#xA;</void>

    &#xA;

  • ffmpeg : given a video of any length, create timelapse video of 6-8 seconds long

    14 mai 2018, par CDub

    I have an application which consumes video of any length (could be a few seconds, could be several minutes) and I want to use ffmpeg to return a "timelapse" version of the input video which will always be between 6 and 8 seconds long.

    I’ve been fiddling with the following :

    ffmpeg -y -i in.mp4 -r 10 -vf setpts='0.01*PTS' -an out.mp4

    Which seems to be a good start, but still generates very dynamic results given what in.mp4 is.

    I also don’t fully understand the verbiage in the ffmpeg documentation, so I’m not even sure what arguments to use for setpts, or if setpts is the correct filter I want to use.

  • Is there a way to display video, then an image, then more video using OpenCV ?

    24 septembre 2015, par kdibene1

    I have a bunch of frames (jpg images) and want to stitch some of them together and make a video, then display one image (essentially repeating the same frame for a number of seconds) and then stitch more frames together and continue playing the video. I want it to be continuous with no interruptions, is this possible ? I know about avconv and ffmpeg, but they only stitch together frames and make a video, they do not simply display a frame over and over again like with ImageMagick. Essentially what I want to do is take a bunch of image frames, stitch them together to an arbitrary point, then display an image, then stitch together the remaining frames to a video.

    Can anyone help ?