
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (74)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (13246)
-
Terminal text becomes invisible after terminating subprocess
22 mai 2022, par wimAfter terminating an
ffmpeg
subprocess, the terminal gets messed up - typed characters are invisible ! The input still works in that commands can be executed, but keyboard input is not echoed to the terminal.


Issuing shell command
reset
puts everything back to normal (or!reset
from within ipython), so a workaround the issue is callingos.system('reset')
inside the script.


Other things I've tried :
import curses; curses.initscr()
before spawning the subprocess andcurses.endwin()
after termination, which worked somewhat but broke other stuff. Another possibly related issue is that after spawning the child process, the interactive terminal becomes laggy and sometimes fails to capture typed characters.


The code to spawn the process looks like :



with open('/tmp/stdout.log', 'w') as o:
 with open('/tmp/stderr.log', 'w') as e:
 proc = subprocess.Popen([args], stdout=o, stderr=e)




And later to stop it :



proc.terminate()
proc.communicate()




What could be going wrong here ?


-
Terminal text becomes invisible after terminating subprocess
21 novembre 2016, par wimAfter terminating an
ffmpeg
subprocess, the terminal gets messed up - typed characters are invisible ! The input still works in that commands can be executed, but keyboard input is not echoed to the terminal.Issuing shell command
reset
puts everything back to normal (or!reset
from within ipython), so a workaround the issue is callingos.system('reset')
inside the script.Other things I’ve tried :
import curses; curses.initscr()
before spawning the subprocess andcurses.endwin()
after termination, which worked somewhat but broke other stuff. Another possibly related issue is that after spawning the child process, the interactive terminal becomes laggy and sometimes fails to capture typed characters.The code to spawn the process looks like :
with open('/tmp/stdout.log', 'w') as o:
with open('/tmp/stderr.log', 'w') as e:
proc = subprocess.Popen([args], stdout=o, stderr=e)And later to stop it :
proc.terminate()
proc.communicate()What could be going wrong here ?
-
Catch refreshing Terminal output in Python
26 janvier 2019, par AaroknightI have written a python script which converts movies with
ffmpeg
from anything to h265 (hevc). Works fine so far now and I get catch a terminal output (How can I get terminal output in python ? - Stackoverflow). I already tried this solution as well : Catching Terminal Output in Python - Stackoverflow But none of them is really what I need.Current code is following :
def convert(path):
if os.path.getsize(path) < 500000000:
pass
name = path.split("/")[-1]
os.mkdir(path.replace(name, "hevc/"))
outvid = path.replace(name, "hevc/" + name)
cmd = ["ffmpeg", "-hwaccel", "cuvid", "-i", path, "-c:v", "hevc_nvenc", "-preset",
"slow", "-rc", "vbr_hq", "-max_muxing_queue_size", "1000", "-map", "0", "-map_metadata",
"0", "-map_chapters", "0", "-c:a", "copy", "-c:s", "copy", outvid]
process = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]
print(process)While
ffmpeg
is converting something, the bottom terminal line usually actualizes itself every second showing fps, time, etc. See screenshot bottom line.In Python I just get a static output :
So do you guys have any idea how to catch that refreshing output ?