
Recherche avancée
Autres articles (47)
-
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 ) (...) -
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
Sur d’autres sites (8205)
-
php and ffmpeg from command line in windows - not working, nothing returns
24 août 2015, par user3725395I’m trying to execute ffmpeg within a website and it never output’s a file, nothing return’s, I have tried it with parameters -version and that works fine.
I can copy and paste the main command into dos and it also works fine.I’m stuck, I have tried many things including shell_exec but to no avail, nothing comes back other than array(0) int(0). help ?
//$cmd = 'C:\ffmpeg.exe ffmpeg -version';
$cmd = "C:\ffmpeg.exe -i C:\1.mp3 -i C:\2.mp3 -filter_complex amerge -c:a libmp3lame -q:a 4 C:\out.mp3";
echo exec($cmd, $o, $v);
var_dump($o);
var_dump($v); -
mergeToFile returns null
4 avril 2020, par Andrew RobertsI am trying to use fluent ffmpeg to merge a bunch of audio files into a single file, yet I keep recieving an error that the output is null/ doesn't exist.
My code :



var ffmpeg = require("fluent-ffmpeg");
 var command = ffmpeg();
 for (var inputPath of filePaths) {
 command.addInput(inputPath);
 console.log("Added path:" + inputPath);
 }
 command
 .on('error', (err) => {
 console.log('An error occurred: ' + err.message);
 })
 .on('end', () => {
 console.log('Merging finished !');
 })
 .mergeToFile(path.join(os.tmpdir(), "result.mp3"), os.tmpdir());




Error code :





Read Error : Error : ENOENT : no such file or directory, open '/tmp/result.mp3'




-
FFmpeg NaCl module avformat_open_input (on rtsp stream) returns -5 : I/O error
8 janvier 2016, par Taimoor AlamI want to create an RTSP player in Chrome PNaCl.
I have successfully built the ffmpeg naclport including the following networking flags in the build.sh file for the ffmpeg NaCl port.
—enable network —enable-protocols —enable-demuxer=rtsp —enable-demux=rtp —enable-demuxer=sdp —enable-decoder=h264
Furthermore, I have successfully coded and the linked the ffmpeg NaCl port in my own PNaCl module. I have included the following network permissions in the manifest.json file :
"permissions": [
{
"socket": [
"tcp-listen:*:*",
"tcp-connect:*:*",
"resolve-host:*:*",
"udp-bind:*:*",
"udp-send-to:*:*"
],
}Now once I run the following code, in PNaCl, the avformat_open_input(...) returns -5 or I/O Error :
AVFormatContext* formatContext = avformat_alloc_context();
av_register_all();
avformat_network_init();
const char * stream_path = "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov";
int result = avformat_open_input(&formatContext, stream_path ,NULL,NULL);
if(result< 0){
PostMessage("input not opened, result: ");
PostMessage(result);
}else{
PostMessage(std::string("input successfully opened"));
}What am I possibly doing wrong, and why can’t the PNaCl module access the RTSP stream ?
PS. This is a similar question, but it gives no definitive answer.