
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
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 -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (12771)
-
Révision 17911 : Comparaion ’ =’ dans le scheduler de taches : cela permet d’ajouter une tache et...
18 mai 2011, par cedric -define(’_DIRECT_CRON_FORCE’,true) ; même si le hit dure moins d’une seconde.
-
Red5 live stream - huge delay on localhost
23 janvier 2013, par user1958067I m running Red5 1.0.0 RC1, with JW Player and ffmpeg on Linux Mint14
There is a huge delay while streaming, even when everythings happening on my
machine/localhost
.I do following steps :
-
FFmpeg :
ffmpeg -i 'http://localhost:port' rtmp://localhost/oflaDemo/live.flv
-
Red5 :
TCPnoDelay
ist set to true. -
JW Player : Bufferlength is set to 0. Also tried 2 and 3.
:
<code class="echappe-js"><script type=&#39;text/javascript&#39;><br />
jwplayer(&#39;mediaspace&#39;).setup({<br />
&#39;flashplayer&#39;: &#39;player.swf&#39;,<br />
&#39;file&#39;: &#39;live&#39;,<br />
&#39;type&#39;: &#39;rtmp&#39;,<br />
&#39;streamer&#39;: &#39;rtmp://localhost/oflaDemo&#39;,<br />
&#39;controlbar&#39;: &#39;none&#39;,<br />
&#39;autostart&#39;: &#39;true&#39;,<br />
&#39;bufferlength&#39;: &#39;3&#39;,<br />
&#39;width&#39;: &#39;640&#39;,<br />
&#39;height&#39;: &#39;380&#39;<br />
});<br />
</script>The delay is something between 7-10 seconds !
This all is happening on and from localhost, so bandwith shouldnt be the issue. -
-
ffmpeg process how to read from pipe to pipe in c#
28 janvier 2024, par gregI need to read audio data from stream 1 to stream 2 passing the data through ffmpeg.
It works great when i input data from file and output to pipe :


Process? CreateStream()
{
 return Process.Start(new ProcessStartInfo
 {
 FileName = @"sources\ffmpeg",
 Arguments = @"-i input.mp3 -f s16le pipe:1",
 UseShellExecute = false,
 RedirectStandardOutput = true
 });
}



Or when i input data from pipe and output to file :


Process? CreateStream()
{
 return Process.Start(new ProcessStartInfo
 {
 FileName = @"sources\ffmpeg",
 Arguments = @"-i pipe: -f s16le output.file",
 UseShellExecute = false,
 RedirectStandardInput = true
 });
}



But if i try to do both :


Process? CreateStream()
{
 return Process.Start(new ProcessStartInfo
 {
 FileName = @"sources\ffmpeg",
 Arguments = @"-i pipe:0 -f s16le pipe:1",
 UseShellExecute = false,
 RedirectStandardInput = true,
 RedirectStandardOutput = true
 });
}



Runtime will hang in place printing :




Input #0, matroska,webm, from 'pipe:0' :
Metadata :
encoder : google/video-file
Duration : 00:04:15.38, start : -0.007000, bitrate : N/A
Stream #0:0(eng) : Audio : opus, 48000 Hz, stereo, fltp (default)
Stream mapping :
Stream #0:0 -> #0:0 (opus (native) -> pcm_s16le (native))


Output #0, s16le, to 'pipe:1' :
Metadata :
encoder : Lavf59.27.100
Stream #0:0(eng) : Audio : pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata :
encoder : Lavc59.37.100 pcm_s16le




main function code (it is the same for all examples) :


async Task Do()
{
 using (var ffmpeg = CreateStream())
 {
 if (ffmpeg == null) return;

 using (var audioStream = GetAudioStream())
 {
 await audioStream.CopyToAsync(ffmpeg.StandardInput.BaseStream);
 ffmpeg.StandardInput.Close();
 }

 //runtime will hang in here

 Console.WriteLine("\n\ndone\n\n"); //this won't be printed

 using (var outputStream = CreatePCMStream())
 {
 try
 {
 await ffmpeg.StandardOutput.BaseStream.CopyToAsync(outputStream);
 }
 finally
 {
 await outputStream.FlushAsync();
 }
 }
 }
}



And the most interesting is if i remove
RedirectStandardOutput = true
string programm will work as expected printing a bunch of raw data to the console.

I'd like to solve this problem without using any intermediate files and so on.