
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (3)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (3063)
-
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.