
Recherche avancée
Autres articles (40)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 (4801)
-
When a video file (Mp4) is created in Java, does it automatically put the MOOV atom at the beginning ?
12 juillet 2013, par Samuel RichardsI am currently creating a video streaming servlet, in Java, and I pass the video input stream to the servlet, which automatically creates a file with the corresponding stream. And I've noticed whenever a file is created the MOOV atom is moved to the front automatically, already optimising the file.
The file is created by using a FileOutputStream and the input stream and using IOUtils.copy to copy the data across, I assumed this wouldn't cause the optimisation ?
I have already created an FFMPEG command which does this, but after noticing this, the use of this FFMPEG command is no longer required.
Sam
-
FFMPEG avcodec_find_decoder(2) (CODEC_ID_MPEG2VIDEO) always returns incomplete AVCodec ?
22 octobre 2012, par PasserI got a problem with FFMPEG (avcodec-54.dll)
1) I wrote a .NET wrapper. As far as I can see it works well.
2) I try to decode something... and thats were the problem is :...
FFmpeg.avcodec_register_all();
pAVCodec = FFmpeg.avcodec_find_decoder(CodecID.CODEC_ID_MPEG2VIDEO); //which is in int 2
Console.WriteLine("CodecID " + (*pAVCodec).id);
Console.WriteLine("CodecType " + (*pAVCodec).type);
Console.WriteLine("CodecName " + (*pAVCodec).name);
....
No EXC was thrown and the following output came :
CodecID CODEC_ID_NONE
CodecType 1790854254
CodecName mpeg2video
What confuses me the most is that the name is correct, but the id and type are wrong.
In the previous Version if the DLL everything works fine. This behaviour came up with the new version.
Any guesses or debugging tips ? -
wait for node server to start up in php
22 février 2015, par Ortix92I have a php script which does the following :
- Start peerflix (node server)
- Get PID
- FFProbe* the server (http://127.0.0.1:8888)
All of this is done in PHP but there is a slight issue. It seems that after having received the PID, the server is not fully initialized yet, or so it seems. The problem is that
FFProbe
cannot probe the server. In other words, it’s not accessible at the time of probing.What are some possibilities to probe the server when it is actually initialized ? I don’t want to use the arbitrary
sleep()
method because waiting for 2 seconds on a slow vagrant machine is now the same as waiting for 2 seconds on a blazing vast server.FFProbe throws an exception when it can’t probe the server. Perhaps use a
try-catch
and return back to thetry
if an exception is thrown ? How would I implement that ?*FFProbe is a companion of FFMpeg to get the information of a video file such as duration and codec.