Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (68)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (7440)

  • Pydub dir error . dynamic file path dosent play sound but with specific file path the code works fine

    20 avril 2021, par anshul raj

    hello developers idk whats wrong with this code it works fine when i give exact file path to the music file but if i pass it in dynamic way it doesnt work . actually my code is that user give a music file name it get downloaded then with the meta id it find the file in downloads dir then play it

    


     def songplayer(self,meta):
        def playmmusic(name):
            from pydub.playback import play
            from pydub import AudioSegment
            AudioSegment.converter = "C:\\ffmpeg\\bin\\ffmpeg.exe"
            AudioSegment.ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg.exe"
            AudioSegment.ffprobe = "C:\\ffmpeg\\bin\\ffprobe.exe"
            sound = AudioSegment.from_file(name)
            play(sound)

        print(colored("Currently Playing : " + meta['title'],'yellow'))
        r=meta['id']
        tt='./downloads/'+r
        playmmusic(tt)


    


  • FFMPEG. Concatenate videos with a intro and music

    12 juillet 2019, par Micky

    I’m trying to merge videos with an intro and a background music.

    The intro.flv is a short file with video and audio.
    The other videos are without audio.
    ambientmusic.mp3 is audio to add to subsequent videos.
    A short fade for each file.

    ffmpeg -i intro.flv -i 0.mp4 -i 1.mp4 -i 2.mp4 -i ambientmusic.mp3 -filter_complex "[0] fade = in: 0: 25 [v0]; [1] fade = in: 0:25 [v1]; [2] fade = in: 0: 25 [v2]; [3] fade = in: 0: 25 [v3]; [v0] [v1] [v2] [v3] concat = 4 [v] "-map" [v] "-map a ./output/final.mp4

    Unfortunately the code only loads the first audio. Same result as

    -map 0: a

    If I use this instead it loads ambientmusic.mp3 on the whole video.

    -map 4: a

    But I’d like the audio of the Intro followed by the ambientmusic.mp3

    -map 0: a -map 4: a
  • videos won't load on PC with phpvibe and ffmpeg [on hold]

    29 octobre 2015, par user3137017

    I’m using phpvibe and ffmpeg on linux centos the issue that videos are quickly played on smartphone,smarttv but on PC it’s tike along time to play.

    So im using this command

    {ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 0 -preset ultrafast {output}.mp4