Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (60)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8848)

  • 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

    


  • 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 ?

    


  • Send command to terminal with appelscript

    16 mars 2017, par Björn

    I have this ffmpeg command that I would like to send to terminal through appelscript. It works when I run it directly in terminal.

    ffmpeg -i score.mov -i palette.png -filter_complex \
    "fps=8,scale=600:-1:flags=lanczos[x];[x][1:v]paletteuse" -f image2pipe -vcodec ppm - | convert -delay 15 -loop 0 -layers Optimize - output39.gif

    This doesn’t compile in scripteditor.

    tell application "Terminal"
       do script "ffmpeg -i score.mov -i palette.png -filter_complex \
    "fps=8,scale=600:-1:flags=lanczos[x];[x][1:v]paletteuse" -f image2pipe -vcodec ppm - | convert -delay 15 -loop 0 -layers Optimize - output39.gif"
    end tell

    I get "Expected end of line but found identifier"

    Anyone have an idea what to do ?