
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (20)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)
Sur d’autres sites (4640)
-
Checking if IP Camera is connected or not with cv2 faster ?
15 novembre 2022, par Barış AktaşI have code that works on 2 IP Cameras but before running my main algorithm I would like to check if my IP Cameras are connected or not. I wrote this code and i have used it before with 2 USB cameras now i am having a problem with IP Cameras.


import cv2 

def check_connnections():
 #Check cam1
 cam1_ok = False 
 cam1 = cv2.VideoCapture('rtsp://admin:Tom12345.@192.168.0.33:554/onvif1') 
 if cam1.isOpened():
 cam1_ok = True

 #Check cam2
 cam2_ok = False
 cam2 = cv2.VideoCapture('rtsp://admin:Tom12345.@192.168.0.33:554/onvif1') 
 if cam2.isOpened():
 cam2_ok = True

 print(f'Cam1 Connection Status: {cam1_ok}')
 print(f'Cam2 Connection Status: {cam2_ok}')


check_connnections()



Now if i plug the cameras i get :

Cam1 Connection Status: True
,Cam2 Connection Status: True
and when i unplug the cameras i expectCam1 Connection Status: False
,Cam2 Connection Status: False
but it takes 3 minutes forcv2.VideoCapture()
function to finish and returnFalse
if the IP cameras are not connected while it runs instantly for USB cameras. Is there a faster way to check this ?

I tried same thing with USB Cameras, i also tried
try:... except:pass
but i couldn't find i way.

-
FFmpeg Error Checking : Broken or missing AVI Index
17 avril 2017, par JakeI have three example videos,
good.avi
,damaged1.avi
, anddamaged2.avi
. The first will play in VLC, but the second two both error with the same "Broken or missing AVI Index" message.I have thousands of these videos which I need to process in MATLAB, so I’m trying to error check using FFmpeg like this :
ffmpeg -v error -i vidname.avi -f null - 2>&1
Now here’s the part I don’t understand :
Ongood.avi
it completes with no output -OK
Ondamaged1.avi
it outputs[mjpeg @ 0x7fc1dd813800] overread 1
-OK
Ondamaged2.avi
it completed with no output as ingood.avi
- ?????Would someone with video codec/FFmpeg experience please help me understand what’s going on here so I can develop a more robust error check ?
-
Revision 3c42657207 : Checking scale factors on access. It is possible to have invalid scale factors
23 août 2013, par Dmitry KovalevChanged Paths :
Modify /vp9/common/vp9_reconinter.c
Modify /vp9/common/vp9_scale.c
Modify /vp9/common/vp9_scale.h
Modify /vp9/decoder/vp9_decodframe.c
Modify /vp9/encoder/vp9_temporal_filter.c
Checking scale factors on access.It is possible to have invalid scale factors and not access them
during decoding. Error is reported if we really try to use invalid scale
factors.Change-Id : Ie532d3ea7325ee0c7a6ada08269f804350c80fdf