Recherche avancée

Médias (0)

Mot : - Tags -/xml-rpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (82)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (12656)

  • FFMPEG Always Show On New Window

    11 avril 2022, par Teguh.Saint

    Yesterday I tried to run an old version of ffmpeg, with new windows. everything works fine, and ffmpeg wants to run in the same command line window. but after i try the new version of ffmpeg, ffmpeg doesn't run in the same window. and that was not long, after appearing he immediately disappeared.
After that I decided to use the old version of ffmpeg, but it had the same effect and the result was the same.
Can anyone here give me a solution ? I only want ffmpeg to run on one command prompt window.

    


    enter image description here

    


  • Matomo’s 2021 Year in Review

    13 décembre 2021, par erin — Community

    2021 has been an exciting year at Matomo !

    We’re grateful for all community members who reported feedback and suggestions, our awesome team of translators for their work, and our Premium features customers and Matomo Cloud hosting customers for their amazing support. 

    We wanted to share some quick highlights to remind you of the exciting things that happened in 2021.

    Matomo continues to develop

    In 2021 we released a number of new features including :

    The new SEO Web Vitals feature helps you track your critical website performance metrics, which are a core element of SEO best practice.

    SEO Web Vitals

    Measure the performance of your ads without giving up privacy.

    This exciting new feature supports privacy and compliance requirements by eliminating the need to put third-party advertising tracking codes on your site. Now marketers can easily import conversion data from Matomo into Google Ads, Microsoft Advertising or Yandex Ads.

    Say goodbye to spammers & bots making your data inaccurate and say hello to reliable data. 

    This powerful plugin provides our self-hosting users various options to prevent spammers and bots from making data inaccurate so you can rely on your data again.

    • In 2021 we moved from Matomo 4.1.0 to Matomo 4.6.0, with our new releases delivering over 600 updates to improve the stability and functionality of the product.

    Some of our team’s favourite updates in 2021 included :

      • Graphs now show a difference for data of “unfinished” and “complete” periods, with unfinished periods now indicated by a dashed line.
      • Improvements to Matomo Tag Manager’s debugger – now you can simply enter the URL in a form and click Debug.
      • Dashboards now show proportional evolution comparison for incomplete periods (rather than absolute values).
       
    • We also rolled out general bug fixes in Matomo Mobile 2.5 for iOS and Android.
    • Continuous improvements to Matomo for WordPress

    In other news

    If you haven’t explored our Marketplace yet, some of our most popular plugins include :

    Matomo Community working together

    MatomoCamp 2021 was a massive success thanks to our passionate community, sponsors and speakers. This virtual event was run by the Matomo Community, for the Matomo Community. 

    MatomoCamp is the first online event developed by and for the Matomo community.

    More people are choosing ethical analytics 

    We surpassed the incredible milestone of 30K active Matomo for WordPress installations.

    How can you get involved in 2022 ?

    Our mission at Matomo is :

    “To create, as a community, the leading open digital analytics platform, that gives every user full control of their data”

    Join our mission by writing about Matomo on your blog, website, Twitter, talk at conferences or let your friends and colleagues know what is Matomo

    Use the Matomo forum if you have any questions or feedback (free support), or purchase a Support Plan to get professional support and guidance.

    To improve Matomo in your language, consider contributing to translations.

    You can also support our efforts by purchasing Premium Features for Matomo or try our Matomo Cloud solution.

    Thank you for being part of our Matomo community, we wish you all the best for 2022 !

  • youtube_dl, ffmpeg, discord.py is not playing songs even w/o streaming

    27 août 2021, par BlueFire02

    I have tried many times to make a basic queue system, I tested the play command to see if it worked back then and it did, unfortunately during this construction I have been having a lot of problems just playing the song. I did try to implement a queueing system but all that comes out is this specific error :

    


    [tls @ 0x7f8244705240] IO Error: -9806 [https @ 0x7f824480b000] Will reconnect at 835584 in 0 second(s), error=Input/output error.


    


    Additional Info : I also installed ffmpeg onto my mac, I only put the 1 file called ffmpeg in my path if that helps but I am pretty sure it has to do something with youtube_dl.

    


    Code : (Make sure to put your guild_id in the guild_id spot, another thing is when you invite the bot make sure in the 2auth section click 'bot' and 'application.commands')

    


    import discord
from discord.ext import commands
import youtube_dl
from discord_slash import cog_ext, SlashContext
from youtube_search import YoutubeSearch
import asyncio
import os


guild_ids = [GUILD ID GOES HERE]
queue = []
global is_playing
is_playing = False
time_video = 0 

