
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (83)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (8870)
-
How to make an exact (byte for byte) clone of mkv file using ffmpeg ?
9 juillet 2019, par fat_flying_pigsMy end goal is to swap two audio channels in an mkv file while changing nothing else. Swapping the audio channels in ffmpeg is quite easy and not part of this question. It was my thought process that being able to make a 1:1 copy of the file would be a good first step.
Using a very simple example :
ffmpeg -i sample.mkv -c copy out.mkv
will result in an output file smaller than the original.With a drastically more complicated example, such as :
ffmpeg -i sample.mkv -y -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 -vcodec copy -acodec copy -scodec copy out.mkv
, it seems that :- chapters are missing/dropped
- metadata is missing
- global metadata is added (possibly related to a lack of
-map_metadata
-
fs.readFile is failed to read thumbnail generated file using ffmpeg in nodejs
5 avril 2019, par SchülerI am using ffmpeg to extract the screenshot from the video it is working as expected but that file is unable to read/buffer using fs.read, later I will have to upload the image to the s3 bucket, So who can I make the file readable ?
var thumPath = path.join(global.__base, 'Temp/');
ffmpeg(req.file.path).screenshots({
count: 1,
filename: req.file.filename + 'thumbnail-at-%s-seconds.png',
folder: thumPath,
size: '320x240'
});
fs.readFile(thumPath + req.file.filename + 'thumbnail-at-%s-seconds.png', function(err, thumb) {
console.log(thumb)
//s3 bucket feature will come
}) -
OSError : [Errno 9] Bad file descriptor discord bot
11 août 2020, par user10509686I am working on a discord bot using the discord.py API. I am trying to make the bot join a voice channel and play an mp3 file that is in the same directory. It joins the voice channel but prints the error in the title before playing anything. I was wondering what was causing this error. Relevant code below :


@client.command()
async def playClip(ctx):
 global voice
 channel=ctx.message.author.voice.channel
 voice= get(client.voice_clients, guild=ctx.guild)

 if voice and voice.is_connected():
 await voice.move_to(channel)
 else:
 voice= await channel.connect()

 voice.play(discord.FFmpegPCMAudio("BravoSix.mp3"))
 print("test")
 await voice.disconnect()