Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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 (...)

Sur d’autres sites (13150)

  • 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.

    


    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.

    


  • 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;

  • How to access framebuffer with FFMPEG ?

    21 février 2018, par user1496491

    I’m writing an application which need to capture screen. I’ve looked up for solution and internet says that FFMPEG could do it. But I can’t find the way to do that IN CODE. FFMPEG documentation seems to be very poor.

    Can anybody please tell me how do I access framebuffer raw data with FFMPEG ?