Recherche avancée

Médias (0)

Mot : - Tags -/inscription3

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (40)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5069)

  • Anomalie #4543 : Accessibilité des chargements ajax (live regions)

    4 septembre 2020, par nicod _

    Si sur le site de cette région, ya pas mal d’ajax qui se recharge "tout seul" sans interaction, possible oui ça va pas du tout,

    Non non, ce sont les cas classiques d’utilisation "de base" : formulaires, et listes de résultats avec paginations.

  • OpenCV - motion detection in large video files

    18 décembre 2023, par M9A

    I have large video files (over a few GB each) that I am trying detect motion on. I am using fairly basic OpenCV code in python with ROI to detect motion in a certain area of the video only. This works absolutely fine but takes absolutely ages to process large files. Is there any way to speed things up ? I am simply just checking to see which file has motion detected in it and will not be outputting a video. The moment the first motion is detected the rest of the file is not checked.

    


    import sys
import cv2

video_path = “video.mp4”

capture = cv2.VideoCapture(video_path)

# Set the first frame as the reference background
_, background = capture.read()

# Define the region of interest (ROI)
x, y, w, h = 1468, 1142, 412, 385
roi = (x, y, x + w, y + h)

while capture.isOpened():
    ret, frame = capture.read()

    if not ret:
        break

    # Extract the region of interest from the current frame
    frame_roi = frame[y:y + h, x:x + w]

    # Calculate the absolute difference between the ROI and the background
    diff = cv2.absdiff(background[y:y + h, x:x + w], frame_roi)
    gray = cv2.cvtColor(diff, cv2.COLOR_BGR2GRAY)
    _, thresh = cv2.threshold(gray, 30, 255, cv2.THRESH_BINARY)

    # Check if motion is detected in the ROI (adjust threshold as needed)
    if cv2.countNonZero(thresh) > 75:
        print("YES")
        break

# Release the video capture object
capture.release()


    


  • Merge commit ’51ca3cb604a7585a7cff35d4b954794508955c19’

    15 février 2015, par Michael Niedermayer
    Merge commit ’51ca3cb604a7585a7cff35d4b954794508955c19’
    

    * commit ’51ca3cb604a7585a7cff35d4b954794508955c19’ :
    xcbgrab : Use the correct geometry for the region highlight

    See : 0ae37e460c345a4c76e28256af56931e00c94cb5
    Merged-by : Michael Niedermayer <michaelni@gmx.at>