
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (38)
-
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. -
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 -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (7532)
-
Is Google Analytics Accurate ? 6 Important Caveats
8 novembre 2022, par Erin -
10 Matomo Features You Possibly Didn’t Know About
28 octobre 2022, par Erin -
NodeJS HLS stall initial m3u8 for playback
7 mars 2016, par shreddishI have a nodejs server running, when user enters the follow address
http://localhost:7070/udp/239.1.1.1:1234/out.m3u8
My server starts an ffmpeg child process that connects to that UDP stream and converts it to HLS segmented files.
In order to give FFMPEG a chance to begin and start creating the first out.m3u8 file I call the FFMPEG process and then immediately set a timeout of about 8 seconds before the server responds to the request for the .m3u8 file.
Eventually the video will start to play but only get through 2-3 .ts files before playback stops and the browser stops requesting additional .ts files.
When it’s stalled, if I hit refresh (since FFMPEG is still running) it doesn’t try to start ffmpeg and delay the response. Instead it just immediately serves up the files being requested and playback works fine.
So I am thinking that clearly something to do with delaying my response for that long is mucking up the playback of the stream. Is there a better way to wait for FFMPEG to start generating the HLS files and respond ?
Here is the part of the server that is delaying the response.
// Check if ffmpeg is running yet, also check to see if user has switched to a different udp address
if (filename == "out.m3u8" && (!ffmpegRunning || udpAddress != runningUDPAddress))
{
runFFMPEG(filename, udpAddress);
setTimeout(function() { streamFile(req, res, uri, filename); return; }, 8000);
}
else
{
streamFile(req, res, uri, filename);
}