
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (101)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (12996)
-
android ffmpeg concatenate multiple m4a files
19 janvier 2017, par margieI 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]
-
discord.py 0pusError:Invalid Argument M1 Pro Macbook
16 juin 2022, par xuo

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



-
discord.errors.ClientException : C :/ffmpeg/bin/ffmpeg was not found
31 octobre 2020, par OutStrikeI'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.