
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (101)
-
Les sons
15 mai 2013, par -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (12128)
-
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> -
ffmpeg command line for converting flv to mp3 using vbr @128
30 janvier 2019, par user1910852I have extensively searched google and red through the FFmpeg documentation was hoping some one with a bit more experience could help.