
Recherche avancée
Autres articles (69)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 (...)
Sur d’autres sites (4988)
-
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.


-
why can't I 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.