Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (32)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5974)

  • Error : Unable to extract uploader id - Youtube, Discord.py

    22 juillet 2024, par nikita goncharov

    I have a very powerful bot in discord (discord.py, PYTHON) and it can play music in voice channels. It gets the music from youtube (youtube_dl). It worked perfectly before but now it doesn't want to work with any video.
I tried updating youtube_dl but it still doesn't work
I searched everywhere but I still can't find a answer that might help me.

    


    This is the Error : Error: Unable to extract uploader id

    


    After and before the error log there is no more information.
Can anyone help ?

    


    I will leave some of the code that I use for my bot...
The youtube setup settings :

    


    youtube_dl.utils.bug_reports_message = lambda: ''


ytdl_format_options = {
    'format': 'bestaudio/best',
    'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s',
    'restrictfilenames': True,
    'noplaylist': True,
    'nocheckcertificate': True,
    'ignoreerrors': False,
    'logtostderr': False,
    'quiet': True,
    'no_warnings': True,
    'default_search': 'auto',
    'source_address': '0.0.0.0',  # bind to ipv4 since ipv6 addresses cause issues sometimes
}

ffmpeg_options = {
    'options': '-vn',
}

ytdl = youtube_dl.YoutubeDL(ytdl_format_options)


class YTDLSource(discord.PCMVolumeTransformer):
    def __init__(self, source, *, data, volume=0.5):
        super().__init__(source, volume)

        self.data = data

        self.title = data.get('title')
        self.url = data.get('url')
        self.duration = data.get('duration')
        self.image = data.get("thumbnails")[0]["url"]
    @classmethod
    async def from_url(cls, url, *, loop=None, stream=False):
        loop = loop or asyncio.get_event_loop()
        data = await loop.run_in_executor(None, lambda: ytdl.extract_info(url, download=not stream))
        #print(data)

        if 'entries' in data:
            # take first item from a playlist
            data = data['entries'][0]
        #print(data["thumbnails"][0]["url"])
        #print(data["duration"])
        filename = data['url'] if stream else ytdl.prepare_filename(data)
        return cls(discord.FFmpegPCMAudio(filename, **ffmpeg_options), data=data)



    


    Approximately the command to run the audio (from my bot) :

    


    sessionChanel = message.author.voice.channel
await sessionChannel.connect()
url = matched.group(1)
player = await YTDLSource.from_url(url, loop=client.loop, stream=True)
sessionChannel.guild.voice_client.play(player, after=lambda e: print(
                                       f'Player error: {e}') if e else None)


    


  • Error in the pull function ; keepalive request failed for '...' when opening URL, retrying with new connection

    28 septembre 2021, par Carole

    I'm coding a bot to stream live music for youtube to discord using discord.py and ffmpeg. I used a music cog. However, the bot seems to sometimes have micro lags and even though I want my bot to stay in the voice channel it sometimes leaves. I've hosted my bot on a server but I have regularly this type of error :

    


    [tls @ *hex number* ] Error in the pull function.
[hls @ *hex number* ] keepalive request failed for ' *huge link* ' when opening url, retrying with new connection


    


    I don't understand where those errors come from.

    


  • Merge commit ’ba13606ca6adbc74b4db4a72b0769397d6408791’

    29 mai 2013, par Michael Niedermayer
    Merge commit ’ba13606ca6adbc74b4db4a72b0769397d6408791’
    

    * commit ’ba13606ca6adbc74b4db4a72b0769397d6408791’ :
    fate : Add a —target-samples path parameter

    Conflicts :
    configure
    tests/fate/audio.mak
    tests/fate/cover-art.mak
    tests/fate/demux.mak
    tests/fate/ea.mak
    tests/fate/filter-video.mak
    tests/fate/h264.mak
    tests/fate/image.mak
    tests/fate/lossless-audio.mak
    tests/fate/lossless-video.mak
    tests/fate/microsoft.mak
    tests/fate/pcm.mak
    tests/fate/prores.mak
    tests/fate/qt.mak
    tests/fate/real.mak
    tests/fate/screen.mak
    tests/fate/video.mak
    tests/fate/voice.mak
    tests/fate/vpx.mak
    tests/fate/vqf.mak

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] configure
    • [DH] tests/fate.sh
    • [DH] tests/fate/aac.mak
    • [DH] tests/fate/ac3.mak
    • [DH] tests/fate/adpcm.mak
    • [DH] tests/fate/alac.mak
    • [DH] tests/fate/als.mak
    • [DH] tests/fate/amrnb.mak
    • [DH] tests/fate/amrwb.mak
    • [DH] tests/fate/atrac.mak
    • [DH] tests/fate/audio.mak
    • [DH] tests/fate/bmp.mak
    • [DH] tests/fate/cdxl.mak
    • [DH] tests/fate/cover-art.mak
    • [DH] tests/fate/demux.mak
    • [DH] tests/fate/dfa.mak
    • [DH] tests/fate/dpcm.mak
    • [DH] tests/fate/ea.mak
    • [DH] tests/fate/filter-audio.mak
    • [DH] tests/fate/filter-video.mak
    • [DH] tests/fate/flac.mak
    • [DH] tests/fate/gif.mak
    • [DH] tests/fate/h264.mak
    • [DH] tests/fate/image.mak
    • [DH] tests/fate/indeo.mak
    • [DH] tests/fate/lossless-audio.mak
    • [DH] tests/fate/lossless-video.mak
    • [DH] tests/fate/microsoft.mak
    • [DH] tests/fate/monkeysaudio.mak
    • [DH] tests/fate/mp3.mak
    • [DH] tests/fate/mpc.mak
    • [DH] tests/fate/pcm.mak
    • [DH] tests/fate/probe.mak
    • [DH] tests/fate/prores.mak
    • [DH] tests/fate/qt.mak
    • [DH] tests/fate/qtrle.mak
    • [DH] tests/fate/real.mak
    • [DH] tests/fate/screen.mak
    • [DH] tests/fate/subtitles.mak
    • [DH] tests/fate/utvideo.mak
    • [DH] tests/fate/video.mak
    • [DH] tests/fate/voice.mak
    • [DH] tests/fate/vorbis.mak
    • [DH] tests/fate/vpx.mak
    • [DH] tests/fate/vqf.mak
    • [DH] tests/fate/wavpack.mak
    • [DH] tests/fate/wma.mak