Recherche avancée

Médias (91)

Autres articles (53)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7261)

  • How to use the hardware acceleration for ffmepg on m1-max ?

    10 février 2023, par ThoughtfulHacking

    Since there aren't m1 builds available from ffmpeg.org, I had to compile my own. Obviously, I'd like to get the best possible performance.

    


      

    • Does ffmpeg use the "Hardware-accelerated H.264" on the m1 max ?
    • 


    • Is there anything I need to do, like compiler flags, to get it ?
    • 


    • Any switch at run time ?
    • 


    • How can I verify that it's being used ?
    • 


    


    To compile ffmpeg, I just did the basics :

    


    ./configure --prefix=/tmp/ff       --enable-gpl --enable-nonfree   --enable-libx264
make
make install


    


    For x264, I just did
./configure —prefix=/tmp/ff
make
make install

    


    to run :

    


    ffmpeg -i random.wmv -c:v libx264 -preset ultrafast  -c:a aac  output-ultra.mp4 


    


    Anything else I should be doing ?

    


  • Splitting audio by vocal / voice

    1er octobre 2020, par ML85

    I am working with audio file using webrtcvad and pydub. The split of any fragment is by silence of the sentence.
Is there any way by which the split can be done at each vocal (after each spoken word) ?
If librosa/ffmpeg/pydub has any feature like this, can split is possible at each vocal ? but after split, I need start and end time of the vocal exactly what that vocal part has positioned in the original file.
One simple solution or way to split by ffmpeg is also defined by :

    


    https://gist.github.com/vadimkantorov/00bf4fbe4323360722e3d2220cc2915e

    


    but this is also splitting by silence, and with each padding number or the frame size, the split is different. I am trying split by vocal.

    


  • include a string variable that contains spaces into the 'subprocess.run()' [duplicate]

    9 juillet 2022, par zayn

    I'm trying to combine a video and it's audio into one file using ffmpeg using subprocess in python and I want to do something like this.

    


    name = 'spider man.mp4'

subprocess.run("ffmpeg -i " + 'temp\\vid.mp4' + " -i "+ 'temp\\aud.mp4' + " -c copy " + path+'\\'+name)



    


    "name" is the name concatenated with the extension of the resulting file but as you see, "name" contains spaces so when I pass it to the subprocess it takes the first word only which is (spider), so he don't find the extension of the resulting file and it give this error

    


    Unable to find a suitable output format for 'C:\Users\Zain\Downloads\spider'
C:\Users\Zain\Downloads\spider: Invalid argument