
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (90)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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, parMediaSPIP 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 2013Jolie 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 jaacI 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 NiedermayerMerge commit ’51ca3cb604a7585a7cff35d4b954794508955c19’
* commit ’51ca3cb604a7585a7cff35d4b954794508955c19’ :
xcbgrab : Use the correct geometry for the region highlightSee : 0ae37e460c345a4c76e28256af56931e00c94cb5
Merged-by : Michael Niedermayer <michaelni@gmx.at> -
OpenCV - motion detection in large video files
18 décembre 2023, par M9AI 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()