
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (103)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (10243)
-
ffmpeg cut first 5 seconds
25 mai 2015, par requiem31I am having trouble removing the first 5 seconds of a .mp4 video. Here is what I have so far :
subprocess.call("ffmpeg -ss 00:00:00 -t 00:00:05 -i /home/requiem/Desktop/t1.mp4 -vcodec copy -acodec copy /home/requiem/Desktop/t2.mp4", shell=True)
The issue is that it just takes the first 5 second and saves it, but I want the first 5 seconds removed and the rest saved. How would I do that, or can I find the duration of the video so I can set -ss 00:00:05 and -t DURATION
-
"FFmpeg was not found, spotdl can't continue" even though its installed using sudo apt-get install spotdl + it works if ran from terminal
23 juin 2022, par dank rainbow@bot.command()
async def getsong(ctx, *, songname):
 "get song in mp3 from song name"
 os.popen(f'spotdl {songname} -f "/home/pi/discordbot/output/{songname}.mp3"')
 await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))



ffmpeg installed with sudo-apt get. works if ran from terminal
how to fix ?


figured it out my self.
working code if it benefits anyone :


@bot.command()
async def getsong(ctx, *, songname):
 "get song in mp3 from song name"
 subprocess.Popen(f'spotdl -o "/home/pi/discordbot/output" --ffmpeg "/usr/bin/ffmpeg" {songname} --path-template "{songname}.mp3"', shell=True)
 await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))



-
sendBook and saveBook should return the filename
26 septembre 2013, par GrandtsendBook and saveBook should return the filename
Rev. 2.13 - 2013-09-26
* Fixed : sendBook and saveBook returned boolean TRUE/FALSE depending on
if the sending was successful. The sanitized/used filename was never
exposed. The methods now return the filename used for sending, or FALSE
if it failed.
* Change : sanitizeFileName is now a public function.