
Recherche avancée
Autres articles (98)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9662)
-
Making a video out of frames in Python
6 juin 2021, par amitI have to create a video using earlier extracted frames and the following code works fine :


import os
 
fps = 25

os.system("ffmpeg -r fps -i Encode/encode_image%01d.png -vcodec mpeg4 -y movie.mp4")



But storing framerate (which is 25 in this case) in
fps
variable and passing it in-r
, I am getting following error :



"Error parsing framerate fps."




Meanwhile, the code below, creates a video :


import os

fps = 25
os.system("ffmpeg -r 25 -i Encode/encode_image%01d.png -vcodec mpeg4 -y movie.mp4")



But the framerate is different for every one of my videos (that's why I am storing it in a variable).
Due to above error I am unable to pass different frame rate value each time and, I cannot type the value (like 25) directly.


Please suggest me some way to tackle this problem or provide me with another Python code to combine frames into video.


-
Add APIchanges entry and bump libswscale micro version for making gray16 full-scale.
19 mars 2014, par Carl Eugen Hoyos -
Playing local audio discord.py bot on linux [closed]
8 août 2020, par Qskata_KI have search about it, but not found nothing useful. I want to play from the Python3 script local audio with discord bot (on voice channel of course).
I saw some materials about it, but they are on Windows OS, while I'm with Ubuntu 20.04. I have download ffmpeg - which I can use for the downloading the audio, but what about the playing it ? I won't post any code here, since I'm here in seeking of ways to do it, not having issues with code.