
Recherche avancée
Autres articles (66)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4077)
-
postproc : fix unaligned access
18 juin 2015, par Andreas Cadhalpunpostproc : fix unaligned access
QP_store is only 8-bit-aligned, so accessing it as uint32_t causes
SIGBUS crashes on sparc.
The AV_RN32/AV_WN32 macros only do unaligned access in the
HAVE_FAST_UNALIGNED case.Reviewed-by : Michael Niedermayer <michaelni@gmx.at>
Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> -
Protect files from direct access by url on iis server and MVC APP with identity
19 octobre 2022, par Ahmed Ramadani have MVC app with identity authentication
this site business is playing video which edited by ffmpeg .


<video class="video-js vjs-default-skin" width="640" height="360" controls="controls">
 <source src="video\index.m3u8" type="application/x-mpegURL">
</source></video>



i want to prevent direct access from browser to this link , unless user has session
https://localhost/vide/index.m3u8


i tired this code for config file



 <authorization>
 <deny users="?"></deny>
 </authorization>
 



but i still be able to access the file and not able to aceess folder


ex :-


https://localhost/video/index.m3u8 



accessible


https://localhost/video



Not accessible !


i tried this link , but still not get it
how to deny user to access sub folders and file ?


-
why can't access rtsp camera in python ?
6 septembre 2024, par Come OhI'm trying to access an RTSP camera in Python and get frame information from it.


One of the camera options is RTSP authentication, and when I include it, VLC asks for login information. ('[rtsp @ ] method DESCRIBE failed : 401 Unauthorized')


If I turn it off, I can access it regardless of ID or PW, but if I turn it on, I can't access it from Python.


I verified that it works by putting the same RTSP address, ID, and PW in VLC, and it doesn't contain any symbols like '@' which is a common problem.


I used several libraries, including Opencv, ffmpeg, and others, and got the same
'[rtsp @ ] method DESCRIBE failed : 401 Unauthorized' and only this error appears


What could be the cause,,, please help...


import cv2

url = "rtsp://username:password@camera_ip:554/stream_path"

cap = cv2.VideoCapture(url)

if not cap.isOpened():
 print("Failed to open RTSP stream.")
 exit()

while True:
 ret, frame = cap.read()
 if not ret:
 print("Failed to read frame.")
 break
 cv2.imshow('RTSP Stream', frame)
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

cap.release()
cv2.destroyAllWindows()



I tried running the above code and debugging it using the ffmpeg library.