
Recherche avancée
Autres articles (22)
-
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 (...) -
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5224)
-
FFmpeg send multiple inputs through a stream
18 janvier 2023, par Stiven DipletI have the following code that passes data to the ffmpeg process through a thread.


public void VideoToImages3()
{
 var inputFile = @"C:\testvideo.avi";
 var outputFile = @"C:\outputFile.mp4";

 var process = new Process
 {
 StartInfo = new ProcessStartInfo
 {
 RedirectStandardInput = true,
 UseShellExecute = false,
 CreateNoWindow = true,
 Arguments = $"-y -i - {outputFile}",
 FileName = _ffmpeg
 },
 EnableRaisingEvents = true
 };

 process.Start();

 //Write input data to input stream
 var inputTask = Task.Run(() =>
 {
 using (var input = new FileStream(inputFile, FileMode.Open))
 {
 input.CopyTo(process.StandardInput.BaseStream);
 }
 });

 Task.WaitAll(inputTask);

 process.WaitForExit();
}



In this case, I only upload 1 file through the stream (-i -). What if I need to stream multiple input files (-i - -i -). For example, when adding an Audio File to a Video File ?


"ffmpeg -y -i {audioFilePath} -i {videoFilePath} {outputFilePath}"



How to transfer files via StandardInput if 2 input arguments are specified ???


I can't find a solution


-
How disable keyinput for ffplay/ffmpeg ? [on hold]
21 juillet 2018, par Los Pollos HermanosCode for open & play custom video (.mp4) file in new window without form border with audio using ffplay.exe
ffplay = new Process();
ffplay.StartInfo.FileName = @"ffmpeg\bin\ffplay.exe";
ffplay.StartInfo.EnvironmentVariables.Add("SDL_AUDIODRIVER", "directsound");
ffplay.StartInfo.Arguments = "-noborder -autoexit -i movie.mp4";
ffplay.StartInfo.CreateNoWindow = true;
ffplay.StartInfo.RedirectStandardOutput = true;
ffplay.StartInfo.UseShellExecute = false;
ffplay.EnableRaisingEvents = true;
ffplay.Start();This code works ok, but I need disable or intercept any keycontrol of video player, it needs for implementing player into my form. I did not find anything about this on ffplay documentation.
Here is documentation for using ffplay : While playing/keycontrol
-
How to make WMV streamable ?
19 janvier 2013, par forthrinHow can I make WMV stream from a HTML page on a remote server into Internet Explorer ? (Without using HTML 5 video or Flash)
I use the following FFMPEG :
ffmpeg -i video.mp4 -b 2000k -vcodec wmv2 -acodec wmav2 video.wmv
And the following HTML :
Yet the video player insists on loading the whole video before it starts to play it. How do I make it start playing when it's buffered enough ?
Update : The important parameter seems to be the
classid
value :Please post a comment if you know about other ways to make the streaming work than including the quirky
classid
value.