Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (69)

  • Les vidéos

    21 avril 2011, par

    Comme 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, par

    Chaque 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, par

    Accé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 Ramadan

    i 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">&#xA;    <source src="video\index.m3u8" type="application/x-mpegURL">&#xA;</source></video>&#xA;

    &#xA;

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

    &#xA;

    i tired this code for config file

    &#xA;

    &#xA;        <authorization>&#xA;            <deny users="?"></deny>&#xA;        </authorization>&#xA;    &#xA;

    &#xA;

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

    &#xA;

    ex :-

    &#xA;

    https://localhost/video/index.m3u8 &#xA;

    &#xA;

    accessible

    &#xA;

        https://localhost/video&#xA;

    &#xA;

    Not accessible !

    &#xA;

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

    &#xA;

  • why can't access rtsp camera in python ?

    6 septembre 2024, par Come Oh

    I'm trying to access an RTSP camera in Python and get frame information from it.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

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

    &#xA;

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

    &#xA;

    import cv2&#xA;&#xA;url = "rtsp://username:password@camera_ip:554/stream_path"&#xA;&#xA;cap = cv2.VideoCapture(url)&#xA;&#xA;if not cap.isOpened():&#xA;    print("Failed to open RTSP stream.")&#xA;    exit()&#xA;&#xA;while True:&#xA;    ret, frame = cap.read()&#xA;    if not ret:&#xA;        print("Failed to read frame.")&#xA;        break&#xA;    cv2.imshow(&#x27;RTSP Stream&#x27;, frame)&#xA;    if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;q&#x27;):&#xA;        break&#xA;&#xA;cap.release()&#xA;cv2.destroyAllWindows()&#xA;

    &#xA;

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

    &#xA;

  • why can't I access rtsp camera in python ?

    6 septembre 2024, par Come Oh

    I'm trying to access an RTSP camera in Python and get frame information from it.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

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

    &#xA;

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

    &#xA;

    import cv2&#xA;&#xA;url = "rtsp://username:password@camera_ip:554/stream_path"&#xA;&#xA;cap = cv2.VideoCapture(url)&#xA;&#xA;if not cap.isOpened():&#xA;    print("Failed to open RTSP stream.")&#xA;    exit()&#xA;&#xA;while True:&#xA;    ret, frame = cap.read()&#xA;    if not ret:&#xA;        print("Failed to read frame.")&#xA;        break&#xA;    cv2.imshow(&#x27;RTSP Stream&#x27;, frame)&#xA;    if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;q&#x27;):&#xA;        break&#xA;&#xA;cap.release()&#xA;cv2.destroyAllWindows()&#xA;

    &#xA;

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

    &#xA;