
Recherche avancée
Autres articles (94)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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" (...)
Sur d’autres sites (12306)
-
merge two videos android
4 juillet 2016, par LukasI’m new to android, but not new to developing for mobile.
My goal is to record two videos, and the mix it into one video using audio from both tracks. E.g two recorded videos are both 10 seconds. I want to take the first 5 seconds from the first video, and the last 5 seconds from the second video, combine them together with combined audio from both videos, and have it in an mp4 file.
On iOS there is an AVFoundation framework, which lets you combine multiple videos and audio into one video file (h.264 codec in mp4 container). I want to achieve similar results on android, but fail miserably at finding frameworks or 3rd party libs for doing that. If anyone could help me by showing some links or any directions where to look for information it would be really helpful. Thanks in advance !
-
Node.JS Live Streaming Audio with FFMPEG
20 avril 2021, par nicnacnicI'm trying to create an Express server to live stream audio captured from another application (Discord in this case). I'm able to get a server up and running, but there are a couple issues that need to be solved. Here's my server code so far.


const app = express();
app.get("/", function(req, res) {
 res.sendFile(__dirname + "/index.html");
});
app.get("/audio", function(req, res) {
 const stream = ffmpeg(audio).inputOptions(["-f", "s16le", "-ar", "48k", "-ac", "2"]).format('wav');
 res.writeHead(200, { "Content-Type": "audio/wav" });
 stream.pipe(res);
});
app.listen(8080)



- 

- Silent sections of audio need to be added. When there's no activity on the input, there's no data written to the
audio
variable. This causes weird behavior, for example I can speak and the audio comes through a second later. Then, if I wait 10 seconds then speak again, the audio comes through 4-5 seconds later. I believe this is a problem with the way I'm using ffmpeg to transcode, but I have no idea how to fix it. - Refreshing the client crashes the program. Every time I refresh the client I get an ffmpeg error.
Error: Output stream closed
. This error doesn't happen if I close it, only on reload. - The audio is not synced between clients. Every time I open a new connection, the audio starts playing from the beginning instead of being synced with each other and playing the audio live.








This is how it's supposed to work : it captures audio from my app in PCM, converts the audio to WAV with ffmpeg, and then streams the audio live to the clients. The audio needs to be synced with all the clients as best as possible to reduce delay. And I'm using fluent-ffmpeg instead of just regular ffmpeg for the transcoding.
Thanks !


- Silent sections of audio need to be added. When there's no activity on the input, there's no data written to the
-
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. -