Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (90)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8153)

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