Recherche avancée

Médias (91)

Autres articles (95)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Failed to install ffmpeg. Failed to download resource "x265"

    19 août 2020, par Olha Olha

    I was trying to run "brew install ffmpeg" and two download links failed. So it failed the installation.

    


    Those are the links that aren't working :

    


    ==> Downloading https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.28.0.tar.
==> Downloading https://bitbucket.org/multicoreware/x265/downloads/x265_3.4.tar.gz


    


    I got this errors :

    


    Error: Failed to download resource "git--html"

Download failed: https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.28.0.tar.xz

Error: Failed to download resource "x265"

Download failed: https://bitbucket.org/multicoreware/x265/downloads/x265_3.4.tar.gz


    


  • How to download a part of mp3 from server ?

    20 août 2020, par Sharukh Mohammed

    Use Case

    


    My use case is roughly equal to, adding a 15-second mp3 file to a 1 min video. All transcoding merging part will be done by FFmpeg-android so that's not the concern right now.

    


    The flow is as follows

    


      

    • User can select any 15 seconds (ExoPlayer-streaming) of an mp3 (considering 192Kbps/44.1KHz of 3mins = up to 7MB)
    • 


    • Then download ONLY the 15 second part and add it to the video's audio stream. (using FFmpeg)
    • 


    • Use the obtained output
    • 


    


    Tried solutions

    


      

    • Extracting fragment of audio from a url

      


      RANGE_REQUEST - I have replicated the exact same algorithm/formula in Kotlin using the exact sample file provided. But the output is not accurate (± 1.5 secs * c) where c is proportional to startTime

      


    • 


    • How to crop a mp3 from x to x+n using ffmpeg ?

      


      FFMPEG_SS - This works flawlessly with remote URLs as input, but there are two downsides,

      


        

      1. as startTime increases, the size of downloaded bytes are closer to the actual size of the mp3.
      2. 


      3. ffmpeg-android does not support network requests module (at least the way we complied)
      4. 


      


    • 


    


    So above two solutions have not been fruitful and currently, I am downloading the whole file and trimming it locally, which is definitely a bad UX.
I wonder how Instagram's music addition to story feature works because that's close to what I wanted to implement.

    


  • Unable to download a file using youtube_dl

    22 octobre 2020, par perkymaster

    I am trying to play music from a bot using ffmpeg and youtube_dl by making using of discord.py but it seems that I am unable to download the file

    


    Here is my code :

    


    voice = get(client.voice_clients, guild=ctx.guild)

ydl_opts={
    'format': 'bestaudio/best',
    'noplaylist': 'True',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec':'mp3',
        'preferredquality':'192',
    }],
}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    print("Downloading audio now \n")
    ydl.download([url])

for file in os.listdir("./"):
    if file.endswith(".mp3"):
        name=file
        print(f"Renamed File: {file}\n")
        os.rename(file, "song.mp3")

voice.play(discord.FFmpegPCMAudio('song.mp3'), after=lambda e: print(f"{name} has finished playing"))
voice.is_playing()
voice.source=discord.PCMVolumeTransformer(voice.source)
voice.source.volume= 0.7

nname = name.rsplit("-", 2)
await ctx.send(f"Playing {nname}")
print("Playing \n")


    


    Nothing seems to happen, the bot is not playing any music.

    


    I am new to this, can anyone help ?