Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (108)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (12429)

  • lavfi/tonemap_opencl : reuse color matrix calculation from colorspace.c

    22 janvier 2019, par Ruiling Song
    lavfi/tonemap_opencl : reuse color matrix calculation from colorspace.c
    

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] libavfilter/opencl/colorspace_common.cl
    • [DH] libavfilter/vf_tonemap_opencl.c
  • TypeError : 'FFmpegOpusAudio' object is not subscriptable

    12 octobre 2022, par Virat Chauhan

    I am getting this error whenever I try to get the bot to play a song in vc :

    &#xA;

    await ctx.send(&#x27;Now playing &#x27; &#x2B; &#x27;**&#x27; &#x2B; str(queues[ctx.message.guild.id][&#x27;title&#x27;][0]) &#x2B; &#x27;**&#x27;)&#xA;TypeError: &#x27;FFmpegOpusAudio&#x27; object is not subscriptable&#xA;

    &#xA;

    Here is the relevant code :

    &#xA;

      async def playSong(self, ctx, url):&#xA;    queues[ctx.message.guild.id][&#x27;title&#x27;] = []&#xA;    with youtube_dl.YoutubeDL(self.YDL_OPTIONS) as ydl:&#xA;      info = ydl.extract_info(url, download=False)&#xA;      if &#x27;entries&#x27; in info:        # if no url is input&#xA;        url2 = info[&#x27;entries&#x27;][0][&#x27;formats&#x27;][0][&#x27;url&#x27;]&#xA;        queues[ctx.message.guild.id][&#x27;title&#x27;].append(info[&#x27;entries&#x27;][0][&#x27;title&#x27;])&#xA;      elif &#x27;formats&#x27; in info:      # if url is passed&#xA;        url2 = info[&#x27;formats&#x27;][0][&#x27;url&#x27;]&#xA;        queues[ctx.message.guild.id][&#x27;title&#x27;].append(info[&#x27;title&#x27;])&#xA;      #print(queues[ctx.message.guild.id][&#x27;title&#x27;][0])&#xA;      stream = await discord.FFmpegOpusAudio.from_probe(url2, **self.FFMPEG_OPTIONS)&#xA;    return stream&#xA;  &#xA;  @commands.command(name=&#x27;play&#x27;, help="Plays any song", aliases=[&#x27;p&#x27;])&#xA;  async def play(self, ctx, *, url):&#xA;    vc = ctx.guild.voice_client&#xA;    if not vc.is_playing():&#xA;      guild = ctx.message.guild&#xA;      &#xA;      queues[guild.id] = {}&#xA;      stream = await self.playSong(ctx, url)&#xA;      queues[guild.id] = stream&#xA;      vc.play(stream, after=lambda e: self.queueCheck(guild.id, vc))&#xA;      await ctx.send(&#x27;Now playing &#x27; &#x2B; &#x27;**&#x27; &#x2B; str(queues[ctx.message.guild.id][&#x27;title&#x27;][0]) &#x2B; &#x27;**&#x27;)&#xA;

    &#xA;

    I am aware that this can be solved with having two dictionaries but I wish to contain all data inside a single structure.

    &#xA;

  • lavu/opencl : replace va_ext.h with standard name

    23 novembre 2018, par Ruiling Song
    lavu/opencl : replace va_ext.h with standard name
    

    Khronos OpenCL header (https://github.com/KhronosGroup/OpenCL-Headers)
    uses cl_va_api_media_sharing_intel.h. And Intel's official OpenCL driver
    for Intel GPU (https://github.com/intel/compute-runtime) was compiled
    against Khronos OpenCL header. So it's better to align with Khronos.

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] configure
    • [DH] libavutil/hwcontext_opencl.c