Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (67)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (8770)

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

    


  • Anomalie #4803 (Nouveau) : Nouvelles URLs possiblement en doublon si pages uniques

    31 mai 2021

    Sur un site avec des URLs arborescentes.

    J’ai une rubrique non publiée intitulée « Abonnements » et qui possède l’url boutique-livres/abonnements (dans la table, url = abonnements).
    Je crée une page unique avec le même titre, elle se voit attribuée l’url abonnements, mais l’url finale est celle de la rubrique : boutique-livres/abonnements (avec #URL_ARTICLE, « voir en ligne », etc.).

    url type id_objet date id_parent segments perma langue
    abonnements rubrique 1145 2017-12-19 15:32:01 706 1 0 fr
    abonnements article 100812 2021-05-31 09:48:17 -1 1 0

    J’hésite à ouvrir un ticket sur le plugin pages uniques, j’imagine que c’est le id_parent = -1 qui brouille les cartes.
    Peut-être que c’est un cas de figure qui devrait être pris en compte dans urls avancées ?

  • ffmpeg get only audio Error parsing NAL unit [closed]

    3 juin 2021, par smail saa

    hello i am new here for first questions i have stream work with token this stream have multibitrate and auto quality

    


    http://host:port/cam1@720 ?auto=1?token=123123123 this work perfect but only 576
but if we modifai stream to http://host:port/cam1@720?token=123123123 work only sound
and it work perfect in android only
in ffmpeg i get :

    


    ffmpeg reponse

    


    [hevc @ 0x3f0b840] Error parsing NAL unit #2. [hevc @ 0x3f0b840] PPS id out of range : 0 [mpegts @ 0x3efca80] decoding for stream 0 failed [mpegts @ 0x3efca80] Could not find codec parameters for stream 0 (Video : hevc (HEVC / 0x43564548), none) : unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'http://host:port/cam1@720?token=123123123' : Duration : N/A, start : 23229.541289, bitrate : N/A Program 1 Stream #0:0[0x100] : Video : hevc (HEVC / 0x43564548), none, 25 tbr, 90k tbn, 90k tbc Stream #0:10x101 : Audio : aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 100 kb/s Stream mapping : Stream #0:0 -> #0:0 (hevc (native) -> hevc (libx265)) Stream #0:1 -> #0:1 (aac (native) -> pcm_mulaw (native)) Press [q] to stop, [?] for help [hevc @ 0x3f062c0] PPS id out of range : 0 [hevc @ 0x3f062c0] Error parsing NAL unit #2.

    


    thanks for answer and help