
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (44)
-
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 -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (6081)
-
C# Process StandardInput and StandardOutput with FFmpeg freezes
5 juin 2018, par cmxlI’m trying to pipe some stream to ffmpeg and capture it’s output so that I can pass on another stream in my code.
Here is a code example, that just stops the process from continuing after I write to itsStandardInput.BaseStream
.internal class Program
{
private static void Main(string[] args)
{
var inputFile = @"C:\Temp\test.mp4";
var outputFile = @"C:\Temp\test.mp3";
var process = new Process
{
StartInfo = new ProcessStartInfo
{
RedirectStandardInput = true,
RedirectStandardOutput = true,
RedirectStandardError = true,
UseShellExecute = false,
CreateNoWindow = true,
Arguments = "-i - -f mp3 -",
FileName = "ffmpeg.exe"
},
EnableRaisingEvents = true
};
process.ErrorDataReceived += (sender, eventArgs) => Console.WriteLine(eventArgs.Data);
process.Start();
process.BeginErrorReadLine();
using (var input = new FileStream(inputFile, FileMode.Open))
using (var output = new FileStream(outputFile, FileMode.Create))
{
input.CopyTo(process.StandardInput.BaseStream);
process.StandardOutput.BaseStream.CopyTo(output);
}
process.WaitForExit();
Console.WriteLine("done");
Console.ReadLine();
}
}This example is pretty much the same as in the answer in this question : https://stackoverflow.com/a/8999542/2277280
What am I doing wrong ?
Why does the process not continue ?
Is it ffmpeg specific ? -
Pipe ffmpeg process with node js
20 juin 2022, par MaxWhen I make request to route, spawn process and pipe it directly to response, it works perfectly fine and creates livestream. However, it takes some time to start process and buffer some data to start playing video.


app.get("/stream", async (req, res) => {
 const url = "rtsp://213.3.38.11/axis-media/media.amp";

 const cmd = [
 "-re",
 "-loglevel",
 "debug",
 "-reorder_queue_size",
 "5",
 "-rtsp_transport",
 "tcp",
 "-i",
 `${url}`,
 "-c:v",
 "copy",
 "-c:a",
 "aac",
 "-f",
 "mp4",
 "-movflags",
 "+frag_keyframe+empty_moov+default_base_moof",
 "pipe:1",
 ];

 const child = spawn("ffmpeg", cmd, {
 stdio: ["ignore", "pipe", process.stderr],
 });

 child.stdio[1].pipe(res)l

 res.on("close", () => {
 child.stdio[1].unpipe(res);
 });
});




I would like to create process while starting server so I can pipe it whenever I make request to that route, but when I do so, process is living for a few seconds then stops using cpu. Sometimes it lives, but dies when I make request and try piping it.


-
Catch if the Java process crashed
10 mai 2018, par Victor SheyanovI run java process to convert video using ffmpeg.exe.
Runtime rt = Runtime.getRuntime();
String cmd = FFMPEGFULLPATH + " -y -i " + '"' + mpeg4File + '"' + " -vcodec libx264 -vsync 2 " + '"' + H264file + '"';
Process pr = rt.exec(cmd);
ThreadedTranscoderIO errorHandler = new ThreadedTranscoderIO(pr.getErrorStream(), "Error Stream");
errorHandler.start();
ThreadedTranscoderIO inputHandler = new ThreadedTranscoderIO(pr.getInputStream(), "Output Stream");
inputHandler.start();
try {
pr.waitFor();
} catch (InterruptedException e) {
LiveApplication.logger.info("Some shit happens during convertation 2 ");
throw new IOException("UseTranscoderBlocking - Run_FFMPEG - process interrupted " + e);
}But when the process started, sometimes especially with big files, but not always i get this windows message :
This happens only on Windows server 2008 and didn’t happened on Windows 7.
I have 2 questions :
- Why this process fails ?
- Can I catch this fail in Java, close
this window and continue thread execution (maybe I’ll restart this
proccess).