
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (11)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (3252)
-
Anomalie #2713 : Gestion des auteurs - Bugs
18 mai 2012, par Julien -ben non ! (re-testé en 19418) En fait, voir capture d’écran : auteur6.png : J’ai une ligne vide initiale : celle-ci ne pose pas de pb en effet. J’ai une autre ligne vide entre rubrique1 et rubrique2 : c’est celle-ci qui pose pb. Elle ajoute un élément vide, 1ere chose, et à l’enregistrement, (...)
-
How can i make ffmpeg pick the right file ?
20 septembre 2019, par A PersonI’ve been trying to make ffmpeg pick up files from a folder and merge them together.
The code i have for merging the audio and video is :
ffmpeg -i video.m2v -i audio.wav -c copy -map 0:0 -map 1:0 %orginal_name%.mxf
This works but i chnage the
%origninal_name
to the name of the video file.Im currently using a watch folder in FFAStrans to pick the video file up and using custom ffmpeg comand to run the command. The problem i’m having is that i have to specify the video and audio file name.
The folder has over 100 video and audio file and they have the same name so if ita s food show it would be
category_name_episode_HighRandomVariable.m2v
for video
category_name_episode_HighRandomVariableDifferentFromVideo.wav
for audio
example of this is
food_johnsCooking_EP1_High745548.m2v
and
food_johnsCooking_EP1_High8547885874.wav
im using regext as well but dont really know how to use in in FFAStrans but the command looks like this.
$regext("%s_original_name%","(.+)_High")
Does anyone know how i can set it up so i can get the correct audio and video file to merge and at the same time make sure all other videos and audio files are done without me having to change the
ffmpeg -i
to the next video and audio name.Any Help or advice is appreciated.
Many thanks in advance.
-
Discord bot returning odd error message and not playing sound
26 février 2020, par Ravenr_I am attempting to create a function of my discord bot that will join your voice channel then play something from youtube as specified in the command
i.e.
$play <youtube link="link"></youtube>
The problem is that my bot joins the voice channel but doesn’t play any sound and outputs an error to the console that I dont know how to fix
My Code :
const ytdl = require("ytdl-core");
module.exports = {
name: 'play',
description: 'initiates music methods of the bot',
execute(msg, args){
var servers = {};
function play(connection, msg){
var server = servers[msg.guild.id];
server.dispatcher = connection.playStream(ytdl(server.queue[0], {filter: "audioonly"}));
server.queue.shift();
server.dispatcher.on("end", function(){
if(server.queue[0]){
play(connection, msg);
}else{
connection.disconnect();
}
});
}
if(!args[1]){
return msg.channel.send("you need to provide a link");
}
if(!msg.member.voiceChannel){
return msg.channel.send("You must be in a voice channel to use this feature");
}
if(!servers[msg.guild.id]) servers[msg.guild.id] = {
queue: []
}
var server = servers[msg.guild.id];
server.queue.push(args[1]);
if(!msg.guild.voiceConnection) msg.member.voiceChannel.join().then(function(connection){
play(connection, msg);
})
}
}The Error :
2020-02-26T16:31:59.458215+00:00 app[worker.1]: (node:4) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received an instance of Object
2020-02-26T16:31:59.458223+00:00 app[worker.1]: at validateString (internal/validators.js:117:11)
2020-02-26T16:31:59.458224+00:00 app[worker.1]: at normalizeSpawnArguments (child_process.js:406:3)
2020-02-26T16:31:59.458224+00:00 app[worker.1]: at Object.spawn (child_process.js:542:16)
2020-02-26T16:31:59.458225+00:00 app[worker.1]: at new FfmpegProcess (/app/node_modules/prism-media/src/transcoders/ffmpeg/FfmpegProcess.js:14:33)
2020-02-26T16:31:59.458225+00:00 app[worker.1]: at FfmpegTranscoder.transcode (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:34:18)
2020-02-26T16:31:59.458226+00:00 app[worker.1]: at MediaTranscoder.transcode (/app/node_modules/prism-media/src/transcoders/MediaTranscoder.js:27:31)
2020-02-26T16:31:59.458226+00:00 app[worker.1]: at Prism.transcode (/app/node_modules/prism-media/src/Prism.js:13:28)
2020-02-26T16:31:59.458227+00:00 app[worker.1]: at AudioPlayer.playUnknownStream (/app/node_modules/discord.js/src/client/voice/player/AudioPlayer.js:97:35)
2020-02-26T16:31:59.458231+00:00 app[worker.1]: at VoiceConnection.playStream (/app/node_modules/discord.js/src/client/voice/VoiceConnection.js:478:24)
2020-02-26T16:31:59.458232+00:00 app[worker.1]: at play (/app/commands/play.js:11:44)for reference these are the links I tested it with 1 & 2
I’m not sure how to make queue[0] a string, which is what I assume the problem is.
I was thinking of using a toString() i.e.
server.queue[0].toString()
but I think that will just return the memory address.If anyone can help me know what the issue is or how to fix it, that would be great.