Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (85)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • avfilter/f_loop : add time option, for loop start in seconds

    14 mai 2023, par Paul B Mahol
    avfilter/f_loop : add time option, for loop start in seconds
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/f_loop.c
  • ffmpeg with delayed inputs put an extra audio output at 0 seconds

    19 mars 2023, par Ralph

    Can someone explain why the input files are played 4 times in total, at 0, 1, 2, 3 seconds.

    


      

    1. The ffmpeg processes three input files (mp3).
    2. 


    3. The complex filter delays the inputs by 1, 2, 3 seconds input-wise.
    4. 


    5. amix mixes the delayed outputs together.
    6. 


    7. And finally, a coded transforms it into an output mp3.
    8. 


    


    ffmpeg -i in0.mp3 -i in1.mp3 -i in2.mp3 -filter_complex "[0]adelay=1000[delayed1];[1]adelay=2000[delayed2];[2]adelay=3000[delayed3];[delayed1][delayed2][delayed3]amix=inputs=3:duration=longest" -codec:a libmp3lame -q:a 4 output.mp3


    


    short version : 2 delayed beeps, an finally there come 3 beeps out (@ 0, 1, 2 seconds) :

    


    ffmpeg -i beep.mp3 -filter_complex "[0]adelay=1000[delayed1];[0]adelay=2000[delayed2];[delayed1][delayed2]amix=inputs=2:duration=longest" -codec:a libmp3lame -q:a 4 output.mp3


    


    ffmpeg version N-110011-gf456c192d9-tessus on a Mac M1.

    


    I added also a silent input file from 0 to 1 seconds without any alteration of the outcome.
I added a silent stream as input as well without improvement. E.g. :

    


    ... -filter_complex "aevalsrc=0:d=4[silence];...


    


    Another test with another ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers built with Apple clang version 13.1.6 (clang-1316.0.21.2.5) :
ffmpeg -i beep.mp3 -filter_complex "[0]adelay=1000[delayed1];aevalsrc=0:d=5[silence];[silence][delayed1]amix=inputs=2:duration=longest" -codec:a libmp3lame -q:a 4 output.mp3
There are again 2 beeps, at 0 and 1 second - going mad here !

    


    (concat solves the issue. But I want to have a flexible solution with possibly overlapping audio streams.) Thanks for giving a hint !

    


  • nodejs fluent-ffmpeg split long file into multiple small files based on seconds given

    9 mars 2023, par Mahesh Dama

    I want to split 10 minute audio mp3 file to 10 different 1 minute files using fluent-ffmpeg package in nodejs.
We can do this for ffmpeg package using the following command

    


    ffmpeg -i file.wav -f segment -segment_time 60 -c copy parts/output%09d.wav


    


    But I want the same functionality in fluent-ffmpeg for nodejs. What is the name of the method ?

    


    return ffmpeg(audioFile)
    .toFormat('wav')
    .audioChannels(1)
    .audioFrequency(44100)
    .audioBitrate('128')
    .on('error', (err) => {
        //error
    })
    .on('progress', (progress) => {
        //progress
    })
    .on('end', () => {
      // on complete
    })


    


    I tried looking at documentation for the segment feature for fluent-ffmpeg but couldn't get any solution.