
Recherche avancée
Autres articles (89)
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4079)
-
My discord js bot is not saying anything in the voice channel when it joins
24 novembre 2019, par callumdisneyMy discord js bot is not saying anything in the voice channel when it joins. I wanted it to play the test (1).mp3 file. Instead, it just joins and does nothing. If it makes any difference, I’m using repl.it.
Here is the part of the code
if (!message.guild) return;
if (message.content === prefix + 'voice') {
// Only try to join the sender's voice channel if they are in one themselves
if (message.member.voiceChannel) {
const connection = await message.member.voiceChannel.join().then (connection =>{
message.channel.send("Joined!")
connection.playFile('test (1).mp3')
})
} else {
message.reply('You need to join a voice channel first!');
}
}
});and the full file is here.
-
How to change frame rate of live stream using FFmpeg
4 décembre 2012, par chivI have created a streaming application, which takes video data from live source. Is there any transcoding tool which will receive stream from my streaming application and changes frame rate by transcoding the stream and re stream on another location ?
currently I'm Struggling with FFmpeg code to use in Visual Studio 2010. And I wanted to integrate FFmpeg code in my application.
Using FFmpeg.exe I'm able to transcode static files.I wont get any proper example how to transcode/change frame rate of live stream using FFmpeg. I tried,following command to re-stream on another IP.
ffmpeg -re -i "rtp://my_ip:1234" -r 60 -f rtp "trp://my_ip:4321"
-
I use ffmpeg to format videos according to tik-toke standards [closed]
8 mai 2024, par John RedI use ffmpeg to format videos according to tik-toke standards, but I don't know why videos are not cropped and lose quality.


const transcode = async () => {
 const ffmpeg = ffmpegRef.current;
 await ffmpeg.writeFile('input.mp4', await fetchFile(file));
 await ffmpeg.exec([
 '-i', 'input.mp4',
 '-vf', 'scale=1080:1920,crop=ih*(9/16):ih',
 'output.mp4'
 ]);
 const data = await ffmpeg.readFile('output.mp4');
 videoRef.current.src =
 URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4' }));
}



Changed the resolution and cropped it. It didn't help in any way, only lost quality. Not what I wanted at all.