Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

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

Autres articles (48)

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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (5442)

  • discord.errors.ClientException : C :/ffmpeg/bin/ffmpeg was not found

    31 octobre 2020, par OutStrike

    I'm trying to create a music bot for my discord. All I want right now is for my discord bot to play a music clip. I've found no solutions at all.

    


    @commands.command()
async def play(self, ctx, url):
    channel = ctx.author.voice.channel
    channel = await channel.connect()
    guild = ctx.guild
    voice_client: discord.VoiceClient = discord.utils.get(self.bot.voice_clients, guild=guild)
    audio_source = discord.FFmpegPCMAudio(executable="C:/ffmpeg/bin/ffmpeg", source="alex_sus.mp3")
    if not voice_client.is_playing():
        voice_client.play(audio_source, after=None)


    


    This is exactly my code but I get the error :

    


    discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientException: C:/ffmpeg/bin/ffmpeg was not found.


    


    The file is most definitely in the location I specified and I put ffmpeg into my env path. I've followed every instruction when installing ffmpeg, but nothing I do works. I just want to note that ffmpeg is on my C drive, while the code is on my D drive. Idk if this makes a difference or not.

    


  • discord.py 0pusError:Invalid Argument M1 Pro Macbook

    16 juin 2022, par xuo

    Discord music bot not able to be initialized and play music on MacOS. Works fine on other unix-based systems and windows.

    


    Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/Users/xuo/Desktop/coding stuff/musicbot/music.py", line 158, in play
    await self.play_song(ctx, song) #involes player
  File "/Users/xuo/Desktop/coding stuff/musicbot/music.py", line 47, in play_song
    ctx.voice_client.play(discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(url)), after=lambda error: self.bot.loop.create_task(self.check_queue(ctx)))
  File "/opt/homebrew/lib/python3.9/site-packages/discord/voice_client.py", line 564, in play
    self.encoder = opus.Encoder()
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 290, in __init__
    self.set_bitrate(128)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 308, in set_bitrate
    _lib.opus_encoder_ctl(self._state, CTL_SET_BITRATE, kbps * 1024)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/opus.py", line 92, in _err_lt
    raise OpusError(result)
discord.opus.OpusError: invalid argument

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
    await ctx.command.invoke(ctx)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: OpusError: invalid argument


    


  • android ffmpeg concatenate multiple m4a files

    19 janvier 2017, par margie

    I need help in concatenating audio files in android using ffmpeg

    My source of audio files is from recording result (container .m4a, encoder aac).
    When I concat them using ffmpeg, the result file length(duration) is only of the 1st file.

    ie. FileA length = 1:00, FileB length = 0:14. Expected FileResult length = 1:14, but actual result is 1:00).

    I also tried the command I used in desktop ffmpeg and it give the same result.

    This is my command :

    [-i,
    concat:storage/emulated/0/Music/Recordings/REC_20170119_162023.m4a|/storage/emulated/0/Music/Recordings/REC_20170119_162042.m4a,
    -c,
    copy,
    /storage/emulated/0/Music/Recordings/REC_20170119_162047.m4a]

    and the ffmpeg result is :

    D/FFmpeg: onSuccess: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
           built with gcc 4.8 (GCC)
           configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
           libavutil      55. 17.103 / 55. 17.103
           libavcodec     57. 24.102 / 57. 24.102
           libavformat    57. 25.100 / 57. 25.100
           libavdevice    57.  0.101 / 57.  0.101
           libavfilter     6. 31.100 /  6. 31.100
           libswscale      4.  0.100 /  4.  0.100
           libswresample   2.  0.101 /  2.  0.101
           libpostproc    54.  0.100 / 54.  0.100
         [mov,mp4,m4a,3gp,3g2,mj2 @ 0xf58d7000] Found duplicated MOOV Atom. Skipped it
         Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:/storage/emulated/0/Music/Recordings/REC_20170119_162023.m4a|/storage/emulated/0/Music/Recordings/REC_20170119_162042.m4a':
           Metadata:
             com.android.version: 6.0
             major_brand     : mp42
             minor_version   : 0
             creation_time   : 2017-01-19 09:20:30
             compatible_brands: isommp42
           Duration: 00:00:07.18, start: 0.000000, bitrate: 21 kb/s
             Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 10 kb/s (default)
             Metadata:
               creation_time   : 2017-01-19 09:20:30
               handler_name    : SoundHandle
         Output #0, ipod, to '/storage/emulated/0/Music/Recordings/REC_20170119_162047.m4a':
           Metadata:
             com.android.version: 6.0
             major_brand     : mp42
             minor_version   : 0
             compatible_brands: isommp42
             encoder         : Lavf57.25.100
             Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, 10 kb/s (default)
             Metadata:
               creation_time   : 2017-01-19 09:20:30
               handler_name    : SoundHandle
         Stream mapping:
           Stream #0:0 -> #0:0 (copy)
         Press [q] to stop, [?] for help
         size=      11kB time=00:00:07.17 bitrate=  13.1kbits/s speed= 230x    
         video:0kB audio:10kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 20.181986%

    also tried this command, but still give the same result

    [-y, -i, /storage/emulated/0/Music/Recordings/REC_20170119_165440.m4a, -i, /storage/emulated/0/Music/Recordings/REC_20170119_165445.m4a, -acodec, aac, /storage/emulated/0/Music/Recordings/REC_20170119_165448.m4a]