
Recherche avancée
Autres articles (61)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (7378)
-
How do I playback .m4s files. And turn them into a binary stream for a Discord Bot
30 octobre 2020, par HarveyI want to download the BBC radio 2 and stream it to a discord server. Each request is https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-250636302.m4s However the Time stamp will change and they regularly delete content. I found a .dash file as well https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000.dash which is seems to request. However I can't find how to send it through a discord bot to a discord server. My code is


const axios = require('axios')


module.exports = {
 play: async function (guild,message) {
 const serverQueue = {};
 const voiceChannel = message.member.voice.channel
 serverQueue.connection = await voiceChannel.join();
 plays(guild)
 
 async function plays(guild) {
 let data1 = new Date(1353439725);
 let data2 = new Date(Date.now()/1000);
 console.log(`https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-${Math.floor((data2 - data1))-4000}.m4s`)
 const dispatcher = serverQueue.connection.play((await axios.get(`https://as-dash-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_two/bbc_radio_two.isml/dash/bbc_radio_two-audio=320000-${Math.floor((data2 - data1))-4000}.m4s`)).data)
 .on('finish', () => {
 console.log('Music ended!');
 plays(guild);
 return
 })
 .on('error', error => {
 console.error(error);
 plays(guild);
 return
 });
 dispatcher.setVolumeLogarithmic(serverQueue.volume / 5);
 }
 }
}



However no audio plays and the audio end event is always being called. Am I being really stupid or is there a way to do this.


-
ffmpeg not finding system/speaker audio device
6 octobre 2022, par user4609276I'm trying to screen record with audio, and the video portion is fine but I can't record audio because ffmpeg can only find my microphone, but not my speaker/system audio.


[AVFoundation indev @ 0x135f046a0] AVFoundation video devices:
[AVFoundation indev @ 0x135f046a0] [0] FaceTime HD Camera
[AVFoundation indev @ 0x135f046a0] [1] Capture screen 0
[AVFoundation indev @ 0x135f046a0] AVFoundation audio devices:
[AVFoundation indev @ 0x135f046a0] [0] MacBook Pro Microphone



Python Code


os.system(f"""ffmpeg -f avfoundation -video_device_index 1 -i "default:none" -t 00:00:05 -y -r 10 recording{x}.mov""")



Is there a reason why it's not picking up the system audio ? I tried looking around and struggling to find an answer.


Thanks in advance


-
How can I use a FFmpeg filter with discord-music-system ? [closed]
29 septembre 2020, par Michał LetkiewiczI created and modified discord-music-system on NPM a bit, and I wanted to use the
apulsator
FFmpeg filter on the output. Is this possible ?