
Recherche avancée
Autres articles (60)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (7349)
-
Making use of -w option in pyinstaller does not start/create the subprocess in python
15 novembre 2018, par UserI am making use of python to invoke ffmpeg to start and stop video capturing. I do not want to the console window appear when my python exe starts. The code I have currently to start and stop video recording is below,
cmd = '\\ffmpeg\\bin\\ffmpeg.exe -loglevel quiet -f gdigrab -framerate 30 -i desktop -vcodec libx264 -pix_fmt yuv420p -preset slow -crf 0 -threads 0 ' + '"' + final_file_for_video_processing + '"'
def stop_screen_recording():
sub_process.stdin.write("q".encode())
stdOutput, stdError = sub_process.communicate()
def stop_screen_recording(cmd):
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
global sub_process
sub_process = subprocess.Popen(cmd, startupinfo=startupinfo,
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=None)
sub_process.wait()The challenge faced is, when I build the exe using
pyinstaller -w —onefile python_file_name.py the recording does not begin. Note : The -w is to not show the console window.If I were to make use of pyinstaller and build the exe in the following way,
pyinstaller —onefile python_file_name.py then recording of the video begins.
Note : Without the -w command it works perfectly fine.I want to make use of the -w command since I do not want to show the console window of my python exe. Any insights will help.
-
hvcc : zero initialize the nal buffers past the last written byte
23 février 2018, par James Almer -
Finishing stream 0:0 without any data written to it. Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
10 juin 2020, par GodspowerI am trying to pipe an mp4 video to an ffmpeg server but it returned the following error message :



"Finishing stream 0:0 without any data written to it.
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)"



Please any suggestions will be deeply appreciated



many thanks