
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (51)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (7874)
-
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>