
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (49)
-
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 -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (8536)
-
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 :