
Recherche avancée
Autres articles (101)
-
Les sons
15 mai 2013, par -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
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 (...)
Sur d’autres sites (11690)
-
FFMPEG with javaCV can't open stream
29 juin 2015, par rgomesI having a strange behavior when testing to get the video Stream of a Mobotix camera, I’m using javaCV 0.11.
When I set a timeout I can’t open the stream, the stream only open if I don’t set the timeout parameter.I verified this behavior with javaCV 0.11 and Java CV 0.11 in version 0.9 and 0.8 it works with the timeout.
Probably an error of the lib JavaCV or the way I’m using it :P
My question for the ffmpeg experts is the following :
When I’m calling :
avformat_open_input
the function returns -138
I called the function av_strerror fir this error code and the function was returned "Error number -138 occurred".
A description not very useful, can someone tell me what this error means ?
-
ffmpeg lavfi distorted audio
11 mars 2017, par JohnHow to play audio at a normal rate ?
First 2s play fine, then audio becomes distorted, it seems to speed up.
ffmpeg -f image2 -loop 1 -framerate 25 -i example.jpg -lavfi "amovie=sample.aac:loop=0" -f flv rtmp://192.168.99.100:1935/live/mystream2
Repeating audio with loop:0 returns `[flv @ 0000000000708220] Non-monotonous DTS in output stream 0:0 ;
audio : http://cdn.online-convert.com/example-file/audio/example.aac
Thank you.
-
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.