
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 (101)
-
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. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (10321)
-
Revision 35733 : ne pas passer par la fonction d’ajout lorsqu’on supprime un tag sinon le ...
2 mars 2010, par brunobergot@… — Logne pas passer par la fonction d’ajout lorsqu’on supprime un tag sinon le message de retour et l’invalideur ne sont pas pris en compte
-
Evolution #3958 : Mise à jour de la liste des types mines
12 juin 2017, par nico d_Hop, pour information ce sont les type MIME, pas mines :)
Type mine c’est pour les voitures ^^
https://fr.wikipedia.org/wiki/Type_MIMEEt sinon, ils sont indiqués ici dans le tableau apparemment :
https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format#Brands_and_MIME_types -
Terminal prompt disappears after asyncio script with ffmpeg writing things is run
8 avril 2022, par David II've followed a simple example https://docs.python.org/3/library/asyncio-task.html#running-tasks-concurrently in trying to learn the basics of asyncio.


It works as expected with most commands however when employed with three ffmpeg commands that take an input and write an output, see the example below, the terminal window prompt becomes invisible after the script has (seemingly successfully run). It responds to typed commands and shows the result but the input isn't shown until I start a new terminal session. It's the same with Code's bash terminal as with Kitty.


It doesn't seem to be a "write to file system concurrantly" problem as the echo lines don't produce the problem. The ffprobe commands don't produce it either but "command1" and 2 and 3 always do. It's the same with other ffmpeg commands that write to the file system via a conversion or a split of an audio input file.


The processes exit with 0 and ffmpeg issues most output to stderr so the output looks like




['ffmpeg -y -i "01 Dia Artio.m4a" "oof1.wav"' exited with 0]
[stderr]
ffmpeg version N-104926-gc8b5f2848d Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (GCC)...




import asyncio

async def run(cmd):
 proc = await asyncio.create_subprocess_shell(
 cmd,
 stdout=asyncio.subprocess.PIPE,
 stderr=asyncio.subprocess.PIPE)

 stdout, stderr = await proc.communicate()
 print(f'[{cmd!r} exited with {proc.returncode}]')
 print(f'[stderr]\n{stderr.decode()}')

async def main():
 # Schedule three calls *concurrently*:
 command1 = "ffmpeg -y -i '01 Dia Artio.m4a' 'oof1.wav'"
 command2 = "ffmpeg -y -i '03 Cleansing.m4a' 'oof3.wav'"
 command3 = "ffmpeg -y -i 'The Cranberries - 10 - Dreaming My Dreams.flac' 'oof2.wav'"

 cat1 = "echo 'cat' > cat.txt"
 cat2 = "echo 'kitteh' > kat.txt"
 cat3 = "echo 'eirlyss' > eirlyss.txt"

 ffprobe1 = "ffprobe oof1.wav"
 ffprobe2 = "ffprobe oof2.wav"
 ffprobe3 = "ffprobe oof1.wav"
 await asyncio.gather(
 run(command1),
 run(command2),
 run(command3)
 )
 
 
asyncio.run(main())



This problem has only happened with this combination of asyncio and ffmpeg and it appears consistent and I would very much like to know what might be the cause of it.


I'm on Fedora 35 with Python 3.10.4 and a self built (via ffmpegs instructs) ffmpeg from a few months back).