
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (74)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (5227)
-
Problem settingup a play command for my discord bot (music) ['Error : FFmpeg/avconv not found !']
28 août 2023, par TitanFrexIm new to programing a discord bot, im more to the web developing enviroment, im trying to create by myself a play command song (only with one link) to try if the first join is working and actually play the song.


(Discord.js v14)


Unfortunately i was having a problem with FFMPEG.
This my actual module for the play.js command, where all the problem is happening.


const { joinVoiceChannel, createAudioPlayer, createAudioResource } = require('@discordjs/voice');
const ytdl = require('ytdl-core');

module.exports = {
 devOnly: true,
 name: 'play',
 description: 'Start to play a song!',
 // options: Object[],

 /**
 *
 * @param {Client} client
 * @param {Interaction} interaction
 */
 callback: async (client, interaction) => {
 const voiceChannel = interaction.member.voice.channel;

 if (!voiceChannel) {
 return interaction.reply('You must be in a voice channel to use this command.');
 }

 const connection = joinVoiceChannel({
 channelId: voiceChannel.id,
 guildId: interaction.guild.id,
 adapterCreator: interaction.guild.voiceAdapterCreator,
 });

 const stream = ytdl('URL_HERE', { filter: 'audioonly' });
 const resource = createAudioResource(stream);

 const player = createAudioPlayer();
 connection.subscribe(player);
 player.play(resource);

 interaction.reply({
 content: `Playing Song`,
 // ephemeral: true,
 });
 }
}



The first error i was receving was 'Error : FFmpeg/avconv not found !', i tried to install it with some guides online. after couple of tries i get it right and the command 'ffmpeg -version' returns.


After that i tought it was workikng, but when i started my project, i receved the same error,. I tried to look up for a solution and i tried to get the process.env.PATH to see but i dont understand if its right or not.


After i removed the console.log(process.env.PATH), i get no errors in the terminal, but it will stil not play the song.


-
ios play HLS - only lowest bitrate available
15 janvier 2016, par user2928842i’m trying to play HLS streamed by IIS in different bitrates on ipad (ios 6), encoded with ffmpeg.
i can see that only the lowest bitrate (600k) is being played by the native player : to play it i’m just opening the main index file (.m3u8) on Safari.is there a way to get some logs from the player to understand why this happens ?
tried with the Safari Developer tools but didn’t get to much info from itthanks
-
how to play multiple videos at the same time using ffplay ?
13 juillet 2016, par Jong Hyeok ParkI install the ffmpeg source file and I can play one video file using ffplay.
However, I have to play multiple video files at the same time, using ffplay ?
How can I do ?++ what is the method of rewind/fast-forward in ffplay using command line option.
(I can’t find that contents in DOC file.)++ If I can play the multiple video files, I make a script file for play multiple video files automatically.