Recherche avancée

Médias (1)

Mot : - Tags -/publishing

Autres articles (64)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (12447)

  • Invalid NAL unit size in m3u8 stream through OpenCV

    3 mai 2021, par ClownLegs

    streaming a ".m3u8" feed from a Raspberry Pi zero W that points to 10 sequenced ".m4s" video files.
when feeding this into the below cv2 library it throws the error codes shown at the bottom of this post.
these errors seem to be in sync with the output video hanging/stuttering.

    



    


    Code :

    


    import cv2
import sys
import random

faceCascade = [cv2.CascadeClassifier(x) for x in sys.argv[1:]]

video_capture = cv2.VideoCapture('http://*IP*:8080/camera/livestream.m3u8')
colors = [(random.randint(0,255), random.randint(0,255), random.randint(0,255)) for i in faceCascade]

while True:
    # Capture frame-by-frame
    ret, frame = video_capture.read()

    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)


    faces = [list(face)+[i] for i,faces in enumerate(faceCascade) for face in faces.detectMultiScale(
        gray,
        scaleFactor=1.1,
        minNeighbors=5,
        minSize=(30, 30),
        flags=cv2.CASCADE_SCALE_IMAGE
    )]

    # Draw a rectangle around the faces
    for (x, y, w, h, i) in faces:
        cv2.rectangle(frame, (x, y), (x+w, y+h), colors[i], 2)

    # Display the resulting frame
    cv2.imshow('Video', frame)

    if cv2.waitKey(1) & 0xFF == ord('q'):
        break

# When everything is done, release the capture
video_capture.release()
cv2.destroyAllWindows()


    



    


    Errors :

    


    [h264 @ 00000189507870c0] Invalid NAL unit size (2103052861 > 20986).
[h264 @ 00000189507870c0] Error splitting the input into NAL units.


    



    


    Is there a way of resolving these errors with the stream ?

    


  • Create an output http or rtsp stream using opencv and ffmpeg

    10 mars 2018, par Vector

    I’m using an IP camera to capture video and using OpenCV in C++ to detect face in it. The hardware i’m using to run this process does not consists of video output port so I have to stream the processed frames to an output video stream and I can’t seem to find any way to do so. Can you help me out with that ?

  • Create an output http or rtps stream using opencv and ffmpeg

    10 mars 2018, par Vector

    I’m using an IP camera to capture video and using OpenCV in C++ to detect face in it. The hardware i’m using to run this process does not consists of video output port so I have to stream the processed frames to an output video stream and I can’t seem to find any way to do so. Can you help me out with that ?