Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (76)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (12766)

  • machine hangs during ffmpeg command execution [closed]

    15 décembre 2023, par Tejas

    I'm running this ffmpeg command that does multiple trims on input video and concats those trims to generate output.

    


    ffmpeg -i https://d8r14y803bnlk.cloudfront.net/usetldr/2736037/u/796/st/5a919413ff884892bbfffcd0671687a9/p/67c1a16438bf4bb78b785557f4cef7ef/OJx1SIKTNbbGHmQfKT4C_render.mp4 -filter_complex "[0:v:0]trim=start=0.0:end=4.289,setpts=PTS-STARTPTS,format=yuva420p[0v];[0:v:0]trim=start=4.84:end=1034.7,setpts=PTS-STARTPTS,format=yuva420p[1v];[0v][1v]concat=n=2:v=1:a=0" -crf 18 -an -preset ultrafast -y /tmp/8TZeqB3Z6h.mp4


    


    This command works fine on my M1 mac but hangs EC2 instances (c5.4xlarge).

    


    I'm using ffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) on EC2.

    


    Any idea why this could be happening ?

    


  • tools/general_assembly : add newly voted-in extra GA members

    28 novembre 2023, par Anton Khirnov
    tools/general_assembly : add newly voted-in extra GA members
    

    Cf.
    * https://vote.ffmpeg.org/cgi-bin/civs/results.pl?id=E_d0b225b9aa8d45d5
    * http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-November/317496.html
    Message-Id <170115613784.8914.4950266152609138336@lain.khirnov.net>

    • [DH] tools/general_assembly.pl
  • Command raised an exception : NameError : name 'player' is not defined

    20 mars 2023, par baartys

    I finally got myself a hosting for my project, but got into an error and I don't know how to resolve it.&#xA;I ran command !play to start streaming in vc, but I got this error :

    &#xA;

    2023-03-19 18:36:04 INFO     discord.client logging in using static token&#xA;2023-03-19 18:36:04 INFO     discord.gateway Shard ID None has connected to Gateway (Session ID: f983009c9f2881b87ee119278692efc9).&#xA;Eurobeat Radio is running!&#xA;2023-03-19 18:36:10 ERROR    discord.ext.commands.bot Ignoring exception in command play&#xA;Traceback (most recent call last):&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 229, in wrapped&#xA;    ret = await coro(*args, **kwargs)&#xA;  File "/home/container/radio.py", line 44, in play&#xA;    player.play(FFmpegPCMAudio(&#x27;http://stream.eurobeat.xyz&#x27;))&#xA;NameError: name &#x27;player&#x27; is not defined&#xA;The above exception was the direct cause of the following exception:&#xA;Traceback (most recent call last):&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/bot.py", line 1350, in invoke&#xA;    await ctx.command.invoke(ctx)&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 1023, in invoke&#xA;    await injected(*ctx.args, **ctx.kwargs)  # type: ignore&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 238, in wrapped&#xA;    raise CommandInvokeError(exc) from exc&#xA;discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name &#x27;player&#x27; is not defined&#xA;

    &#xA;

    I tried running it on my pc and that was without error, but once it was on the hosting it ran in to the error up the page.

    &#xA;

    Here is the code :

    &#xA;

    import discord&#xA;import urllib.request, json &#xA;from discord import FFmpegPCMAudio&#xA;from discord.ext import commands&#xA;from discord.ext import tasks&#xA;client= commands.Bot(command_prefix="er!", intents=discord.Intents.all(), help_command=None)&#xA;&#xA;@tasks.loop(seconds=10.0)&#xA;async def my_background_task():&#xA;    """Will loop every 60 seconds and change the bots presence"""&#xA;    with urllib.request.urlopen(&#x27;https://api.laut.fm/station/eurobeat/current_song&#x27;) as url:&#xA;        data = json.load(url)&#xA;        global namestatus&#xA;        global artiststatus&#xA;        namestatus = data[&#x27;title&#x27;]&#xA;        artiststatus = data[&#x27;artist&#x27;][&#x27;name&#x27;]&#xA;    await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="Eurobeat FM"))&#xA;    await client.change_presence(activity=discord.Game(name="Para para dancing ~"))&#xA;    await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=f"{namestatus} by {artiststatus}"))&#xA;&#xA;&#xA;@client.event&#xA;async def on_ready():&#xA;    print(&#x27;Eurobeat Radio is running!&#x27;)&#xA;    await client.wait_until_ready()&#xA;    my_background_task.start()&#xA;&#xA;&#xA;@client.event&#xA;async def on_voice_state_update(member, prev, cur):&#xA;    if client.user in prev.channel.members and len([m for m in prev.channel.members if not m.bot]) == 0:&#xA;        channel = discord.utils.get(client.voice_clients, channel=prev.channel)&#xA;        await channel.disconnect()&#xA;&#xA;@client.command(aliases=[&#x27;p&#x27;, &#x27;pla&#x27;, &#x27;join&#x27;, &#x27;j&#x27;])&#xA;async def play(ctx, url: str = &#x27;http://stream.eurobeat.xyz&#x27;): &#xA;    channel = ctx.message.author.voice.channel&#xA;    global player&#xA;    try:&#xA;        player = await channel.connect()&#xA;    except:&#xA;        pass&#xA;    player.play(FFmpegPCMAudio(&#x27;http://stream.eurobeat.xyz&#x27;))&#xA;    embedVar = discord.Embed(title="Started Playing!", color=discord.Color.random())&#xA;    await ctx.send(embed=embedVar)&#xA;

    &#xA;

    Would be very grateful for your help !

    &#xA;