
Recherche avancée
Autres articles (62)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
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 (10859)
-
How do I install FFmpeg for my bot to play music ?
28 juin 2023, par Shiqi WangI followed a Youtube Tortual on how to make a music bot, and every piece of code made sense, there is just one problem. I thought I installed FFmpeg which is the thingy which makes the bot play audio I believe, the way I installed it was running the following command : pip install ffmpeg


So I waited it to finish up, and attempted to play music, and here is the error message


Traceback (most recent call last):
 File "C:\Users\Shiqi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\ext\commands\bot.py", line 902, in invoke
 await ctx.command.invoke(ctx)
 File "C:\Users\Shiqi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\ext\commands\core.py", line 864, in invoke
 await injected(*ctx.args, **ctx.kwargs)
 File "C:\Users\Shiqi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\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: DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.



-
Bash : Create copy of music files in different format and folder
13 mai 2021, par Brett SjoholmI'm trying to create a bash scipt to simply automate finding my flac files and creating an alac copy of them in a separate folder. Just so I have my little itunes folder. Want to automate because so many.


So I find my flac folders within my Eminem folder....


:~$ find /mnt/music/Eminem -type d -name *FLAC
 /mnt/music/Eminem/2009 Relapse FLAC
 /mnt/music/Eminem/1996 Infinite FLAC
 /mnt/music/Eminem/1999 The Slim Shady LP FLAC
 /mnt/music/Eminem/2000 Marshall Mathers LP FLAC



Now instead of going into each folder and converting manually using something like


ffmpeg -i track.flac -acodec alac track.m4a...



How do I, within a bash script, take these multiple folders. Create an ALAC copy of the contents in /mnt/music/iTunes using FFMpeg ?


New folder will be...


/mnt/music/iTunes/Eminem/2009 Relapse ALAC/track.m4a



All flac folders have FLAC at the end in the same folder structure.


/mnt/music/Artist/Year Album FLAC



I understand most of the locating, copying, converting, manually terminal command stuff but when it comes to putting it into a bash script. I don't understand how I take the output of each command and use it for another. The list of folder for example. Don't know how to automate doing all the steps for each.


Kind of long winded but any help will be much appreciated. Even some videos you recommend for learning.


-
avformat/pp_bnk : treat music files as stereo
13 novembre 2020, par Zane van Iperenavformat/pp_bnk : treat music files as stereo
These files are technically a series of planar mono tracks.
If the "music" flag is set, merge the packets from the two
mono tracks, essentially replicating :[0:a:0][0:a:1]join=inputs=2:channel_layout=stereo[a]
Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>