Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (53)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (8001)

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