Recherche avancée

Médias (91)

Autres articles (110)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 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, par

    Multilang 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.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9375)

  • How to create UI for Terminal [y/n] Prompts ?

    22 juin 2023, par itsRits

    I am working with FFmpeg and I want to create a responsive user interface for terminal prompts.

    


    Here's the main function.

    


    #converter.py

def convert_video(input_video, output_video=None, new_fps=None, new_container=None):

   if not output_video:
      if new_container is not None:
         output_video = "output." + new_container
      else:
         output_video = "output." + input_video.split('.')[-1]
   
   command = f"ffmpeg -i {input_video}"

   if new_fps:
      command += f' -r {new_fps}'

   command += f' {output_video}'

   subprocess.call(command, shell=True)


    


    On running the above code, if the video at the output destination with the same name already exists.
the terminal prompts :File 'output.mp4' already exists. Overwrite? [y/N].
I want to implement same using the message box in pyside2. I can create a message box in such a fashion

    


    #ui.py
    message_box = QMessageBox()
    message_box.setText("Do you want to proceed?")
    message_box.setStandardButtons(QMessageBox.Yes | QMessageBox.No)
    message_box.setDefaultButton(QMessageBox.No)


    


    But I am unable to figure how to make the message box pop once this prompt is found in terminal. Further how to send response back to it ?

    


  • The terminal is blocked while configuring ffmpeg by using mingw/msys

    9 décembre 2020, par Make.Liu

    I am trying to compile ffmpeg by mingw, but my terminal is blocked while running configure command and nothing happenenter image description here

    


  • avoiding running of FFmpeg on terminal/cmd

    14 janvier 2021, par Education 4Fun

    I'm using FFmpeg for a small project so I built a GUI basic application for video editing
here is the image
enter image description here

    


    Everything is working fine but I just want to avoid opening the terminal for the FFmpeg process the reason the terminal is opening is because

    


    I used os.system("FFmpeg command here")


    


    so is there a way to import FFmpeg completely and avoid using terminal and run in code
    
if u have any idea please suggest and let me know
    
for gui i used PYQT5 and python to code
    
Thank you

    


    Tried using subprogram but didn't work (worked for normal commands but not for ffmpeg)
I need the output to print also to store in a python variable
Please check the image for more info

    


    enter image description here