
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (111)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer 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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (11347)
-
Vidgear write Video not open
25 août 2020, par MrTuyen


Command : (https://drive.google.com/file/d/14YGKIhftAidQVvR_nMWY3oIhcWFzLERE/view?usp=sharing)



No errors occurred. I have been trying to figure out how to write videos with Vidgear. I am working with windows and webcam.



Error : "Output.mp4" Opened is a black color. (https://drive.google.com/file/d/11x-q_w59gdaAECtRIqi0MNGIOZ-Vuati/view?usp=sharing)



# import required libraries
from vidgear.gears import CamGear
from vidgear.gears import WriteGear
import cv2

# Open live video stream on webcam at first index(i.e. 0) device
stream = CamGear(source=0).start()

# retrieve framerate from CamGear Stream and pass it as `-input_framerate` parameter
output_params = {"-input_framerate":stream.framerate}

# Define writer with defined parameters and suitable output filename for e.g. `Output.mp4`
writer = WriteGear(output_filename = 'Output.mp4', **output_params)

# loop over
while True:

 # read frames from stream
 frame = stream.read()

 # check for frame if None-type
 if frame is None:
 break


 # {do something with the frame here}


 # write frame to writer
 writer.write(frame)

 # Show output window
 cv2.imshow("Output Frame", frame)

 # check for 'q' key if pressed
 key = cv2.waitKey(1) & 0xFF
 if key == ord("q"):
 break

# close output window
cv2.destroyAllWindows()

# safely close video stream
stream.stop()

# safely close writer
writer.close()



-
avformat/oggparseogm : Check lb against psize
9 mars 2018, par Michael Niedermayer -
avformat/mov : Fix integer overflows related to sample_duration
9 mars 2018, par Michael Niedermayeravformat/mov : Fix integer overflows related to sample_duration
Fixes : runtime error : signed integer overflow : -9166684017437101870 + -2495066639299164439 cannot be represented in type
Fixes : Chromium bug 791349
Reported-by : Matt Wolenetz <wolenetz@google.com>
Reviewed-by : Matt Wolenetz <wolenetz@google.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>