
Recherche avancée
Autres articles (46)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (6439)
-
Python Print Continuous output of Popen when reset character is used
23 août 2022, par cclloydI have a snippet of code that runs a video conversion using
ffmpeg
.

I read the output to analyze it later in the application, and also want to print it to console, for user feedback.


So I have


p = Popen(cmd, stderr=STDOUT, stdout=PIPE)
while True:
 line = p.stdout.readline()
 if not line: 
 break
 print(line.decode('utf-8'), end='')

p.wait()
if p.returncode == 0:
 pass




Which works, somewhat. It prints the initial output of the ffmpeg command, as those are simple print statements.


But once the conversion starts, all the output is updated on one line, presumably using some reset character to move the cursor position back to the start of the line.


Is there a way to continue to print that output ?


-
Anomalie #2531 : Erreur 500 suite aux raccourcis ’-* ’
21 mai 2013, par cedric -voir aussi #2934 qui propose une solution alternative (patch
/u
dans la regexp) -
Merge commit ’5b9c817dc7577b6d44acc94d73b9c77c52cda489’
5 octobre 2014, par Michael NiedermayerMerge commit ’5b9c817dc7577b6d44acc94d73b9c77c52cda489’
* commit ’5b9c817dc7577b6d44acc94d73b9c77c52cda489’ :
x11grab : Check XFixesGetCursorImage return valueConflicts :
libavdevice/x11grab.cSee : a65c0a3fe822386be30fd3371af9f0d008b02874
The warning with adjusted text is kept from a65c0a3fe822386be30fd3371af9f0d008b02874
but drawing the cursor is not disabled in case XFixesGetCursorImage() failsMerged-by : Michael Niedermayer <michaelni@gmx.at>