Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (76)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

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

Sur d’autres sites (12440)

  • Using ffmpeg to cut up video into smaller video with exactly 30 frames

    30 mars 2018, par MonsieurBeilto

    I need to cut a video with >300 frames into ten videos, where the first video comprises the first 30 frames, the second video comprises frames from 31 to 60 and so on.

  • How do i add multiple sound effects (mp3) to a video (mp4) at any given time in the video ? [closed]

    25 octobre 2023, par StudentProgrammer

    I am trying to automate my editing process. I have a video.mp4 with a given length, a folder with different sound-effects.mp3 and a list of timestamps = (t1, t2, t3...). I would like to be able to insert any sound-effect at any given time in the video. Furthermore a sound may last multiple seconds and overlap another sound. I've tried to visualize the concept with images.
enter image description here
enter image description here
Preferably this would be done in Python. However, I would be extremely happy if anyone took their time to help me out using any means of programming required.

    


    I have tried using Moviepy without much success as I am only able to add sound to the start of the video. Perhaps ffmpeg is the way to go.

    


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