Recherche avancée

Médias (91)

Autres articles (87)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (12734)

  • FFmpeg doesn't play any audio through Discord.py BOT

    12 mai 2019, par Lewis H

    Here is my code for my Discord bot’s play function :

    @bot.command()
    async def play(ctx, url:str = None): # DOESN'T WORK, DOWNLOADS BUT DOESN'T PLAY

           ...

           ytdl_options = {
               'format': 'bestaudio/best',
               'postprocessors': [{
                   'key': 'FFmpegExtractAudio',
                   'preferredcodec': 'mp3',
                   'preferredquality': '192',
               }],
           }
           ytdl = youtube_dl.YoutubeDL(ytdl_options)

           loop = asyncio.get_event_loop()
           data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url))


           if 'entries' in data:
               data = data['entries'][0] # taking top item from a YT playlist

           source = ytdl.prepare_filename(data)

           vc.play(discord.FFmpegPCMAudio(source)) #play audio
           print(vc.is_playing())
           await ctx.send("Now playing: " + data.get('title')) #now playing
           asyncio.sleep(3)
           print(vc.is_playing())

    When I call the function, it runs fine and downloads the video from youtube-dl, then sends the message "Now playing : X", but doesn’t play any audio.

    I added the two print(vc.is_playing()) lines and what is returned in the shell is :

    True
    False

    So clearly it tries to play the song but immediately fails.

    There are no exceptions thrown, so I can’t understand why FFmpeg doesn’t want to play the audio.

  • Play a Video from MemoryStream, Using FFMpeg

    7 juin 2014, par Delphi.Boy

    I’m having a hard time, searching how to play a video file from a TMemoryStream (or a similar buffer in memory) using FFMpeg. I’ve seen many things, including UltraStarDX, expensive FFMpeg components for Delphi and so on.

    One component called FFMpeg Vcl Player claims to play video formats from a memory stream. I downloaded the trial version and I guess it uses CircularBuffer.pas for that matter (maybe).

    Does any one know how to do this ?

    Edit :
    Now the better question is how to play an encrypted video file, using FFMpeg or similar libraries.

  • Using WebHDFS to play video over HTTP

    3 février 2015, par Qin.Yang

    I used ffmpeg + libx264 to convert file format as H264, then uploaded the file to Hadoop. I used WebHDFS to access the file by HTTP, but can not online play. If I download this file over HTTP, it can play by HTML5 video. My English is poor, hope you know what I mean.