class music(commands.Cog):
  def __init__(self, client):
    self.client = client
  
  @cog_ext.cog_slash(name="ping", guild_ids=guild_ids)
  async def ping(self, ctx):
    await ctx.send(content="Pong!")
  
  @cog_ext.cog_slash(name="join", guild_ids=guild_ids)
  async def join(self, ctx):
    if ctx.author.voice is None:
      return await ctx.send ("You are not in a voice channel!")
    voice_channel = ctx.author.voice.channel
    await voice_channel.connect()
    await ctx.guild.change_voice_state(channel=ctx.author.voice.channel, self_mute=True, self_deaf=True)
    await ctx.send("I joined the party :tada:")
  
  @cog_ext.cog_slash(name="disconnect", guild_ids=guild_ids)
  async def disconnect(self, ctx):
    await ctx.voice_client.disconnect()
  
  @cog_ext.cog_slash(name="play", guild_ids=guild_ids)
  async def play(self, ctx, input):
    if 'https://www.youtube.com/watch?' in input or 'https://youtu.be/' in input:
      YTDL_OPTIONS = {'format':"bestaudio"}
      with youtube_dl.YoutubeDL(YTDL_OPTIONS) as ydl:
        info_dict = ydl.extract_info(input, download=False)
        video_title = info_dict.get('title', None)

        results = YoutubeSearch(video_title, max_results=1).to_json()
        print(results)
        url_suffix_int = results.find('url_suffix') + 14


        results2 = "".join(['https://www.youtube.com', str(results[url_suffix_int:-3])])

        title_int = results.find('title') + 9
        title_int2 = results.find('long_desc') - 4
        title_string = str(results[title_int:title_int2])

        thumbnail_int = results.find('thumbnail') + 15
        title_split = results.find('title') - 5
        splitboth = str(results[thumbnail_int:title_split])
        final_result = splitboth.split('", "', 1)[0]

        channel_int = results.find('channel') + 11
        channel_int2 = results.find('duration') - 4
        channel_string = str(results[channel_int:channel_int2])

        duration_int = results.find('duration') + 12
        duration_int2 = results.find('views') - 4
        duration_string = str(results[duration_int:duration_int2])

        views_int = results.find('views') + 9
        views_int2 = results.find('publish_time') - 4
        views_string = str(results[views_int:views_int2])

        embed = discord.Embed(title=title_string, colour=discord.Colour(0x1), url=results2)

        embed.set_thumbnail(url=final_result)
        embed.set_author(name="Added to queue", icon_url=self.client.user.avatar_url)

        embed.add_field(name="Channel", value=channel_string, inline=True)
        embed.add_field(name="Song Duration", value=duration_string, inline=True)
        embed.add_field(name="Views", value=views_string, inline=True)

        await ctx.send(embed=embed)

        queue.append(input)
        await start_queue(self, ctx)

    else:
      results = YoutubeSearch(input, max_results=1).to_json()
      print(results)
      url_suffix_int = results.find('url_suffix') + 14


      results2 = "".join(['https://www.youtube.com', str(results[url_suffix_int:-3])])

      title_int = results.find('title') + 9
      title_int2 = results.find('long_desc') - 4
      title_string = str(results[title_int:title_int2])

      thumbnail_int = results.find('thumbnail') + 15
      title_split = results.find('title') - 5
      splitboth = str(results[thumbnail_int:title_split])
      final_result = splitboth.split('", "', 1)[0]

      channel_int = results.find('channel') + 11
      channel_int2 = results.find('duration') - 4
      channel_string = str(results[channel_int:channel_int2])

      duration_int = results.find('duration') + 12
      duration_int2 = results.find('views') - 4
      duration_string = str(results[duration_int:duration_int2])

      views_int = results.find('views') + 9
      views_int2 = results.find('publish_time') - 4
      views_string = str(results[views_int:views_int2])

      embed = discord.Embed(title=title_string, colour=discord.Colour(0x1), url=results2)

      embed.set_thumbnail(url=final_result)
      embed.set_author(name="Added to queue", icon_url=self.client.user.avatar_url)

      embed.add_field(name="Channel", value=channel_string, inline=True)
      embed.add_field(name="Song Duration", value=duration_string, inline=True)
      embed.add_field(name="Views", value=views_string, inline=True)

      await ctx.send(embed=embed)

      queue.append(results2)
      await start_queue(self, ctx)
    

  @cog_ext.cog_slash(name="pause", guild_ids=guild_ids)
  async def pause(self, ctx):
    ctx.voice_client.pause()
  
  
  @cog_ext.cog_slash(name="resume", guild_ids=guild_ids)
  async def resume(self, ctx):
    ctx.voice_client.resume()

  
def setup(client):
  client.add_cog(music(client))

async def start_queue(self, ctx):
    print(is_playing)
    if len(queue) <= 0:
      await ctx.voice_client.disconnect()
    while(len(queue) > 0):
      if(is_playing == False):
        await start(self, ctx, queue[0])

    

async def start(self, ctx, link_yt):
      global is_playing
      is_playing = True
      FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}
      YTDL_OPTIONS = {'format':"bestaudio"}
      vc = ctx.voice_client
      with youtube_dl.YoutubeDL(YTDL_OPTIONS) as ydl:
        info = ydl.extract_info(link_yt, download=False)
        url2 = info['formats'][0]['url']
        source = await discord.FFmpegOpusAudio.from_probe(url2, **FFMPEG_OPTIONS)
        vc.play(source)
        await asyncio.sleep(info['duration'] + 1)
        print("Done")
        del queue[0]
        is_playing = False


    


    Final Note : I did try to download and play the song but in the end it gave me the following error :

    


    Options reconnect not found.