Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (62)

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

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (7371)

  • Batch .SRT Rip Using FFMPEG

    12 mai 2020, par jaac

    I have this command using ffmpeg

    



    root@ubuntu-4cpu-8gb-sg-sin1:/home/jaac/torrents/rtorrent/dots# ffmpeg -i Title.NF.WEB-DL.DDP2.0.x264-Ao.mkv -map 0:7 indo16.srt


    



    That will rip 1 sub (Indonesia region)

    



    How to rip it in batch ? I have 17 files in dots folder

    



    Thanks

    


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

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

    &#xA;

    import sys&#xA;import cv2&#xA;&#xA;video_path = “video.mp4”&#xA;&#xA;capture = cv2.VideoCapture(video_path)&#xA;&#xA;# Set the first frame as the reference background&#xA;_, background = capture.read()&#xA;&#xA;# Define the region of interest (ROI)&#xA;x, y, w, h = 1468, 1142, 412, 385&#xA;roi = (x, y, x &#x2B; w, y &#x2B; h)&#xA;&#xA;while capture.isOpened():&#xA;    ret, frame = capture.read()&#xA;&#xA;    if not ret:&#xA;        break&#xA;&#xA;    # Extract the region of interest from the current frame&#xA;    frame_roi = frame[y:y &#x2B; h, x:x &#x2B; w]&#xA;&#xA;    # Calculate the absolute difference between the ROI and the background&#xA;    diff = cv2.absdiff(background[y:y &#x2B; h, x:x &#x2B; w], frame_roi)&#xA;    gray = cv2.cvtColor(diff, cv2.COLOR_BGR2GRAY)&#xA;    _, thresh = cv2.threshold(gray, 30, 255, cv2.THRESH_BINARY)&#xA;&#xA;    # Check if motion is detected in the ROI (adjust threshold as needed)&#xA;    if cv2.countNonZero(thresh) > 75:&#xA;        print("YES")&#xA;        break&#xA;&#xA;# Release the video capture object&#xA;capture.release()&#xA;

    &#xA;