
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (40)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (5660)
-
Play audio files on a channel (Ubuntu Server)
16 octobre 2018, par danielperales555I want to make a "soundboard" on my Discord Bot.
The bot is currently running on Ubuntu Server 18.04 in a VPS Hosting.
I installed ffmpeg via aptitude
apt-get install ffmpeg
, and the respective node modules on my project via npm :npm install ffmpeg-binaries --save
andnpm install node-opus --save
I have this provisional code :
//!play (sound)
if (!args[0]) return message.channel.send('noCorrectSyntax'); //args is provided by module.run
let sound = args[0];
let isReady = true;
if (isReady) {
isReady = false;
let voiceChannel = message.member.voiceChannel;
if (!voiceChannel) return message.channel.send('noChannel');
voiceChannel.join().then(connection =>{
const dispatcher = connection.playFile(`../resources/audios/${sound}.mp3`);
if (!dispatcher) return message.channel.send('notFound');
console.log(`${new Date().toUTCString()} 》Playing ${sound} on ${message.member.voiceChannel.name}`);
dispatcher.on("end", end => {
voiceChannel.leave();
console.log(`${new Date().toUTCString()} 》Finished`);
});
}).catch(err => console.log(err));
isReady = true;
} else {
return message.channel.send('notAvailable');
}When my bot joins the voice room, it leaves instantly without playing the sound.
Am I doing something wrong by installing the ffmpeg codec this way ? Is a problem with the VPS ?
(I tried with a new bot, installing ffmpeg on windows and setting the path and it worked fine)
-
Android and Ffmpeg. Play video (audio and video syncing WITHOUT USING SDL)
21 janvier 2014, par user1885632I have build ffmpeg library and made simple project where I decode video stream and show it on SurfaceView. Now I need to play sound stream of my video file. And the biggest problem for me is synchronization. I saw tutorials but all of them show how to do this using SDL. But for this I need to install SDL, build it (and there are some trouble for me, because of my project structure). So I don't want to use SDL. Are there any ways how to play a videofile with sound synchronously without using SDL ?
-
Problems with point to point streaming using FFmpeg
16 février 2015, par UserOfStackoverflowI want to live stream video from webcam and sound from microphone from one computer to another but there is some problems.
When I use this command line :
ffmpeg.exe -f dshow -rtbufsize 500M -i video="Camera":audio="Microphone" -c:v mpeg4 -c:a mp2 -f mpegts udp://127.0.0.1:1234
FFmpeg console starts filling with yellow color messages and stream becomes unstable : http://s16.postimg.org/qglcgr345/Untitled.png
To solve this problem I have added new parameter to the command line to set the frame rate -r 25 :
ffmpeg.exe -f dshow -rtbufsize 500M -r 25 -i video="Camera":audio="Microphone" -c:v mpeg4 -c:a mp2 -f mpegts udp://127.0.0.1:1234
After I added -r 25 problem with yellow color messages disappears but then appears another problem. When I fresh start FFmpeg with this command line video and sound looks synchronous but after one or two minutes appears 25 seconds lag between video and sound, sound goes behind video. I have tried that with different protocols UDP, TCP, RTP but problems are the same. Please help me !