
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 (33)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (8343)
-
avformat/oggparseogm : Check lb against psize
9 mars 2018, par Michael Niedermayer -
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/mov : Fix integer overflow in mov_get_stsc_samples()
5 mars 2018, par Michael Niedermayeravformat/mov : Fix integer overflow in mov_get_stsc_samples()
Fixes : runtime error : signed integer overflow : 5 * -2147483647 cannot be represented in type 'int'
Fixes : Chromium bug 817338
Reviewed-by : Matt Wolenetz <wolenetz@google.com>
Reported-by : Matt Wolenetz <wolenetz@google.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>