
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (10710)
-
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.

-
No response from FFMPEG from inside php (works in command line)
28 mai 2020, par Donal.Lynch.MscSo I have this executable working fine in a Windows 10 dev environment :



$cmd = 'C:/ffmpeg/bin/ffmpeg.exe -i video.mp4 -i audio.mp3 -c:v copy -c:a aac output.mp4';
exec($cmd, $output)




However when I move it into the Ubuntu staging environment and change the path to :



/usr/bin/ffmpeg




there is no response from it.
The following works in the ubuntu terminal



ffmpeg -v, ffmpeg -i, php -v, ... 




but there is no response from it from inside php.
Am I missing something here ?



I've also tried adding sudo to the above command which seems to make no difference.
(Yes I know I should be developing in the same environment as the staging/prod servers but it's not an option in this specific case).