
Recherche avancée
Autres articles (102)
-
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 (...) -
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 (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (14197)
-
seekFunction in avio_alloc_context
3 février 2018, par Javier RamírezI am trying to make my video file restart from the beginning. The data of my file, are being obtained from a stream, through an istream object.
This is my seekFunction :
int64_t seekFunction(void *opaque,int64_t offset,int whence){
istream *me = reinterpret_cast (opaque);
if(key == 'R')me->seekg(0);
return me->tellg();
}But it does not work. In fact, I do not know how to use this function, and there is very little information. How should this function be used, so that my video restarts ?
If only I use
av_seek_frame(pFormatCtx,0,0,AVSEEK_FLAG_ANY);
avcodec_flush_buffers(pFormatCtx);in my terminal it indicates :
[avi @ 0x1963e80] Seek failed.
What should I do to restart my video that I opened from a stream ?
-
How to retrieve FFMPEG (called from OpenCV) Python decoding error
15 décembre 2020, par user9784065While trying to read a video stream form an IP camera using :



stream = cv2.VideoCapture(src)
(grabbed, frame) = stream.read()




The
grabbed
returns True while sometimes the frames are corrupted (probably due to high CPU load). An internal Opencv error like the following is showing on the terminal :


[h264 @ 0x25e99400] error while decoding MB 87 29, bytestream -5




Is there a way to catch this error ? Please note that I tried the obvious
try:except
withcv2.error
etc. In such case of corrupted frame it would be preferable to restart the connection to the camera.

-
FFMPEG split video is not working properly
12 juillet 2018, par user6250770I am trying to split video then into frames. I am passing starting time and ending time dynamically.
for ex :
ffmpeg -i /Users/mypc/Documents/Avatar/input.mp4 -ss 00:00:39.799 -t 00:00:42.039 /Users/mypc/Downloads/testing/output.mp4
It should cut the video from 39th second to 42 second. Approximately 3 seconds. But, it’s splitting more than 3 seconds. I am stuck why it’s behaving like that.
Am i missing something in my command or anything ?
Please suggest
Screen shot of my terminal attached :