Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (62)

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

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

  • 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

Sur d’autres sites (11871)

  • Invalid data found when processing input when using Streaming Discord Bot (python)

    4 mai 2022, par DimKewl

    After refactoring and working on all possible solutions I could find on google
I always get the following error :

    


    Invalid data found when processing input

    


    My code snippet :

    


     FFMPEG_OPTIONS = {
    "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
    "options": "-vn -sn -dn"
}
@commands.command()
async def radio(self,ctx,url):
    await self.joinLogic(ctx)
    await self.playStreamOpus(ctx,url)

async def joinLogic(self, ctx):
    if ctx.author.voice is None:
        await ctx.send("Please join a voice channel!")
    else:
        voice_channel = ctx.author.voice.channel
        if ctx.voice_client is None:
            await voice_channel.connect()

async def playStreamOpus(self, ctx, url):
    source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
    ctx.voice_client.play(source)


    


    What have I already tried :

    


      

    • Re-install all dependencies on pip.
    • 


    • A variety of streaming links that were working in the past for the same code.
    • 


    • Tried the PCM instead of Opus.
    • 


    • Different streaming URLs.
    • 


    • More options in FFMPEG_Options to explicit that I need only audio.
    • 


    • Made sure that my bot is joined in my channel and can reach other places in my code.
    • 


    


    Streaming (sample) links I tried (worked before) :

    


    


    Full FFmpeg options from Debugger console :
['ffmpeg', '-reconnect', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '5', '-i', 'http://www.e-radio.gr/Radio-Polis-994-Larisa-i54/live', '-map_metadata', '-1', '-f', 'opus', '-c:a', 'libopus', '-ar', '48000', '-ac', '2', '-b:a', 'Nonek', '-loglevel', 'warning', '-vn', 'pipe:1']

    


    Youtube links work just fine in a similar method in the class.

    


    async def playYouTube(self,ctx,url): 
   await self.joinLogic(ctx) 
   YDL_OPTIONS = { "format": "bestaudio" }
   voiceClient = ctx.voice_client 

   with youtube_dl.YoutubeDL(YDL_OPTIONS) as youTube: 
       info = youTube.extract_info(url, download=False) 
       formattedUrl = info['formats'][0]['url'] 
       source = await discord.FFmpegOpusAudio.from_probe(formattedUrl, **self.FFMPEG_OPTIONS)
       voiceClient.play(source) 


    


    So most likely the problem lies with the URLs, which still boggles me cause they were working before ?

    


    Any insights will be highly appreciated !

    


  • Invalid data found when processing input for Streaming Discord Bot

    4 mai 2022, par DimKewl

    I tried a variety of streaming links that were working in the past for the same code.
After refactoring and working on all possible solutions I could find on google
I always get the following error :

    


    Invalid data found when processing input

    


    My code snippet :

    


     FFMPEG_OPTIONS = {
    "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
    "options": "-vn -sn -dn"
}
@commands.command()
async def radio(self,ctx,url):
    await self.joinLogic(ctx)
    await self.playStreamOpus(ctx,url)

async def joinLogic(self, ctx):
    if ctx.author.voice is None:
        await ctx.send("Please join a voice channel!")
    else:
        voice_channel = ctx.author.voice.channel
        if ctx.voice_client is None:
            await voice_channel.connect()

async def playStreamOpus(self, ctx, url):
    source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
    ctx.voice_client.play(source)


    


    What have I already tried :

    


      

    • Re-install all dependencies on pip.
    • 


    • Tried the PCM instead of Opus.
    • 


    • Different streaming URLs.
    • 


    • More options in FFMPEG_Options to explicit that I need only audio.
    • 


    • Made sure that my bot is joined in my channel and can reach other places in my code.
    • 


    


  • decode m3u8 : Invalid data found when processing input

    21 avril 2022, par Castle

    I want to use ffmpeg to decode .M3U8 and merge .ts files. but it doesn't worked !
that's my output on my CMD
and my .key has 44Byte

    


    D:\Code\tsFolder>ffmpeg -protocol_whitelist "file,https,tls,crypto,tcp" -i index.m3u8 -c copy out.ts
    ffmpeg version 2022-04-18-git-d5687236ab-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 11.2.0 (Rev10, Built by MSYS2 project)
      configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
      libavutil      57. 24.101 / 57. 24.101
      libavcodec     59. 26.100 / 59. 26.100
      libavformat    59. 22.100 / 59. 22.100
      libavdevice    59.  6.100 / 59.  6.100
      libavfilter     8. 33.100 /  8. 33.100
      libswscale      6.  6.100 /  6.  6.100
      libswresample   4.  6.100 /  4.  6.100
      libpostproc    56.  5.100 / 56.  5.100
    [hls @ 0000029e1a22c000] Skip ('#EXT-X-VERSION:3')
    [hls @ 0000029e1a22c000] Opening 'https://kvod.cnki.net/vod/17811/ts/d3f9057b25574a7986368332a461acdb/d3f9057b25574a7986368332a461acdb.key' for reading
    [hls @ 0000029e1a22c000] Opening 'crypto:d3f9057b25574a7986368332a461acdb_720P-000000.ts' for reading
    [hls @ 0000029e1a22c000] Error when loading first segment 'd3f9057b25574a7986368332a461acdb_720P-000000.ts'
    index.m3u8: Invalid data found when processing input