Recherche avancée

Médias (91)

Autres articles (21)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • 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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4821)

  • is it possible to read mp3 id3 tags in php using ffmpeg ? if so then how ? [closed]

    6 mai 2024, par Assassiŋ Shaɖow

    Hi i have a few mp3 files in my server which constantly change and i need the mp3 id3 tags for people to know what song is being played at the moment preferably via php . I am a complete noob at this so any help is helpful.

    


  • is it possible to read mp3 id3 tags in php using ffmpeg ? if so then how ? [on hold]

    3 février 2016, par Assassiŋ Shaɖow

    Hi i have a few mp3 files in my server which constantly change and i need the mp3 id3 tags for people to know what song is being played at the moment preferably via php . I am a complete noob at this so any help is helpful.

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