
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (81)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (10938)
-
Evolution #3284 (En cours) : changer le vert de l’espace privé par defaut
20 juillet 2015, par b bJ’ouvre de nouveau puisque la modification a été annulée par r22314 et r22314, cf :
http://archives.rezo.net/archives/spip-commit.mbox/E7F52BFKBGVZYK4UAOUUUKDI7S7AF4GE/
-
Merge individual frame to video file using Opencv
18 août 2022, par RohitI am trying to stack a individual frame to a video file using Opencv. I want to combine two different code together to make the individual frame.
Following code help me extract the individual frame,


fourcc = cv2.VideoWriter_fourcc(*'mp4v')
out = cv2.VideoWriter('file_data.mp4',fourcc,20 (1920,1080),False)
while True:
 ret, frame=cap.read()
 mask = object_detector.apply(frame)
 _, mask = cv2.threshold(mask,254,255,cv2.THRESH_BINARY) 
 contours,_ = cv2.findContours(mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
 res = cv2.bitwise_and(frame,frame,mask=mask)
 for cnt in contours:
 area = cv2.contourArea(cnt)
 if area>1000: 
 #print("Area of contour:", area)
 cv2.drawContours(frame, [cnt], -1, (0,255,0),2)
 cv2.imwrite("file%d.jpg"%count, frame)
 out.write(frame)
 if cv2.waitKey(1) and 0xFF == ord('q'):
 break



I tried storing the individual frame in array, but it didn't work. It doesn't show any error, but pc crash.




fps = 20,
,width = 1920
,height = 1080




-
Merge individual frame to video file using Opencv and FFmpeg
16 août 2022, par RohitI am trying to stack a individual frame to a video file using Opencv. I want to combine two different code together to make the individual frame.
Following code help me extract the individual frame


while True:
ret, frame=cap.read()
mask = object_detector.apply(frame)
_, mask = cv2.threshold(mask,254,255,cv2.THRESH_BINARY) 
contours,_ = cv2.findContours(mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
res = cv2.bitwise_and(frame,frame,mask=mask)
for cnt in contours:
 area = cv2.contourArea(cnt)
 if area>1000: 
 #print("Area of contour:", area)
 cv2.drawContours(frame, [cnt], -1, (0,255,0),2)
 cv2.imwrite("file%d.jpg"%count, frame)



And I attach the frame together separately using following code using ffmpeg command


ffmpeg -r 3 -i frame%03d.jpg -c:v libx264 -vf fps=25 -pix_fmt yuv420p video.mp4



I tried storing the individual frame in array, but it didn't work. It doesn't show any error, but pc crash.